Signatures On By Default »  Show posts from    to     

Icy Phoenix


Old Support Topics - Signatures On By Default



redrumm101 [ Tue 03 Feb, 2009 18:53 ]
Post subject: 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 ]
Post subject: 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: [Hide] [Select]
$attachsig = ( isset($_POST['attachsig']) ) ? ( ($_POST['attachsig']) ? true : 0 ) : $userdata['user_attachsig'];


REPLACE WITH:

Code: [Hide] [Select]
$attachsig = ( isset($_POST['attachsig']) ) ? ( ($_POST['attachsig']) ? true : 0 ) : true;


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 ]
Post subject: 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 ]
Post subject: Re: Signatures On By Default
I'm assuming you tested it with a new account and it worked?

If so, great!




Powered by Icy Phoenix