Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, this is probably tricky.

First thing - you need your existing users to be input into the threads database - they would have to have a user entry in the w3t_Users table. That's why doing the reverse and using threads for the registration system is much easier.

So you'd need to copy your existing users to the Threads database and modify your existing new user function to also add users to the Threads database.

Passwords need to be stored MD5 encoded in the w3t_Users database, and some other key fields need to be setup U_Approved = 'yes' etc.... You can check the INSERT function inside the adduser.php for exactly what the minimum info is needed to insert the user.

Then indeed, you'd need to replicate the cookies that are set when you login to threads. You can see this in the ubbt.inc.php in the function "do_login".

If your existing pages handling this are php and using MySQL it would be easier to replicate what the login function does, and even perhaps include the main.inc.php file so that your pages have access to the threads variables etc...

Assuming you're using cookies.... I'm not exactly sure how it would need to be handled in Sessions.

I've never done anything myself this way, I've done it the way omegatron suggests, getting other PHP pages etc.. to work off the Threads user base.

I would presume it's more complicated if your existing pages are not PHP pages. I'm not sure, as I'm not proficient in other languages.

Sponsored Links
Entire Thread
Subject Posted By Posted
help with automatic login CSMike 09/24/2003 7:55 PM
Re: help with automatic login omegatron 09/25/2003 12:56 AM
Re: help with automatic login JoshPet 09/25/2003 4:30 AM
Re: help with automatic login CSMike 09/25/2003 4:54 AM
Re: help with automatic login JoshPet 09/25/2003 4:59 AM
Re: help with automatic login CSMike 09/27/2003 5:51 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:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2112
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 1
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)