The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Case Statement with UserID
Hello,
I cannot find a plugin that will allow us to change the color of different users without placing them in their own separate, secondary usergroup. So my idea was to place this code in the postbit and just edit accordingly. It will basically just change the span around the username based on their UserID. Your help with this would be greatly appreciated: Code:
<?php switch ($bbuserinfo['userid']) { case 0: <span style="color: #ffeab1;">; case 1: <span style="color: #ffeab1;">; case 2: <span style="color: #ffeab1;">; default: <span>; } ?> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|