Footers:
<script type="text/javascript">
var Leave = "YOUR TEXT";
var name = document.getElementsByTagName("span");
for(v=0;v<name.length;v++){
if(name[v].innerHTML.match(/Hello <b>(.*)<\/b>/i)){
var username = RegExp.$1;
};};
var Logout = document.links;
for(c=0;c<Logout.length;c++){
if(Logout[c].href.match(/action=logout/i) && Logout[c].parentNode.className == "maintab_back"){
Logout[c].onclick = function(){ alert(Leave) };
};};
if(Leave.match(/{user}/i)) Leave = Leave.replace(/{user}/i,username);
</script>
Original Request: http://revolutionx.smfforfree3.com/index.php/topic,429.0.htmlWhen this code is added to your forum, a pop-up box will appear when you click the "Logout" tab.
YOUR TEXT = The text the message will show.
If you want to show the user's name in the message, put {user}.
Enjoy