I managed to fix the problem of the redirect after login, now it points back to the index.php not the forums/index.php.
BUT, When logging in from the home page, it will redirect you to
http://www.mysite.com/member.php, when it should be redirecting to
http://www.mysite.com/forums/member.php.
I have added $bburl to the error_nopermission_loggedout template. like this (<table border="0" bgcolor="#0A293E" cellpadding="4" cellspacing="1" align="center">
<form action="$bburl/member.php" method="post"><input type="hidden" name="s" value="$session[sessionhash]">
$logincode
</table>) But it doesn't work. it still will redirect you to
http://www.mysite.com/member.php!
I have tried to replace the $bburl with forums/, but that will cause the login to redirect you to
http://www.mysite.com/forums/forums/member.php when you login from the forums/ and not the homepage.
Why doesn't the $bburl work?, did I use it correctly?
We could fix this by...
When a person is in the FOURMS/, and is not logged in, We could figure out a way to redirect them to the homepage login instead of the Forums/ login, this would allow me to use "FORUMS/ instead of the non working $bburl in the Zrror_nopermission_loggedout template.
Am I making any sence? :ermm: Do you know how this redirect could be done, without effecting the Homepage login?