Veteran
Joined: Feb 2002
Posts: 2,286 |
Suggestion. If you want all new users to automatically display the sidebar on the left or right open adduser.php find // ----------------------------------<br />// Insert this user into the database<br /> $query = "<br /> INSERT INTO {$config['tbprefix']}Users (U_LoginName,U_Username,U_Password,U_Email,U_Totalposts,U_Laston,U_Status,U_Sort,U_Display,U_View,U_PostsPer,U_EReplies,U_Registered,U_RegEmail,U_RegIP,U_Groups,U_Title,U_Color,U_Privates,U_Approved,U_PicturePosts,U_CoppaUser,U_Birthday,U_AdminEmails)<br /> VALUES ('$Login_q','$Displayn_q','$crypt','$Email_q','0','$date','$Status_q','{$theme['sort']}','$Display_q','$View_q','{$theme['postsperpage']}','$EReplies_q','$date','$Email_q','$ip_q','$Groups_q','$Title_q','$Color_q','1','$approved','$PicturePosts','$coppauser','$birthday','')<br /> "; change to // ----------------------------------<br />// Insert this user into the database<br /> $query = "<br /> INSERT INTO {$config['tbprefix']}Users (U_LoginName,U_Username,U_Password,U_Email,U_Totalposts,U_Laston,U_Status,U_Sort,U_Display,U_View,U_PostsPer,U_EReplies,U_Registered,U_RegEmail,U_RegIP,U_Groups,U_Title,U_Color,U_Privates,U_Approved,U_PicturePosts,U_CoppaUser,U_Birthday,U_AdminEmails,U_SideBar)<br /> VALUES ('$Login_q','$Displayn_q','$crypt','$Email_q','0','$date','$Status_q','{$theme['sort']}','$Display_q','$View_q','{$theme['postsperpage']}','$EReplies_q','$date','$Email_q','$ip_q','$Groups_q','$Title_q','$Color_q','1','$approved','$PicturePosts','$coppauser','$birthday','','1')<br /> "; Where the final digit 1 in the new code is left hand side - this can be changed to 2 for the right hand side. If you don't do this, by default new users will be off until they update their settings under 'my home'.
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|