Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 2002
Posts: 19
bud Offline
Newbie
Newbie
Offline
Joined: Jul 2002
Posts: 19
If you want to change the default such that any new user would be directed to the Main Index page, simply modify lines 262 and 263 of the 6.2 version of adduser to include the U_FrontPage and U_StartPage columns and the appropriate values:

Code
<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_Post_Format,U_Registered,U_RegEmail,U_RegIP,U_Groups,U_Title,U_Color,U_Privates,U_Approved, U_FrontPage, U_StartPage)<br />         VALUES ('$Username_q','$Username_q','$crypt','$Email_q','0','$date','$Status_q','{$theme['sort']}','$Display_q','$View_q','{$theme['postsperpage']}','$EReplies_q','$PFormat','$date','$Email_q','$ip_q','$Groups_q','$Title_q','$Color_q','1','$approved', 'ubbthreads', 'mi')<br />


If you need to change existing users that could be done with a couple of SQL commands. Additionally, if you want to ignore any user setting, that could be done in ubbt.inc.php.

Sponsored Links
Entire Thread
Subject Posted By Posted
Change the landing page... William 01/13/2003 7:53 PM
Re: Change the landing page... bud 01/13/2003 10:29 PM
Re: Change the landing page... JustDave 01/13/2003 11:09 PM
Re: Change the landing page... cstaber 01/14/2003 12:50 AM
Re: Change the landing page... Ian_W 01/14/2003 12:56 AM
Re: Change the landing page... JustDave 01/14/2003 12:56 AM

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
hatter
hatter
USA
Posts: 69
Joined: January 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)