The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
i want to add an image button in the profile of my staff members but i'm not sure how to do it, i'm not sure if it would require a hack/mod or not. can anyone help?
|
|
#2
|
||||
|
||||
|
Do you want this to display just in the profile of the user? Would most likely require a hack to do so.
|
|
#3
|
|||
|
|||
|
yes just in the profile under the usersname
|
|
#4
|
|||
|
|||
|
anyone?
|
|
#5
|
|||
|
|||
|
Quote:
So in your Member Info Template [MEMBER_INFO] maybe something like: Code:
<if condition="$bbuserinfo[usergroupid]==6"> ADMIN </if> |
|
#6
|
|||
|
|||
|
i'm not sure i understand
Where in the MEMBER_INFO template would i put that? & Would i just replace "ADMIN" with the image button i wanna use? |
|
#7
|
|||
|
|||
|
help? anyone?
|
|
#8
|
|||
|
|||
|
I don't think that above code will work since bbuserinfo refers to the current user, not the one you're viewing.
|
|
#9
|
|||
|
|||
|
Quote:
In the MEMBERINFO template Search for: Code:
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if> Add Underneath Code:
<if condition="$userinfo[usergroupid]==6"> <div class="smallfont"><img src="images/misc/admin.gif"></div> </if>
|
|
#10
|
|||
|
|||
|
it's does not show in there profile to the left when they post.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|