The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
If a member is in a certain Group I created I want them to have a little image next to there name like this site:
http://www.pirate4x4.com/forum/showt...threadid=70173 Notice the little red star next to a few names? How do I do this? |
|
#2
|
||||
|
||||
|
huh... that site has nothing special... its normal default vbulletin
|
|
#3
|
|||
|
|||
|
See how the user DRM has a little star next to his name? I want to be able to do that to a certain group.
|
|
#4
|
||||
|
||||
|
open functions.php
find: PHP Code:
after it add: PHP Code:
|
|
#5
|
|||
|
|||
|
That puts the image on the left of their name. How do I get it so it's:
Name <space> Image |
|
#6
|
|||
|
|||
|
just change Xenon's code around...
And swap the image and the $post[username] ![]() g-force2k2 |
|
#7
|
|||
|
|||
|
Such as:
if($post[usergroupid]==9) $post[username].$post[username]="<img src=jeep.gif>"; That just adds the image and does not show the username. |
|
#8
|
|||
|
|||
|
try
PHP Code:
g-force2k2 |
|
#9
|
||||
|
||||
|
you mean:
PHP Code:
|
|
#10
|
|||
|
|||
|
Newbie Q: How do I find the user group ID #?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|