The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
users complaining about the "you sure you wanna log out" dialog box. i found it in the navbar template, but i'm kinda scared to delete the js function because i think that will cause an error, not just get rid of the popup?
im not sure 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>
thx for your time !! |
|
#2
|
||||
|
||||
|
No one ever responded to this *bump*
|
|
#3
|
|||
|
|||
|
Just change the first line of the function to:
return true; |
|
#4
|
||||
|
||||
|
Quote:
Code:
<script type="text/javascript">
<!--
function log_out()
{
return true;
}
//-->
</script>
|
|
#5
|
||||
|
||||
|
Thanks guys I appreciate your time !!
Internet cupcakes for everyone ! ! ! ![]() hrm i changed it to Code:
<script type="text/javascript">
<!--
function log_out()
{
return true;
}
//-->
</script>
|
|
#6
|
||||
|
||||
|
bump
|
|
#7
|
|||
|
|||
|
Open the navbar template.
Find: HTML Code:
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]" onclick="return log_out()">$vbphrase[log_out]</a></td> HTML Code:
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&u=$bbuserinfo[userid]">$vbphrase[log_out]</a></td> |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|