![]() |
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? |
Just copy over the login box from the template.
|
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
|
ok i'll try lol
|
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.
|
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'); |
can somoen give me the code to add ?
please! |
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
|
Thanks. I think I've got it working flawlessly now.
|
All times are GMT. The time now is 07:39 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|