// IPB Shoutbox 2.5: Build F // Original by Epsilekt, modified by Mwr247 // Last updated: 05/04/08 // http://z9.invisionfree.com/ShoutBoxCode/ var sbfrm=shoutboxfid; var sbtpc=shoutboxtid; var sbd=document; var sbwl=window.location; if(location.href.charAt(7)=='s'&&location.href.match('.invisionfree.com')){location.href='http://z'+location.href.split('http://s')[1];} var sburl=sbwl.href.split('index.php')[0]; if(!sburl){sburl=sbwl.href;} if(sburl.charAt(sburl.length-1)!='/'){sburl+='/';} var cab=true; var urlfix=sburl; while(urlfix.match(' ')){urlfix=urlfix.replace(' ','_');} if(sbd.cookie.match(urlfix+'theshoutbox=hide')){var cab=false;} var isguest=1; if(sbd.getElementById('userlinks').innerHTML.match(/Log Out/i)!=null){var isguest=0;} var hidefromguests=0; if(guestvisible==0&&isguest==1){var hidefromguests=1;} var ismod=0; if(sbd.getElementById('userlinks').innerHTML.match(/mod cp/i)!=null){var ismod=1;} var isadmin=0; if(sbd.getElementById('userlinks').innerHTML.match(/admin cp/i)!=null){var isadmin=1;} var viewmod=0; if(isadmin==1||(ismod==1&&modlink==1)){var viewmod=1;} var editopic=''; if(viewlink==1&&isguest==0&&viewmod==0){var editopic='- View';} var adminoptions=''; if(viewmod==1){var adminoptions='- Mod';} function togglemod(){ if(viewmod==1){sbd.getElementById('shoutcontent').innerHTML='
| - Shoutbox Topic - Shoutbox Forum - Shouter Stats | - Support Topic - Support Forum - Big Boards | This has been listed in the bugs list for a while, but I want to make sure everyone is aware. To everyone with ad removal purchased on their board: Using this shoutbox will cause your credits to decline faster than normal due to the codes use of an iframe. Therefore, I highly recommend that you DO NOT use this code if you have ad removal. |