WordPress.org

Ready to get started?Download WordPress

Forums

vBulletin login (2 posts)

  1. Mithrustt
    Member
    Posted 5 years ago #

    Not sure if anyone here is going to be able to help, but I thought I'd ask anyway. I recently installed a WordPress plugin, called Complete VBridge. It bridges WordPress and vBulletin so that they both use the vBulletin user database. Thus, when someone logs in to vBulletin they can move back and forth from the forums to the site, and they can comment on the site as well.

    I decided that I wanted to put a vBulletin login in my WordPress sidebar, so that users don't have to travel to the forums to log in.

    I'm having two problems, however:

    1) I can log in from either the site (through the vBulletin login box) or on the forums, and the user will be logged in on both. But when I go to log out on the forums, it only logs out on the forums and not the site.

    2) Even when logged in on the site, the log in box remains and doesn't switch over to say that you're logged in, like it does on the forums. Thus, it doesn't provide a log out function. If I log out through wp-login.php, it logs out both the site and the forums, but I want it to be logging out from the vBulletin log in box.

    The site is http://savingprogress.com

    The code I'm using for the log in box is:

    <form action="http://www.savingprogress.com/forums/login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)">
    <script type="text/javascript" src="http://www.savingprogress.com/forums/clientscript/vbulletin_md5.js"></script>
    <table border="0" cellpadding="0" cellspacing="3">
    
    <tbody><tr>
    <td >
    <td><input class="bginput" style="font-size: 11px;" name="vb_login_username" size="10" accesskey="u" tabindex="101" value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" type="text"></td>
    <td colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" type="checkbox">Remember Me?</label></td>
    </tr>
    <tr>
    <td >
    
    <td><input style="font-size: 11px;" name="vb_login_password" size="10" accesskey="p" tabindex="102" type="password"></td>
    <td><input value="Log in" tabindex="104" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accesskey="s" type="submit"></td>
    </tr>
    </tbody></table>
    <input name="s" value="" type="hidden">
    <input name="do" value="login" type="hidden">
    <input name="vb_login_md5password" type="hidden">
    <input name="vb_login_md5password_utf" type="hidden">
    </form>

    I've really been working on this like crazy and can't seem to get it working. I can also provide the code for the VBridge plugin if necessary.

    Any help is greatly appreciated.

  2. AndyAA
    Member
    Posted 4 years ago #

    Yeah I am dying for this aswell...anyone had any success?

Topic Closed

This topic has been closed to new replies.

About this Topic