The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi there
I need to find out where $activeusers is populated, I need to avoid showing banned users from being displayed in the online users in homepage I recommend you add "exclude user groups" in "online users module" in the next vbulletin but now I need to change it myself. --------------- Added [DATE]1216176790[/DATE] at [TIME]1216176790[/TIME] --------------- I'm looking for the declaration of the variable so that I can change the sql command, I'm not looking for where this variable is defined |
#2
|
|||
|
|||
![]()
I believe that is an array, you'll have to chk the online.php file.
The second part of your post, needs to be posted at vbulletin.com, not here. |
#3
|
|||
|
|||
![]()
I don't think it's in online.php, because I removed that file, and online users are still being shown
|
#4
|
|||
|
|||
![]()
Hmm I thought there was a setting in vBulletin for this... anyway the variable is defined in index.php. (Feature suggestions should be posted at vbulletin.com)
|
#5
|
||||
|
||||
![]()
Use the hook: forumhome_loggedinuser_query and change the variable $hook_query_where.
|
#6
|
|||
|
|||
![]() Quote:
I found $hook_query_where in index.php and I added: PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|