View Full Version : VB_5.0.5 auto registration
sroshan
02-13-2014, 07:35 AM
I have a question about automatic registration of users in vb 5.0.5.
This is what I want. I have a website and users register to our website and we have a link to our forum on the user page. We want to make the user able to be registered with the same user info(which used in our web site) to our forum without being forced to enter the information again. Is there anyway that I can add this to vbulletin code?
Lynne
02-13-2014, 05:51 PM
You will need to first write a script that transfers all user login information from your website to the vbulletin database and then you will need to write a bridge so that when a user registers on your site, they are automatically registered on vbulletin.
sroshan
02-14-2014, 04:59 PM
Do you mean that just by writing my own php script to insert user info into database I can register a user? Or is it better to use vbulletin scripts to register the user? Could you tell me which vbulletin script is called on user registration?
Lynne
02-14-2014, 06:00 PM
If you write your php script correctly, then yes, you would be able to register users. I can't tell you if it is better to use the vbulletin script to register the user or your own script - either way you need to write some php to register the user in both databases. If you look at the top of the register.php script, you will see what other scripts are called on the page.
sroshan
02-14-2014, 06:25 PM
And what kind of session variables are used on the page? Is it possible that we can set some session variables so the user entering to the forum from our website does not need to enter login information in our forum?
Lynne
02-14-2014, 11:15 PM
I don't know anything about your site, so I can't guess what is there. But, you can read this article to view what user information needs to be entered into the database when you add a user - https://vborg.vbsupport.ru/showthread.php?t=82836
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.