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
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 396 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)