The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
VB database integration
Hi im using VB as my forums and have managed to get coppermine working with the same login as VB.
I also run another script wich is the main portion of the site, How can i create a script that will let the users use the 'main script' userass to login to VB,similar to the way VB coppermin is done? The columns in the user table are similar to some of VB's Code:
id userid password email sex hobbies music chat updated emailvisible year country state quote Im new to VB but know a little php and mysql. can anyone give me a hand with this? thanks in advance |
#2
|
|||
|
|||
If you include('./global.php') where ./global.php is global.php in your forum home, Then you can access any of the variables as the $bbuserinfo[] array. It's just a matter of writing a login form and validating with $bbuserinfo.
|
#3
|
|||
|
|||
:tired: well i already have a login form on the main portion of my site,
Would it be possible for me to add the code into the existing login/registration form so when a user signs up it will dump the userass into the VB database as well? Ive had no luck so far but im inexperienced . if anyone can help me with this id be willing to trade some decals/xbox decals or cash depending on how much. thanks for the insight sketch |
#4
|
|||
|
|||
My recommendation is to use vB's registration form. What you can do is POST the username to the registration form and allow the user to continue the registration there. Why reinvent the wheel when vB provides everything you need for user registration. Right? If the user is unregistered, you might even just provide a link to the registration page...
|
#5
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|