![]() |
|
Thread Tools |
#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 02 Feb 2013 at 14:13 --------------- Does anyone know how to do this? No members have liked this post.
|
#2
|
||||
|
||||
Only put vip posts at the top if it is the thread starter post? (post 1)
__________________
If I have helped you, the least you could do is click the ❤ button to show your appreciation. ![]() TheSecond.org - Because it is our right! No members have liked this post.
|
#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 No members have liked this post.
|
#4
|
||||||||||||
|
||||||||||||
Open template memberlist
Find
Replace With:
Enter your usergroup ID in the is_member_of function. It is currently set for usergroup 6. you can add additional groups separated by commas. Also change the
to what suites you.
__________________
If I have helped you, the least you could do is click the ❤ button to show your appreciation. ![]() TheSecond.org - Because it is our right! The following members like this post: 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?
No members have liked this post.
|
#6
|
||||
|
||||
you would probably need to look into the queries that memberlist.php makes
__________________
If I have helped you, the least you could do is click the ❤ button to show your appreciation. ![]() TheSecond.org - Because it is our right! No members have liked this post.
|
#7
|
|||
|
|||
I don't know anything about the queries in the memberlist.php. Can you help me?
No members have liked this post.
|
#8
|
||||
|
||||
Create a new plugin
Product: vBulletin Hook Location: memberlist_fetch Title: Sort admin first Code:
Where 6 is the group id you want to show first.
__________________
If I have helped you, the least you could do is click the ❤ button to show your appreciation. ![]() TheSecond.org - Because it is our right! No members have liked this post.
|
#9
|
|||
|
|||
A million billion thanks to you LifesGreatestGift for your help.
Thank you sooooo much ![]() No members have liked this post.
|
#10
|
|||
|
|||
Sorry for disturbing you again. Can I create a featured members widget to include the same VIP group (group id = 10)?
Thanks ![]() No members have liked this post.
|
#11
|
||||
|
||||
what all do you want displayed? Username, register date? etc...
__________________
If I have helped you, the least you could do is click the ❤ button to show your appreciation. ![]() TheSecond.org - Because it is our right! No members have liked this post.
|
#12
|
|||
|
|||
No, just the username and the avatar for each member.
No members have liked this post.
|
#13
|
||||
|
||||
I found the solution for how to show random members with picture from specific group.
The following code will allow you to: 1- Show random members which have profile picture from specific group. 2- Clickable picture and username to go to member's profile page. Installation: 1- Go to Admin CP > vBulletin CMS > Widgets > create new widget. 2- Widget type > PHP Direct Execution . Title > Random Members . Description > Show random members. 3- Click save. 4- Then click configure and put the code below. Code:
Note: You can edit the amount of members you want to show by changing the $member_count from 3 to whatever value you want. Also you can change the usergroup_limit number to match the usergroup you want to display. 6 for example is Administrators. Reference: http://www.vbulletin.org/forum/showthread.php?t=235460 Finally: Share what you know, learn what you don't. Thanks No members have liked this post.
|
#14
|
||||
|
||||
Originally Posted by KimK
Please help me to get with this script and user custom fields, like location, Biography, etc..![]()
Thanks in advance. No members have liked this post.
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Show Thread Enhancements Show poll results in descending order | ForumsMods | vBulletin 4.x Add-ons | 19 | 30 Mar 2013 15:01 |
Mini Mods Show poll results in descending order 1.0 | ForumsMods | vBulletin 3.7 Add-ons | 9 | 01 May 2012 21:20 |
Show poll results in descending order | Andreas | vBulletin 3.0 Full Releases | 24 | 29 Oct 2007 23:17 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 22:50.