FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » FUDforum in eGroupWare » Link in notification email
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Link in notification email [message #31257] Wed, 12 April 2006 15:49 Go to next message
Plaugraud is currently offline  Plaugraud   Austria
Messages: 8
Registered: April 2006
Location: Austria
Karma: 0
Junior Member
Hello fudforum user and experts,

for a short time I've activated the fudforum for the first time. The noficication email, sent after a new topic or a reply, looks like this:
Quote:

To view unread replies goto /egroupware/fudforum/38xxxxxxxx/index.php?t=rview&goto=13

If you do not wish to receive further notifications about replies in this topic, please go here: /egroupware/fudforum/38xxxxxxxx/index.php?t=rview&th=5&notify=1& ;opt=off


There is missing the full url. After changing the value 'WWW Root: ' in Global Configuration, the result is the same.

How can I specify the full URL for the notification text ?

Thanks, Rudolf.
Re: Link in notification email [message #31282 is a reply to message #31257] Fri, 14 April 2006 20:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Inside the MSG file for the entry containing the notification text.

FUDforum Core Developer
Re: Link in notification email [message #31307 is a reply to message #31282] Sat, 15 April 2006 19:14 Go to previous messageGo to next message
Plaugraud is currently offline  Plaugraud   Austria
Messages: 8
Registered: April 2006
Location: Austria
Karma: 0
Junior Member
I changed the parameter 'iemail_thr_bodyemail:' in the file 'msg' in /var/lib/egroupware/default/files/fudforum/38xxxxxxxx/thm/default/i18n/germ an
with no effect. The text in the notification email is the same as before.

Where is the right place to change the email text ?
Why delivers {VAR: goto_url['email']} not the complete URL ?

Re: Link in notification email [message #31311 is a reply to message #31307] Sun, 16 April 2006 18:16 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The parameter is generated inside imsg_edt.inc.t, you may want to check the code there to make sure WWW_ROOT variable is prefixed to the URL.

FUDforum Core Developer
Re: Link in notification email [message #31320 is a reply to message #31311] Mon, 17 April 2006 18:08 Go to previous messageGo to next message
Plaugraud is currently offline  Plaugraud   Austria
Messages: 8
Registered: April 2006
Location: Austria
Karma: 0
Junior Member
Now I changed in file /var/lib/egroupware/default/files/fudforum/38xxxxxxxx/src/imsg_edt.inc.t in function send_notifications() the following statement:
goto_url['email'] = '{ROOT}?t=rview&goto='.$msg_id;

New:
$goto_url['email'] = 'http://83.xx.xxx.xxx/'.'{ROOT}?t=rview&goto='.$msg_id;

No effect, the result is the same as before. The url in the email body looks like:

Um ungelesene Antworten anzusehen, gehe zu
/egroupware/fudforum/38xxxxxxxx/index.php?t=rview&goto=70

What is the right statement to change ?
Re: Link in notification email [message #31324 is a reply to message #31320] Mon, 17 April 2006 22:31 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You need to rebuild the theme after the change for it to take effect.

FUDforum Core Developer
Re: Link in notification email [message #31331 is a reply to message #31324] Tue, 18 April 2006 10:52 Go to previous messageGo to next message
Plaugraud is currently offline  Plaugraud   Austria
Messages: 8
Registered: April 2006
Location: Austria
Karma: 0
Junior Member
I changed in the file imsg_edt.inc.t in funtion send_notifications() the following line and then I rebuilt the theme:
$goto_url['email'] = $GLOBALS['WWW_ROOT'].'{ROOT}?t=rview&goto='.$msg_id;

The result in the email body is:
/egroupware/fudforum/38xxxxxxxx//egroupware/fudforum/38xxxxxxxx/index.php?t =rview&goto=98

Not that what I want.
Re: Link in notification email [message #31332 is a reply to message #31331] Tue, 18 April 2006 10:55 Go to previous messageGo to next message
Plaugraud is currently offline  Plaugraud   Austria
Messages: 8
Registered: April 2006
Location: Austria
Karma: 0
Junior Member
Now I prefixed the parameter 'WWW Root' in Global Settings with 'http://mydomain.com'.
Then I rebuilt the theme. Now it works!. Very Happy

Thank you, Ilia, for your assistance !

Greetings, Rudolf.
Re: Link in notification email [message #160762 is a reply to message #31257] Thu, 22 October 2009 01:30 Go to previous message
cynthia l joffrion is currently offline  cynthia l joffrion
Messages: 3
Registered: August 2009
Karma: 0
Junior Member
This works I tried it.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: automatic notification e-mail to new task members
Next Topic: Howto integrate FUDforum in egroupware 1.6+
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 03 13:15:44 GMT 2024

Total time taken to generate the page: 0.02858 seconds