Trying to find how it work : mailing topic subscription !! [message #22665] |
Thu, 10 February 2005 15:59 |
sparcman
Messages: 4 Registered: February 2005 Location: Versailles
Karma: 0
|
Junior Member |
|
|
Hi,
I'm trying to understand how FUDforum is sending email to topic or forum subscribers. Because it seems that i've got a trouble in the links provided in the mail sent (/egroupware/blablalba/... without the http://www.toto.com before).
I've found that there is the same problem either i'm using english or french. So i looked inside the iemail.tmpl file in order to change the <a href ...> link but it doesn't work at all (even putting blablabla inside the file to see some jam in the mail)...
I'm running the FUDforum provided with the debian testing egroupware package.
I've tried these :
in iemail.tmpl ,
putting {GVAR: WWW_ROOT} before {TEMPLATE: iemail_body_lnk} => NOT WORKING
putting {GVAR: FULL_ROOT} => also not working
Any advice ?
Thanks.
Cem
|
|
|
|
|
|
|
Re: Trying to find how it work : mailing topic subscription !! [message #22959 is a reply to message #22671] |
Wed, 23 February 2005 04:13 |
LaoziSailor
Messages: 8 Registered: November 2004 Location: Don Mills. ON, Canada
Karma: 0
|
Junior Member |
|
|
Hi,
I'm getting exactly the same problem, except I get the text message and the language is English.
Quote: | To view unread replies goto /teamDSAO/fudforum/3814588639/index.php?t=rview&goto=25
If you do not wish to receive further notifications about replies in this topic, please go here: /teamDSAO/fudforum/3814588639/index.php?t=rview&th=23¬ify=1& opt=off
|
I thought that adding http://... to
WWW Root:
This is the URL of your forum.
in the Global Configuration would do the trick, but no such luck.
Where do I go from here?
Thanks,
Han Tacoma
~ Artificial Intelligence is better than none! ~
[Updated on: Wed, 23 February 2005 05:33] Report message to a moderator
|
|
|
Re: Trying to find how it work : mailing topic subscription !! [message #22962 is a reply to message #22959] |
Wed, 23 February 2005 05:29 |
LaoziSailor
Messages: 8 Registered: November 2004 Location: Don Mills. ON, Canada
Karma: 0
|
Junior Member |
|
|
...also tried changing the Global setting to HTML email and got:
----- Original Message -----
From: LaoziSailor(at)foobar(dot)tld
To: LaoziSailor(at)foobar(dot)tld
Sent: Tuesday, February 22, 2005 11:52 PM
Subject: New reply to Re: Check Subscription to Forum email notification by LaoziSailor
Subject: Re: Check Subscription to Forum email notification
Author: LaoziSailor
Date: Tue, 22 February 2005 23:52
...the above really show side by side as a table...
Still testing this............
[Reply] [Quote] [View Topic/Message] [Unsubscribe from this topic]
...FUDcode is ON is playing tricks here because it is placing http://fudforum.org ahead of what my note actually says -- it starts with:
/teamDSAO/fudforum/3814588639/index.php?t=post&reply_to=27
/teamDSAO/fudforum/3814588639/index.php?t=post&reply_to=27& quote=true
/teamDSAO/fudforum/3814588639/index.php?t=rview&goto=27
/teamDSAO/fudforum/3814588639/index.php?t=rview&th=3&notify =1&opt=off
Help would really be appreciated.
Cheers!
Han Tacoma
~ Artificial Intelligence is better than none! ~
|
|
|
|
Re: Trying to find how it work : mailing topic subscription !! [message #22979 is a reply to message #22974] |
Wed, 23 February 2005 18:13 |
LaoziSailor
Messages: 8 Registered: November 2004 Location: Don Mills. ON, Canada
Karma: 0
|
Junior Member |
|
|
Ilia,
Thank you so much for your speedy response.
I am a PHP wannabe, I started my computer work with vacuum tube computers and writing machine code and have ever since been adding to the repertoire of languages. PHP is completely new to me however so I will need a little help.
in my /teamDSAO/fudforum/setup/base/www_root/adm/admglobal.php I have a section that is part of the FufForum Global settings admin panel:
<tr class="fieldtopic"><td colspan=2><br><b>Global (do not change these unless you know what you are doing)</b></td></tr>
<[QUESTION_MARK]php
print_reg_field('WWW Root', 'WWW_ROOT'); = /teamDSAO/fudforum/3814588639/
print_reg_field('WWW Root (disk path)', 'WWW_ROOT_DISK'); = /home/USRNAM/public_html/teamDSAO/fudforum/3814588639/
print_reg_field('Data Root', 'DATA_DIR'); = /home/USRNAM/files/fudforum/3814588639/
[QUESTION_MARK]>
this displays (presumably) the contents of $WWW_ROOT, $WWW_ROOT_DISK, $DATA_DIR variables defined in /teamDSAO/fudforum/setup/base/include/GLOBAL.php
The only refernce to WWW_ROOT in /teamDSAO/fudforum/setup/base/thm/default/tmpl/iemail.tmpl is:
{SECTION: iemail_attach_entry file attachment entry row}
<tr>
<td valign="middle"><a class="GenLink" href="{TEMPLATE: iemail_attach_entry_lnk}"><img alt="" src="{GVAR: WWW_ROOT}images/mime/{VAR: v[4]}" /></a></td>
<td><font class="GenText"><b>{MSG: attachment}</b></font> <a class="GenLink" href="{TEMPLATE: iemail_attach_entry_lnk}">{VAR: v[1]}</a><br />
<font class="SmallText">({MSG: size} {VAR: sz}, {MSG: download_counter})</font></td></tr>
{SECTION: END}
I don't know at which stage of the installation the $WWW_ROOT was initialized or where it is kept for certain.
I was able to find "www.foobar.tld" in the phpgw_config table:
config_app config_name config_value
phpgwapi hostname www.foobar.tld
phpgwapi files_dir /home/USRNAM/files
phpgwapi temp_dir /home/USRNAM/tmp
phpgwapi webserver_url /teamDSAO
I feel I am so close (this is after all the Application Program Interface area) and yet I can't seem to put it all together.
I hope this gives you some meaningful information if you decide to give me another little push
Cheers!
Han Tacoma
~ Artificial Intelligence is better than none! ~
|
|
|
|
Re: Trying to find how it work : mailing topic subscription !! [message #22986 is a reply to message #22982] |
Wed, 23 February 2005 18:53 |
LaoziSailor
Messages: 8 Registered: November 2004 Location: Don Mills. ON, Canada
Karma: 0
|
Junior Member |
|
|
Ilia,
Thank you very much.
At this stage I'm going to have to take this to the eGroupWare forums because FudForum and Filemanager have some special characteristics regarding ownership and access authorization and when you are running in a hosted environment there is no access to shell commands (I have seen it done through PHP but like I said I'm a newbie at this). I've spoken to Reiner multiple times and I still don't have a clear answer on how to install eGW in a shared environment.
So somewhere in the eGW install process things went wrong and I cannot even look at the contents of GLOBALS.php on the website (because of access authorizations).
The references I took came from the original (Windows) that were uploaded to the site.
I'll keep you posted.
Cheers!
Han Tacoma
~ Artificial Intelligence is better than none! ~
|
|
|
Re: Trying to find how it work : mailing topic subscription !! [message #22999 is a reply to message #22986] |
Thu, 24 February 2005 03:59 |
LaoziSailor
Messages: 8 Registered: November 2004 Location: Don Mills. ON, Canada
Karma: 0
|
Junior Member |
|
|
Ilia,
Just one more question before I jump over to eGroupWare forums, please.
I just found the Filemanager in FudForum and was able to D/L a copy of GLOBALS.php which resides in the /files directory outside of /eGW a.k.a. /teamDSAO and found the following:
/***************************************************************************
* copyright : (C) 2001-2003 Advanced Internet Designs Inc.
* email : forum(at)prohost(dot)org
* $Id: GLOBALS.php,v 1.2 2004/04/03 18:35:35 iliaa Exp $
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
***************************************************************************/
$INCLUDE = "/home/USRNAM/files/fudforum/3814588639/include/";
$WWW_ROOT = "http://www.foobar.tld/teamDSAO/fudforum/3814588639/";
$WWW_ROOT_DISK = "/home/USRNAM/public_html/teamDSAO/fudforum/3814588639/";
$DATA_DIR = "/home/USRNAM/files/fudforum/3814588639/";
$ERROR_PATH = "/home/USRNAM/files/fudforum/3814588639/errors/";
$MSG_STORE_DIR = "/home/USRNAM/files/fudforum/3814588639/messages/";
$TMP = "/home/USRNAM/files/fudforum/3814588639/tmp/";
$FILE_STORE = "/home/USRNAM/files/fudforum/3814588639/files/";
$FORUM_SETTINGS_PATH = "/home/USRNAM/files/fudforum/3814588639/cache/";
$FUD_OPT_1 = 1739519037;
$FUD_OPT_2 = 544542781;
$FUD_OPT_3 = 0;
is this what I am supposed to see?
Thanks,
Han Tacoma
~ Artificial Intelligence is better than none! ~
|
|
|
|
|
|
|
|
|