The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Supporting Member hack?
i'm looking for a hack that will display something like 'Supporting Member' with an icon under a user's name, in order to tell who has donated to the site.
i couldn't find anything here, but i've seen this up and running. see here. example in the attachment. it also shows up as a line in a user's profile. |
#2
|
||||
|
||||
Quote:
Then, add a template conditional to the postbit, saying something like: HTML Code:
<if condition="$post[usergroupid] == x">Supporting Member</if> |
#3
|
|||
|
|||
Quote:
thanks for the tip. sounds good, but when i tried to implement it, it showed up on all posts. i added a 'Supporting Member' usergroup, and here's the code i used: HTML Code:
<if condition="$post[usergroupid] == Supporting Member">__________<br><b>Supporting Member </b><IMG SRC="http://www.thebreakfast.info/forum/images/supportmoney.gif" align=absmiddle></if> thanks again! |
#4
|
||||
|
||||
Quote:
You'll have to exchange the x not with Supporting Member, but with the usergroupid of that usergroup. It would then look something like: "$post[usergroupid] == 9" |
#5
|
|||
|
|||
Colin,
Just changed it to reflect the usergroupid, and i'm getting the same results. Are there any other changes I nees to make? HTML Code:
<if condition="$post[usergroupid] == 10">__________<br><b>Supporting Member </b><IMG SRC="http://www.thebreakfast.info/forum/images/supportmoney.gif" align=absmiddle></if> |
#6
|
|||
|
|||
colin (or anyone else),
this code is still not working for me - showing up for every member when i put it in. any ideas on how to make it work? (btw, i'm running 2.3.5) thanks.. |
#7
|
||||
|
||||
Well Colin, this is the vB2 code modification section
vB 2.x does not support <if ...> If you want smth. similar for vB 2.x take a look at https://vborg.vbsupport.ru/showthread.php?t=43325 Btw: I'd recommend to upgrade to vB3 - the code is much better. |
#8
|
|||
|
|||
Quote:
thanks for the tip. thought i was going nuts! |
#9
|
||||
|
||||
Sorry about that mkdevo.
I generally go over the new posts link, and that doesn't show me it's vB2. Once you've upgraded to vB3, the above code should work though |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|