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>
This has been tested and working with phpBB, but it seems that vBulletin requires more information.