The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Order results by VIP Members first
Hello.
I want to add an option to the order results combo box so the user can order the search results by VIP members (which the group ID for them = 10) and that's mean the VIP members appear first in the search results page before the other members in the other groups. Thanks. --------------- Added [DATE]1359814388[/DATE] at [TIME]1359814388[/TIME] --------------- Does anyone know how to do this? |
#2
|
||||
|
||||
Only put vip posts at the top if it is the thread starter post? (post 1)
|
#3
|
|||
|
|||
I would like the featured members to show up first on the the member search results, maybe highlighted in a different color in the result indicated as a featured member.
http://www.agentlinkus.com/memberlist.php?do=search and the members list page: http://www.agentlinkus.com/members/list/ Thanks |
#4
|
||||
|
||||
Open template memberlist
Find Code:
<vb:each from="memberlistbits" value="userinfo"> <tr> <td class="alt1 username"> Code:
<vb:each from="memberlistbits" value="userinfo"> <tr<vb:if condition="is_member_of($userinfo, 6)"> style="background:red;"</vb:if>> <td class="alt1 username"<vb:if condition="is_member_of($userinfo, 6)"> style="background:red;"</vb:if>> Code:
style="background:red;" |
Благодарность от: | ||
KimK |
#5
|
|||
|
|||
Thank you so much LifesGreatestGift but how can I get the featured members to show up first on the the member list page?
|
#6
|
||||
|
||||
you would probably need to look into the queries that memberlist.php makes
|
#7
|
|||
|
|||
I don't know anything about the queries in the memberlist.php. Can you help me?
|
#8
|
||||
|
||||
Create a new plugin
Product: vBulletin Hook Location: memberlist_fetch Title: Sort admin first Code: Code:
$sqlsort = 'user.usergroupid=6'; $sortorder = 'desc'; |
#9
|
|||
|
|||
A million billion thanks to you LifesGreatestGift for your help.
Thank you sooooo much |
#10
|
|||
|
|||
Sorry for disturbing you again. Can I create a featured members widget to include the same VIP group (group id = 10)?
Thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|