The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
External Login via MySQL
Hey everyone,
I have been searching around and can't seem to find a solution that works. I want to be able to have an external login script though calling right to the mySQL itself, not using global.php, etc. I have found scripts similar to my situation though I find that they don't work with vbulletin 4.0 Can someone please help me? - David Edit: I have found something that I'm looking for here: https://vborg.vbsupport.ru/showthrea...ht=login+mysql Though it won't work for me |
#2
|
|||
|
|||
What I'm doing is using vB's system for login etc (it has more then login only, it has protection etc)... then I wrote my own script to check with vb's cookies if a user is logged in (not calling init.php etc) which loads another shitload on code... I guess that's the best option
Else, very simple: you need to look into the code how vB's hashes passwords, it's not very complex |
#3
|
|||
|
|||
I fought with the same thing for a while, eventually giving in and writing a system that uses vB's global.php to achieve the best results. There are a few functions that vB uses to handle logins and sessions, you can for-sure make your site read from and check vB's user database, no problem, but then you're not logged into vB as well. It's nice to have your site and forums be traversable back and forth while keeping you logged in, and also trying to just patch into a little bit of vB's code is next to a nightmare unless you've got a lot of time on your hands to extensively dig through their code to figure out all the small pieces that they're doing onlogin.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|