The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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;
}
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;
}
![]() 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
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|