The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok, I can get the normal method of whos online but i wanna make it more specific. my custom pages are displayed as "info.php?do=sitemap" but I can't seem to make it work when i set the file location to that. But if i set it to "info.php?" it works just fine. any ideas?
Hool Location ![]() Title:sitemap location process active:yes Code:
if ($filename == 'info.php?do=sitemap') { $userinfo['activity'] = 'sitemap'; } ![]() Title:sitemap location process active:yes Code:
if ($userinfo['activity'] == 'sitemap') { $userinfo['where'] = '<a href="info.php?do=sitemap'.$vbulletin->session->vars[sessionurl_q].'">'.$vbulletin->options[bbtitle].' Viewing The Site Map</a>'; $userinfo['action'] = 'sitemap'; $handled = true; } |
#2
|
|||
|
|||
![]()
Hmm...I only spent a few minutes looking at the code so I can't guarantee it, but it kind of looks like it takes apart the URL and puts the parameters in a $values array, so that you'd want something like:
Code:
if ($filename == 'info.php' && $values['do']=='sitemap') { $userinfo['activity'] = 'sitemap'; } |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|