The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Username Plugin for support acknowledgement?
Hi all
If I wanted to add a small pic to each of the usernames on my site who have donated for instance in recognition of their support of a donation..how would I do that? Is there a hack for it by any chance for 3.5? I've had a look around by could'nt find anything Thank you AM Guvnor |
#2
|
||||
|
||||
For these users who are donated, are they in a special usergroup aside from normal members?
|
#3
|
||||
|
||||
Hey Zach, thanks for taking the time to reply
They will be-yes. As its easy to add/remove and I will obviously be updated when people donate to the forum |
#4
|
||||
|
||||
Then,
<if condition="is_member_of($post, X)"> <img src="code to image here" alt="something nice" border="0" /> </if> Change X to whatever the usergroup id is and add that to the postbit template whereever you want it to display. Do you only need it displayed to you? |
#5
|
||||
|
||||
Hi Zach, thanks again
I need to have it viewable to the other members as well (to highlight those who have bothered to contribute to the forum!) Where does that code need to go?! Aaah! LOL Is there not a simple plugin/product for this? Although I can probably cope with placing that code in (so long as I know where it goes) |
#6
|
||||
|
||||
This is the easiest way to do it.
AdminCP > Styles & Templates > Style Manager > If your postbit looks more like vbulletin.orgs edit the postbit_legacy template If your postbit looks more like vBulletin.coms edit the postbit template find $post[posts] Around there you should add my code; |
#7
|
||||
|
||||
Hey Zack, I whacked the code in but nothing displayed apart from the code in the usernames postbit
Here is the code I inserted <if condition="is_member_of($post, 10)">img src="http://www.alphamen.co.uk/forum/images/alphamensupporter.gif" alt="something nice" border="0" /> </if> Any ideas why its not showing? I expect its something Ive done wrong! LOL |
#8
|
||||
|
||||
Theres the whole missing < on your img tag
|
#9
|
||||
|
||||
Zach, fixed it Thanks very much for your help. It is greatly appreciated
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|