Quote:
Originally Posted by Lynne
So exactly what is your code in those two plugins right now?
|
Product= vBulletin
Hook Location = online_location_process
Title = online_location_process
PHP Code:
switch ($filename)
{
case 'extra_online_users':
$userinfo['activity'] = 'extra_online_users';
break;
// add more cases here if you have more than one custom page. no need for multiple plugins. one plugin can handle all.
}
Plugin is Active = Yes
Product= vBulletin
Hook Location = online_location_unknown
Title = online_location_unknown
PHP Code:
switch ($userinfo['activity'])
{
case 'extra_online_users':
$userinfo['where'] = '<a href="extra_online_users.php?'.$vbulletin->session->vars[sessionurl].'">MAI-Wallpapers</a>';
$userinfo['action'] = "Viewing MAI-Wallpapers";
$handled = true;
break;
// add more cases here if you have more than one custom page. no need for multiple plugins. one plugin can handle all.
}
Plugin is Active = Yes
This is the two codes from the plugins
Thanks