angman
06-04-2003, 01:05 AM
I am looking for a hack that will e-mail the member whenever anyone posts to a subscribed thread. I checked out "Contextual Forum Subscriptions Hack (https://vborg.vbsupport.ru/showthread.php?s=&threadid=36365&highlight=Contextual+Forum+Subscriptions+Hack) " and it doesn't look like it will work for Version 2.3.0. The mail code in newthread.php has me replace:
...mail($toemail,$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");
with
...mail($touser['email'],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");
However, version 2.3.0 uses:
vbmail($val, $emailsubject, $emailmsg);
I am thinking that this may not work. Any guidance would be greatly appreciated.
Thanks,
Ang
...mail($toemail,$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");
with
...mail($touser['email'],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");
However, version 2.3.0 uses:
vbmail($val, $emailsubject, $emailmsg);
I am thinking that this may not work. Any guidance would be greatly appreciated.
Thanks,
Ang