| Author |
Post |
|
|
#1 Tue Jul 21, 2009 11:46 pm
|
|
Member
Registered: Sep 2006
Posts: 8
|
hi, i checked the source code, but could not find, where to hook in to add this functionality: a check box, to subscribe to a complete forum and receive an email as soon as a new topic is posted or a reply to a topic is posted. like this, the user would have the opportunity to get notified of new topics and replies, without needing to post+subscribe to. please help me and point me to the right direction, where to start. thanks in advance. andreas similar posts: http://www.usebb.net/community/topic-2324.html
|
|
|
#2 Wed Jul 22, 2009 3:03 am
|
|
Moderator
Registered: Oct 2005
Posts: 502
Location: Canada
|
http://docs.php.net/docs.php is a perfect place to start 
|
|
|
#3 Fri Jul 24, 2009 11:09 am
|
|
Member
Registered: Sep 2006
Posts: 8
|
thank you for your extremely helpful post 
|
|
|
#4 Sat Jul 25, 2009 9:14 am
|
|
Developer
Registered: Apr 2004
Posts: 2230
Location: Belgium
|
I'm sorry but there is no documentation on altering the UseBB 1 source code. Most likely you will want to alter the templates first, followed by the PHP source files parsing the templates (in Your Panel). The actual mailing would be done in post_topic.php and post_reply.php.
|
|
|
#5 Fri Jul 31, 2009 4:52 pm
|
|
Member
Registered: Sep 2006
Posts: 8
|
Thank you.
I did a quick and dirty hack - as the forum is for internal use only and we have a fixed amount of users I just changed the post_topic.php to subscribe automatically all the users to the topic, when a new topic is created.
Maybe I will do some *real* thing, if I happen to have more time again...
|