Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2011
Posts: 16
C
stranger
stranger
C Offline
Joined: Apr 2011
Posts: 16
Is it possible to add topics to the watchlist by default after posting and get notifications afterwards?
I have described the problem one year ago, after the admin changed to UBBthreads.
http://www.the-coop.org/forums/ubbthreads.php?ubb=showflat&Number=88170#Post88170

It is really silly, that it is possible to add signatures to the post by default, but it is not possible to get notifications by default after starting/posting a thread/post.
[Linked Image]


Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
scripts/newpost.inc.php

find:
PHP Code
 if ($postername != $ubbt_lang['ANON_TEXT']) {
		$addtofav = "
		<input type=\"checkbox\" id=\"dofav\" name=\"dofav\" value=\"1\" class=\"form-checkbox\" />
		<label for=\"dofav\">{$ubbt_lang['ADDTOFAV']}</label>
		"; 

change to:
PHP Code
 if ($postername != $ubbt_lang['ANON_TEXT']) {
		$addtofav = "
		<input type=\"checkbox\" id=\"dofav\" name=\"dofav\" value=\"1\" class=\"form-checkbox\" checked=\"checked\" />
		<label for=\"dofav\">{$ubbt_lang['ADDTOFAV']}</label>
		"; 

if you want to do same for reply, then rinse/repeat with scripts/newreply.inc.php

2c

Joined: Apr 2011
Posts: 16
C
stranger
stranger
C Offline
Joined: Apr 2011
Posts: 16
Thanks a lot ... it works now!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)