UBB.Dev
Posted By: DougT Watchlist mod? - 05/22/2007 6:42 PM
I am trying to find a way to automatically add any item that you post to your watchlist.

We need the ability for email notifications to occur whenever a post is made. The moderator should be notified and any responses should be sent to the original poster. We use the forum for Q&A. Member posts a question, the moderator recieves it in the notification email, chases down the question, posts the answer, the member recieves the email notification with the answer (probably on their Blackberry) and is now a happy camper.

I can instruct the moderators to add the forums they moderate to their watchlist, but it would not be possible to have everyone modify their watchlist each time they post.

It could be as simple as setting the default on the check box to checked vs unchecked, but I am not sure where that change would be made.

Anybody have an idea? This is a critical feature for our board and a roadblock for our move from Classic to UBBThreads 7.x.

Thanks in advance!
Posted By: Ian Spence Re: Watchlist mod? - 05/22/2007 9:35 PM
In /scripts/newpost.inc.php

Find:
Code
		$addtofav = "
<input type=\"checkbox\" name=\"dofav\" value=\"1\" class=\"form-checkbox\" />
{$ubbt_lang['ADDTOFAV']}
";

Replace with
Code
		$addtofav = "
<input type=\"checkbox\" name=\"dofav\" value=\"1\" class=\"form-checkbox\" checked=\"checked\" />
{$ubbt_lang['ADDTOFAV']}
";
Posted By: DougT Re: Watchlist mod? - 05/22/2007 9:39 PM
Thank you! This will work perfectly.
© UBB.Developers