|
|
Joined: Mar 2002
Posts: 193
Member
|
Member
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?
|
|
|
|
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: <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
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.
|
|
|
|
Joined: Mar 2002
Posts: 193
Member
|
Member
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
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
Joined: Mar 2002
Posts: 193 |
|
|
|
|
Joined: Dec 2000
Posts: 1,471
Addict
|
Addict
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.
|
|
|
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.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|