PDA

View Full Version : vBadvanced & vBulletin Login Not Sync-ed


coolrock
11-01-2008, 11:16 AM
Hi all,

I just installed both vbulletin (on /public_html/forums) and vbadvanced (/public_html). Everything works fine but I'm facing a weird problem.

When I try logging in from http://www.jasonchua.com, the page shows me logging in. After the logging in page, it will return to http://www.jasonchua.com. However, when the page returns to http://www.jasonchua.com, it showed that I didn't log in.

The ionic thing is, when I access my vb forum @ http://forums.jasonchua.com, the Log in is fine, but not at the vbadvanced page @ http://www.jasonchua.com

For your assistance please! Thanks.

VIJOVAME
11-01-2008, 11:45 AM
Hi all,

I just installed both vbulletin (on /public_html/forums) and vbadvanced (/public_html). Everything works fine but I'm facing a weird problem.

When I try logging in from http://www.jasonchua.com, the page shows me logging in. After the logging in page, it will return to http://www.jasonchua.com. However, when the page returns to http://www.jasonchua.com, it showed that I didn't log in.

The ionic thing is, when I access my vb forum @ http://forums.jasonchua.com, the Log in is fine, but not at the vbadvanced page @ http://www.jasonchua.com

For your assistance please! Thanks.

Same problem here! I'm seaching whats happend...... :(

Our Sponsors
 

PhilMcKrackon
11-01-2008, 03:32 PM
Same problem here! I'm seaching whats happend...... :(

Try 'vBadvanced Troubleshooting & Common Problems'

http://www.vbadvanced.com/forum/faq.php?faq=vba_trouble#faq_vba_trouble_cookie

eJM
11-02-2008, 09:10 PM
I don't know if this will fix your problem, but it sounds like it will. And it certainly won't hurt, but you will have to make sure the template edits you make now, you also make whenever you update your forum software.

The section below is found in the navbar template for each style you use. It's the login form:

<!-- login form -->
<form action="http://forum.url-here.com/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="http://forum.url-here.com/clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont" style="white-space: nowrap;"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

The part I added is this: http://forum.url-here.com/. You should edit that part to reflect the actual URL to your forum home page. If your forum is located at http://forums.jasonchua.com/, then that is what you put in place of the red part I added. If your forum home is located here: http://www.thefloorpro.com/community/ then that's what you replace the red part with. If you have a problem, then check the address in the code again. It works if you type in the correct path to your forum home page. Don't forget any of the slashes.

I hope that helps. If it fixed your problem, please see my signature. Thank you.

Jim McClain

Our Sponsors
 

coolrock
11-03-2008, 07:32 AM
I don't know if this will fix your problem, but it sounds like it will. And it certainly won't hurt, but you will have to make sure the template edits you make now, you also make whenever you update your forum software.

The section below is found in the navbar template for each style you use. It's the login form:

<!-- login form -->
<form action="http://forum.url-here.com/login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="http://forum.url-here.com/clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont" style="white-space: nowrap;"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

The part I added is this: http://forum.url-here.com/. You should edit that part to reflect the actual URL to your forum home page. If your forum is located at http://forums.jasonchua.com/, then that is what you put in place of the red part I added. If your forum home is located here: http://www.thefloorpro.com/community/ then that's what you replace the red part with. If you have a problem, then check the address in the code again. It works if you type in the correct path to your forum home page. Don't forget any of the slashes.

I hope that helps. If it fixed your problem, please see my signature. Thank you.

Jim McClain

Hi Jim,

The code is already there in the first page. Thanks for your help anyway ;)

Brian
11-03-2008, 08:54 AM
You need to follow the steps in the FAQ entry that Phil linked you to above.

eJM
11-03-2008, 12:47 PM
Hi Jim,

The code is already there in the first page. Thanks for your help anyway ;)

The code you refer to doesn't have complete URLs. It has everything except the red part of my code.

Jim

VIJOVAME
11-09-2008, 11:04 PM
ok, I think i fixed it

Here:

http://www.vbadvanced.com/forum/faq.php?faq=vba_trouble#faq_vba_trouble_cookie

follow step 3, the part about change the setting to '.yoursite.com'