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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Mors), 833 guests, and 197 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)