Duckface
06-08-2015, 03:36 PM
I know how to change the whois online statement for a page within the forums directory.
However when I do this for a page outside it still doesn't work:
http://i.imgur.com/8NNf6nK.png
Code:
switch ($userinfo['activity'])
{
case 'DonatePage':
$userinfo['where'] = '<a href="/forums/donate/donate.php?'.$vbulletin->session->vars[sessionurl].'">Donating to SpawnScape</a>';
$userinfo['action'] = "For the glory of SpawnScape and her empire!";
$handled = true;
break;
}
switch ($filename)
{
case '/forums/donate/donate.php':
$userinfo['activity'] = 'DonatePage';
break;
}
However when I do this for a page outside it still doesn't work:
http://i.imgur.com/8NNf6nK.png
Code:
switch ($userinfo['activity'])
{
case 'DonatePage':
$userinfo['where'] = '<a href="/forums/donate/donate.php?'.$vbulletin->session->vars[sessionurl].'">Donating to SpawnScape</a>';
$userinfo['action'] = "For the glory of SpawnScape and her empire!";
$handled = true;
break;
}
switch ($filename)
{
case '/forums/donate/donate.php':
$userinfo['activity'] = 'DonatePage';
break;
}