https://www.icyphoenix.com/viewtopic.php?f=35&t=5398
-----------------------------------
redrumm101
Tue 03 Feb, 2009 18:53

Signatures On By Default
-----------------------------------
How do i set the signatures on by default so everyone is not asking me how to turn them on?... BBcodes is set to all on3

Thank you in adv


-----------------------------------
Chaotic
Tue 03 Feb, 2009 21:19

Re: Signatures On By Default
-----------------------------------
Give this a try, but please make sure you back this file up first!

OPEN: includes/usercp_register.php

FIND:

[code linenumbers=false]		$attachsig = ( isset($_POST['attachsig']) ) ? ( ($_POST['attachsig']) ? true : 0 ) : $userdata['user_attachsig'];[/code]

REPLACE WITH:

[code linenumbers=false]		$attachsig = ( isset($_POST['attachsig']) ) ? ( ($_POST['attachsig']) ? true : 0 ) : true;[/code]

This worked for me, but I don't know how to change that in the database so it takes effect for all your current users.  This should fix the problem for future registrations though. :)


-----------------------------------
redrumm101
Tue 03 Feb, 2009 23:53

Re: Signatures On By Default
-----------------------------------
Awesome thank you again chaotic.. Yeh that will be perfect i dont have alot of people registered on this one yet thats why i was waiting to make it live.. Ive learned from past experiences.. Now its time to go live.. Thank you agan chaotic.. Should put that one on the next update


-----------------------------------
Chaotic
Wed 04 Feb, 2009 00:17

Re: Signatures On By Default
-----------------------------------
I'm assuming you tested it with a new account and it worked?

If so, great!  8)


