The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi all, i have a lot of other pages around my vb. They all have different dirs under the root. E.g. /sports/, /pets/ and so on.
How can i show this places in my online-list? It seems vb always ask for the last part of an url, while i have a lot of different index.php it show always Forum Index for that location. So i need some more cases before the normal ones in online.php, but i have no clue how to do the regex for it. Any clues? |
#2
|
|||
|
|||
![]()
You can't show a location in the Who's Online based on directory structure. The Who's Online goes by the file they are viewing, thus if you have multiple index.php files, it will always default in the Who's Online to say "Forum Home".
You'd have to change your index.php under /sports to sports.php (or sports.shtml) as an example so it does not get mixed up with the default index.php the Forum Home uses. Once you've done this, open the following file (online.php): Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|