The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
how do I show an icon under the avatar of a member of a usergroup?
I would like this anywhere the avatar shows. (showthread, profile, etc)
If a member is included, either primary or additional, in a specific usergroup, I want to show an icon or image or text below the avatar. How can I do this? Thanks! |
#2
|
||||
|
||||
Sounds like you want to use User Ranks
|
#3
|
||||
|
||||
I tried that, it won't work when a member is part of multiple usergorups.
I want a custom template edit to show a specific image if a user is a member of a usergroup. --------------- Added [DATE]1265838243[/DATE] at [TIME]1265838243[/TIME] --------------- example my mods want their name bold, and if they are part of a userrank VIP, they have to choose one or the other. If they are primary usergroup A, and also part of usergroup B, I want usergroup B to simply display an icon. Custom template edit needed I believe. |
#4
|
||||
|
||||
I'm guessing you would have several conditions using is_member_of to check if the user is a member of a specific usergroup.
|
#5
|
||||
|
||||
Quote:
I know I want to do this, I've been trying for a while now! --------------- Added [DATE]1265899981[/DATE] at [TIME]1265899981[/TIME] --------------- If a member has Skype, there's a way to show that particular user's Skype under their avatar.. I don't understand why this is such a difficult thing to accomplish. |
#6
|
||||
|
||||
Anyone else? Or Lynne, do you have any other ideas? you're a fricking wizard at this vb stuff
|
#7
|
||||
|
||||
I don't really have any ideas. If I were to do this, I'd either write a plugin or a template condition using is_member_of, as I mentioned above. From your desciption of what you want, it sounds like that would be the way to go.
PHP Code:
|
#8
|
||||
|
||||
I learned a long time ago not to try to do things people with much more skill than I do not know how to do... this definitely falls in that category. If YOU don't understand how to do it, I'm just going to break my forum trying to make it work.
The similar threads function shows this: https://vborg.vbsupport.ru/showthread.php?t=61305 Which seems to address the issue, but there is no "includes/functions_showthread.php" in vb 4.x WarriorForums has ths feature that I'm trying to accomplish - war room members show the user rank under the username, AND display a badge if the member is a War Room member. I know it's possible, I just have no idea how to do it! |
#9
|
||||
|
||||
I haven't tried the code at all, so I'm not about to say it will work. I still don't understand why stacked ranks can't be used, so I feel I must be missing something in your problem.
|
#10
|
||||
|
||||
You are right, Lynne - I figured it out.
There was a problem in my template... once I fixed that, I enabled a couple more user ranks, moved the userrank location, and set them all to "can override = no" or something similar... and they show up regardless of moderator usertitle etc. Thank you! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|