View Full Version : PHP Site Integration with VB
nhwood
11-20-2007, 10:10 PM
I asked a pre-sales question at vBulletin.com I develop websites for people and the current project I'm working on is for a condo development, they want to have a "bulletin board" and vBulletin seems to have the best feature set for the website's needs. I have created a website for them already with login features (in a MySQL database) and I wanted to know if it was possible to integrate my website's registration service with vbulletin's so new members wouldn't have to register for the site and the forum separately. Is this at all possible? and they said to come here and ask. Now they replied and said it'd be easier to integrate my site with Vbulletin's database, how would one go about doing that?
Michael Morris
11-20-2007, 10:41 PM
It depends on how many existing members your site has really. If it isn't too many I'd just scratch the old system and do session authorization off of the vbulletin user.
nhwood
11-20-2007, 11:10 PM
It depends on how many existing members your site has really. If it isn't too many I'd just scratch the old system and do session authorization off of the vbulletin user.
There aren't many so I could scratch the old system, but is it also possible to pull information from the vbulletin database such as username, email address, name, etc?
Dismounted
11-21-2007, 04:01 AM
Yes, vBulletin's database is just a standard MySQL one, so you can pull data from it.
Arrangements
11-21-2007, 04:13 AM
Going along with the topic, is there anyway I can integrate the "vbcode" into a php site.
For example $vbphrase[username]
Dismounted
11-21-2007, 04:21 AM
This is pre-sales, not support. Please start your own thread for help. Thanks.
nhwood
11-21-2007, 07:57 PM
Yes, vBulletin's database is just a standard MySQL one, so you can pull data from it.
Two last questions, could I interface the registration so that I could create my own registration page and then have it register with vbulletin? And, if I made my own login page for the main site is it possible that it could both login to vbulletin and my site simultaneously?
Dismounted
11-22-2007, 03:29 AM
If you're pulling the information from vBulletin, there's no need for two separate login systems. But yes, you could have separate registration pages.
Sheyster
11-22-2007, 04:02 PM
Two last questions, could I interface the registration so that I could create my own registration page and then have it register with vbulletin? And, if I made my own login page for the main site is it possible that it could both login to vbulletin and my site simultaneously?
This is exactly what I will need to do soon too - 1 registration page on the main site which will also create a user account on the forum. All new user accounts will be created from the main site only, not the forum. Ideally, an existing user should be able to login to the main site OR the forum and be able to go back and forth in a given session without having to log back in every time. Is this level of integration possible, and is it easy to implement?
Thanks.
nhwood
11-23-2007, 02:24 AM
If you're pulling the information from vBulletin, there's no need for two separate login systems. But yes, you could have separate registration pages.
It's not two seperate login systems. I have a site that pulls basic mysql data such as names, phone numbers, addresses, etc. now the main site is not apart of the forum per se, I just want to be able to have my users only need to login once from my main site and register once from my main site and have the forum (i.e. vbulletin) be able to see that the user is already logged in. The login and registration page for my main site I don't want attached the the forum. Does this explain my question better?
P.S. Happy Thanksgiving, I wish you and your families the best :D
Dismounted
11-23-2007, 04:31 AM
This is exactly what I will need to do soon too - 1 registration page on the main site which will also create a user account on the forum. All new user accounts will be created from the main site only, not the forum. Ideally, an existing user should be able to login to the main site OR the forum and be able to go back and forth in a given session without having to log back in every time. Is this level of integration possible, and is it easy to implement?
Thanks.
Yes, it is possible.
It's not two seperate login systems. I have a site that pulls basic mysql data such as names, phone numbers, addresses, etc. now the main site is not apart of the forum per se, I just want to be able to have my users only need to login once from my main site and register once from my main site and have the forum (i.e. vbulletin) be able to see that the user is already logged in. The login and registration page for my main site I don't want attached the the forum. Does this explain my question better?
Yes, it is possible.
nhwood
11-24-2007, 12:24 PM
Thank-you very much! :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.