Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2002
Posts: 193
Member
Member
Offline
Joined: Mar 2002
Posts: 193
I can't seem to be able to locate such an option in the CP, even though there is one to toggle the default for 'post preview'.

Is there a quick change I can do to make the default no instead of yes?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
IN newpost.php, newreply.php and addpost.php

Find code which looks like this:
Code
<br />	$addsig = "<input type=\"checkbox\" name=\"addsig\" value=\"1\" checked=\"checked\" class=\"formboxes\" /> {$ubbt_lang['ADDSIG']}";<br />


remove the checked="checked"

Then the box won't be checked by default.

Joined: Mar 2002
Posts: 193
Member
Member
Offline
Joined: Mar 2002
Posts: 193
Thanks, Josh!!

Can I do all this by editing the templates so as to not invalidate official infopop support, or must I hack the board?

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
touching the template invalidates the support.. just do eeet

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
This isn't in the template - since it's something that would be diffferent depending on if the user is logged in or logged out - so it's in the scripts. Just retain unmodified files somewhere, so you can put them back should you need official support. But this is a simple tweak - doesn't affect functionality at all.

Sponsored Links
Joined: Mar 2002
Posts: 193
Member
Member
Offline
Joined: Mar 2002
Posts: 193
Thanks!! In addpost I see the following line though:

$Pselected = "checked="checked"";

What should I do with this one, take it out completely?

Joined: Mar 2002
Posts: 193
Member
Member
Offline
Joined: Mar 2002
Posts: 193
Does this one still require meddling with the source code, or can it now be done via the CP?

What should I do in addpost with the line posted above?

Joined: Mar 2002
Posts: 193
Member
Member
Offline
Joined: Mar 2002
Posts: 193
Anyone know?

Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
What do you mean with "now"?
This hasn't changed from 6.5.1 to 6.5.1.1 if you refer to these versions.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)