I'm using vbadvanced on my front page (as index). I put the login code into the header, everything works except for a simple linking issue as shown below. It's probably a really simple fix, I just don't know how to do it. Anyone know?
----------------------------
I put the login code into the header, it works.. except for the issue with logging in on the index page (where vba cms is).
The reason is because it breaks down the link as something like the following
In forum
On index page
Clearly I'm missing the "/forums" in there. I tried putting the "/forums" in front of the "login.php?do=login", which it does now allow the index page to log me in, but on the forum it has the link of example.com/forums/forums/login.php?do=login".
I'm pretty sure that this part of vbulletin is causing the error on the cms page.. I'm just wondering how to re-write this to make it work.
Quote:
<form action="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="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
|
I'm wondering if anyone can help me out on this, it doesn't look too complicated, just looks like some sort of minor re-write to make this work, but I just don't know how to do it.