The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
colored usernames in postbit
okay I used to use one of the 5 colored username hacks out there, but now on 2.2.6 I get some werid unexpected T error. anyone know how I can make my users names a color just based on their usergroup, I KNOW this isnt hard here ppl!
this is what I was using, but im getting errors with it, anyone see the problem? this is in functions, just under the buildpostbit. does anyone know how so code it so it shows my 6,5,7 user groups their color, and ANY other usergroup no matter the number is one way? cuz its annoying to have to add a new blue usergroup everytime I make a new usergroup. here is the code... PHP Code:
Parse error: parse error, unexpected T_STRING in /home/form-kao/public_html/board/admin/functions.php on line 72 Fatal error: Call to undefined function: getuserinfo() in /home/form-kao/public_html/board/admin/sessions.php on line 324 spanks, /me |
#2
|
||||
|
||||
not related to vb version..Code syntax is wrong. You need to escape some "s inside your code. You should use this one:
PHP Code:
PHP Code:
|
#3
|
||||
|
||||
eek, haha noob mistake I guess
thanks man, I used your optimized one lol and edited it a tad works great, thx man |
#4
|
||||
|
||||
I can't seem to get this code to work anymore..
hummmm, I get some T_STRING error |
#5
|
||||
|
||||
please post the exact errormsg and the code you use now
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|