The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Buddy-List on every site
Is their a hack for displaying the user's buddy-list on every site of the forum? Or what do I have to change to get that? I've tried to copy the buddylist-parameter in every template, but it didn't work.
thanks in advance |
#2
|
||||
|
||||
Hi HumGym!
It is possible but i think not so good, because you earn a lot of Querys on the pages with the buddylist... I think you should forget this. BtW: Here on vborg is a hack where you can have the buddys as a Dropdown on the index.php. I tested this hack and get about 15 Querys more like without the buddylist... |
#3
|
|||
|
|||
What are "Querys"? And what makes them so negative?
|
#4
|
||||
|
||||
Quote:
If you go through buddy list of the member and query the session table for each of the buddies to get their status, this will produce additional queries. However you can achieve your goal with 1 query with a simple trick: Instead of getting online status of each buddies seperately, get the entire list of visible online members from session table inside global.php, then compare the list with your buddy list to produce online buddy list. This will add 1 query to any vb page and you can use the list in all vb pages by adding it to header, footer etc. |
#5
|
|||
|
|||
Could you please explain step-by-step what I have to do? ('cause I'm quite not an expert in vbulletin theme editing/programming)
I know that there's a parameter $buddylist on the UCP. But if I copied that in other themes, it doesn't work. So, what exactly do I have to do? thanks in advance |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|