There is a problem with this hack, especially if you add on to it with one of the other hacks that allows you to put the shoutbox on multiple pages. It will show that you are viewing the shoutbox in who's online if you are on a page that has teh shoutbox on it. That's not bad if you only have it on one page, but as you add it in to more than one page, very shortly it can look like everyone on your site is always in the shoutbox. Well, here is the fix for it:
In vbshout.php find:
Code:
/*======================================================================*\
|| #################################################################### ||
|| # vBShout v2 Created By Zero Tolerance [http://gzevolution.net] ||
|| #################################################################### ||
\*======================================================================*/
After it add:
Code:
if ((!$_GET['do'] || $_GET['do'] == '') && !$_POST['do'])
{
$_GET['do'] = 'latest';
}
if ($_GET['do'] == 'latest')
{
define('LOCATION_BYPASS', true);
}
That will take care of the shoutbox on the page. You can also add the code below to what is above if you want to also not see it when they post a shout from teh shoutbox. Personally I added it because technically they are still on the page they are viewing.
Code:
if ($_POST['do'] == 'shout')
{
define('LOCATION_BYPASS', true);
}
Also, the problem where Who's Online shows it as index.php is a problem with the plugin. Edit the WOL Config [Part A] plugin and change index.php to vbshout.php.
Hope this works for you guys, seems to be working for me.