The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vb log in script
hii!
i have a homepage that i want to put a log-in feature in it...but i dont know how to code one....its so people can log into vb but log in from my homepage as well.... any help? |
#2
|
||||
|
||||
Just copy over the login box from the template.
|
#3
|
|||
|
|||
It is pretty easy, just look at the login code, run a query based on user input (after protecting it) and verify input + salt and check if that is the pass
|
#4
|
|||
|
|||
ok i'll try lol
|
#5
|
|||
|
|||
Just emulate the HTML output from the login form, as long as it your HTML form points to the vBulletin login script it should log the user into vBulletin.
|
#6
|
|||
|
|||
Let's say you want to keep the person logged in as they travel to other areas of the website outside of vbulletin. I used to be able to do this by simply checking $bbuserinfo for a userid which told if if the person was logged in and who they were. When I upgraded to the latest version, this ceased to work. Stumped...
--------------- Added [DATE]1210889060[/DATE] at [TIME]1210889060[/TIME] --------------- Forgot the key ingredient to making that work... I required the global file on every page of the site: require('global.php'); |
#7
|
|||
|
|||
can somoen give me the code to add ?
please! |
#8
|
||||
|
||||
search "login" "all forums" "titles only" and you get a ton of hits. This mod may help you out with the code: https://vborg.vbsupport.ru/showthread.php?t=173693
|
#9
|
|||
|
|||
Thanks. I think I've got it working flawlessly now.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|