Integrating vBulletin

Status
Not open for further replies.

Elvie

New member
Jun 24, 2006
319
6
0
Nova Scotia
Has anyone integrated vBulletin into their site - sharing the usernames and login system?
I am developing a new site, and while I usually plug in a forum that my brother and I scripted ourselves, I am liking vBulletin more and more and I am thinking about using it for this site I'm developing - only I have several other features for the user to log-in and use. Having never seen the backend or database structure of vBulletin, can anyone let me know how easy it is to "tap into"? Meaning allow my users to login to the entire site using their vBulletin profile, and allowing me to check if they are still logged in as they move between the pages of the other tools and content I am programming?
I'll have additional database tables, I'd just like to make use of whatever vBulletin uses as its user table right across the site.
 


It's been done before. You just have to find the people that have done it. I can suggest going to vb.org to look or check my sig.
 
Browsing your forum now Rex. I can't get vbulletin.org or vbulletin.com to load right now.

Yes Michael, I should have the skills necessary. I'm developing this particular site in Perl, and not PHP, but I don't think that will be too big of an issue - I just to be able to allow the user to login and check for a session and share the users table.
 
Yes, I'm really into that, for now only for my own sites though. I think later on I will make the building of these sites available to clients too. I'll drop you a pm with what I'm building.
 
I would imagine it is going to be some extra work if you are coding it in PERL.

What I do (for a PHP site), is include the vBulletin global file in all of my pages. Then grab any necessary variables from vBulletin's arrays.

For example... to check if a user is logged in, you can get the userid variable. If it equals 0, they are not logged in or are unregistered. If the userid equals anything else, you can use it to display custom data.

It really works quite nice.
 
Thanks very much for your help BeauCreative. You are probably right that I'll have to add an extra step to work with the PHP globals file from Perl, but so far it doesn't seem like an impossible task.
 
Thanks Ben, but I find it far more rewarding to figure it out myself, and then do it again for the next site, and the next one, etc.
:)
 
Elvie said:
...a forum that my brother and I scripted ourselves...

I've always wanted to do this...Do share how much knowledge does it require (PHP & MySQL) and how long did it take you to make it...
 
To make a simple one, it's really not difficult at all. Ours is using Perl & MySQL. My brother built the basics in 1999. Since then I've added polls and profiles and multiple boards - even an internal mail system, but it doesn't have near the features that something like vBulletin has. The huge bonus of programming your own - no automated comment spam! And if you don't like something, you can just reprogram it ;)
 
Elvie said:
To make a simple one, it's really not difficult at all. Ours is using Perl & MySQL. My brother built the basics in 1999. Since then I've added polls and profiles and multiple boards - even an internal mail system, but it doesn't have near the features that something like vBulletin has. The huge bonus of programming your own - no automated comment spam! And if you don't like something, you can just reprogram it ;)

Thanks, that's what I wanted to hear! I'm looking into starting a simple dating/social-networking site and am really tempted to go for something like phpfox just because I'm not sure if I could successfully pull off a custom made solution.

Posts like yours give me hope :)
 
If you have a bit of scripting experience, and some database experience, (and no strict deadline :) ) then just start programming. Programming a site like you are looking at making is just like putting together a jigsaw puzzle - you start with one piece and then start fitting others into it. Once one piece of code is constructed, you program the next one that fits into the first one.
 
Elvie said:
If you have a bit of scripting experience, and some database experience, (and no strict deadline :) ) then just start programming. Programming a site like you are looking at making is just like putting together a jigsaw puzzle - you start with one piece and then start fitting others into it. Once one piece of code is constructed, you program the next one that fits into the first one.

Thanks again. Now go over to the REP utation System! thread and leave your vote for a rep system, so I can rate you ;)
 
this might not help but I have done it with phpbb, it was quite difficult. At the top of each page it checks for session varaibles, on every page of the site u have to keep these alive via code, if u dont then it will ask you to login every time u go to the forum. This is for phpbb I guess that vbulletin is similar.
 
Status
Not open for further replies.