Home : Products : Gossamer Forum : Discussion :

Products: Gossamer Forum: Discussion: Re: [steven99] e-mail one forum in real time: Edit Log

Here is the list of edits for this post
Re: [steven99] e-mail one forum in real time
ok, I know


you need to copy subscibe.pl to my_subscribe.pl

edit my_subscribe.pl


search for this line

Code:
my $sth = $DB->table('ForumSubscriber', 'User', 'Forum', 'Category')->select;

and change it to:

Code:
my $sth = $DB->table('ForumSubscriber', 'User', 'Forum', 'Category')->select({ forum_id => IN => [1,2,3,4] });

where 1,2,3,4 are your favored forums.

search this line:

Code:
$email->load("subscribe.eml");

and change it to:

Code:
$email->load("my_subscribe.eml");

copy the template subscribe.eml to my_subscribe.eml and modify whatever you want.


now let my_subscribe.pl frequently run.


I know, that I know nothing.

Last edited by:

eoeser: Aug 17, 2005, 7:51 AM

Edit Log: