PDA

View Full Version : Thread Subscriptions


WitchyT
08-04-2002, 04:30 AM
Now, I don't have the slightest idea what's wrong with this. The thread subscription does not send emails out to the user that have subscribed to certain threads when a reply has been posted. The email features are enabled in the Admin CP. The email feature to notify of new members works as well as the mass email feature.

I don't recall what specific hacks that we've installed that involved the usage of the functions.php (which I've heard may cause problems with thread subscriptions once you've edited it in a wrong way *lol* :paranoid: ). Should I just post the code of the functions.php file I have?

My phponline file is located at: http://www.charmed-boards.com/phpinfo.php

Any help would be much appreciated. Thanks! :)

Logician
08-06-2002, 07:05 AM
Check functions.php, between:


// ############## Send out email notification ############
function sendnotification ($threadid, $userid, $postid) {


and


// ###################### Start doshutdown #######################

You can compare it with an unhacked function.php and see what the difference is

Also in newreply.php, check if

if ($visible) {
sendnotification ($threadinfo['threadid'], $bbuserinfo['userid'], 0);
}


Remains intact..

WitchyT
08-06-2002, 10:47 PM
Thanks! :D Got it working :).