The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How can this be done
http://forums.site5.com/index.php If you look at the site above, you will see it has a block with "staff browsing". Is this easy to add to the sidebar that I have, which is show on every page? I use the Ultimate Sidebar Column hack. Thanks in advance |
#2
|
|||
|
|||
![]()
Bump
![]() |
#3
|
||||
|
||||
![]()
I would guess you can just use the query for getting the users browsing and then add in an addition where clause that only gets the users in certain (staff) usergroups (5,6, and 7?).
|
#4
|
|||
|
|||
![]()
I asked site5 but they have said the person who created this modification is not on their site anymore. But he also told me this:
Quote:
See the quote above, i wouldn't know what to do with it. Thanks a lot if you can help me with this ![]() |
#5
|
||||
|
||||
![]()
The code to define who is on the site is in the index.php page around line 429 where it says "// ### LOGGED IN USERS #######" down to where it says "// ### MAX LOGGEDIN USERS #######" You want to use that query ($forumusers) and then add in a where statement - user.usergroupid IN ('x','y','z') . I'm sure you can get rid of the stuff regarding the Guests since the query should only result in Staff members. But, I'd try that out on a test page with the whole code and then get rid of the stuff you don't think you need afterward.
|
#6
|
|||
|
|||
![]()
I contacted the admin of site5 and he gave me this code.
Might release it on here. Thanks for your help, i'll post the link in here if i'm allowed to release it. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|