The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Change this piece of code to include usergroup 17 and 6?
if ($post[usergroupid] == 18) { $premium = "<font size=\"2\" color=\"#9557F1\">Site Supporter</font><br><img src=\"images/supporter.gif\" border=0><br>"; } else { $premium = ""; } even better.... how would i do this + if they are not a supporter have a link show there-which says "become a supporting member" tx :knockedout: |
|
#2
|
||||
|
||||
|
Why not just add the same code twice more but add change the usergroup id from 18 and change it to what you want?
|
|
#3
|
|||
|
|||
|
Yep
tried that of course worked at first-then stopped working |
|
#4
|
|||
|
|||
|
bump
please?-i know it cant be hard.... hate to be a pain in the...... |
|
#5
|
|||
|
|||
|
i got it
if ($post[usergroupid] == 17 or $post[usergroupid] ==6 or $post[usergroupid] ==18) { $premium = "<font size=\"2\" color=\"#9557F1\">Site Supporter</font><br><img src=\"images/supporter.gif\" border=0><br>"; } else { $premium = ""; } tx anyway |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|