The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I always get "An error occurred while attempting to log you out. Click here to log out." when i try to log out is there any way to bypass this screen so it just logs out even if there is an error?....
|
|
#2
|
|||
|
|||
|
you have a problem in your navbar template.
replace everything in the script section at the top of the template with Code:
<script type="text/javascript">
<!--
function log_out()
{
ht = document.getElementsByTagName("html");
ht[0].style.filter = "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
if (confirm('$vbphrase[sure_you_want_to_log_out]'))
{
return true;
}
else
{
ht[0].style.filter = "";
return false;
}
}
//-->
</script>
If not, then your logout button itself is faulty, so let me know how you get on and I'll provide the code for the logout button too if required.
|
|
#3
|
|||
|
|||
|
nope still the same poblem already had that... can i have the log out script then.....
Regards, Nick (the dum guy over there )
|
|
#4
|
||||
|
||||
|
There has been a mass of changes to how the logout script works, try reverting your forumhome and navbar templates.
|
|
#5
|
|||
|
|||
|
definately not converting my navbar have enough extra links there not to bother but i'll look into the forum home....
do you know which bit of the forum home i would need to revert?.... |
|
#6
|
||||
|
||||
|
You'll need to revert both, or use the logout link from the default versions in order for your logouts to work.
|
|
#7
|
|||
|
|||
|
where's the logout code in teh reverted FORUMHOME?
|
|
#8
|
||||
|
||||
|
It's the logout link in your navbar, try replacing the link for it and making it
Code:
login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash] |
|
#9
|
|||
|
|||
|
ahh work now it was the log out link in the navbar not the script....
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|