PDA

View Full Version : Sorting whoisonline for page outside forum directory.


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;
}

thetechgenius
06-12-2015, 01:16 PM
Oh I know, I had the same problem awhile back, I pulled my hair out trying to figure it out. And I still haven't figured it out to this day. I hope you have better luck then I did.

MarkFL
06-12-2015, 01:29 PM
Have you tried:

switch ($filename)
{
case 'donate/donate.php':
$userinfo['activity'] = 'DonatePage';
break;
}

Duckface
06-13-2015, 08:02 PM
Oh I know, I had the same problem awhile back, I pulled my hair out trying to figure it out. And I still haven't figured it out to this day. I hope you have better luck then I did.

Like Britney?

--------------- Added 1434234160 at 1434234160 ---------------

Have you tried:

switch ($filename)
{
case 'donate/donate.php':
$userinfo['activity'] = 'DonatePage';
break;
}

And no still doesn't work.