Hi,
I'm a bit lost with tis one...
I have a few custom pages running of the same file with "?do=page"
is it possible to assign different online location even if the main file is the same?
i'm using the usual online location plugins:
Code:
if ($filename == 'demo.php')
{
$userinfo['activity'] = 'demo';
}
Code:
if ($userinfo['activity'] == 'demo')
{
$userinfo['action'] = 'Viewing Demo';
$userinfo['where'] = '<a href="./demo.php?' . $vbulletin->session->vars['sessionurl'] . '">Demo Page</a>';
$handled = true;
}
However i was trying to do something like:
Code:
if ($filename == 'demo.php?do=page')
{
$userinfo['activity'] = 'demo page';
}
Code:
if ($userinfo['activity'] == 'demo page')
{
$userinfo['action'] = 'Viewing Demo page 1';
$userinfo['where'] = '<a href="./demo.php?do=page' . $vbulletin->session->vars['sessionurl'] . '">Demo Page 1</a>';
$handled = true;
}
But that did not work as the location was still showing as the first example
Do you know a different way to do it or is just not possible since the pages are running of the same file?
Thank you for any input