![]() |
How do I?
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: |
Why not just add the same code twice more but add change the usergroup id from 18 and change it to what you want?
|
Yep
tried that of course worked at first-then stopped working |
bump
please?-i know it cant be hard.... hate to be a pain in the...... |
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 |
All times are GMT. The time now is 02:08 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|