The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin 3.8.4 External Login Help
What credentials do I need to make my login available on an external page? What I plan to do is use my Jamroom as the main site, main login.. etc. While my users are logging into Jamroom, vBulletin intercepts the login information as well. Which prevents them from having to login a second time when they go to the forum. This is what I have so far:
Code:
<form method="post" action="{$JAMROOM_URL}/login.php"> username:<br /> <input type="text" id="jm_user" name="jm_user" class="jform input" style="width:110px"><br /> password:<br /> <input type="password" id="jm_pass" name="jm_pass" class="jform input" style="width:110px"> <input type="submit" value="login" class="jform button" style="width:60px" onclick="javascript:document.getElementById('o_user').value=document.getElementById('jm_user').value;document.getElementById('o_pass').value=document.getElementById('jm_pass').value;document.getElementById('o_form').submit();this.form.submit()> </form> <form method="post" id="o_form" action="{$JAMROOM_URL}/forum/login.php?do=login" target="o_login"> <input type="hidden" id="o_user" name="vb_login_username"> <input type="hidden" id="o_pass" name="vb_login_password"> </form> <iframe name="o_login" src="{$JAMROOM_URL}/forum/login.php?do=login" frameborder="0" style="display: none; visibility: none;"></iframe> |
#2
|
||||
|
||||
You'll need to include global.php in the php file and also grab the login code from the navbar. Check the form in the navbar template and make sure you get all the input values needed.
|
#3
|
|||
|
|||
Would I also need functions_login.php?
|
#4
|
||||
|
||||
I don't think you need it on your php page. It will get included in the login page, I'm fairly certain.
|
#5
|
|||
|
|||
Alright. Thank you Lynne. I'll try to work with the login form. I already have the global.php file included in the login.php. Just gotta figure out how to add the necessary input values to the form.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|