The Arcive of vBulletin Modifications Site. |
|
Trying to color everything, LOL Details »»
|
|||||||||||||||||||||||||
Okay, well im trying to colorize the thread starter in forumdisplay based on the usergroup that member is in. The original code in forumdisplay.php is this:
PHP Code:
PHP Code:
![]() -myles Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Quote:
PHP Code:
|
|
#3
|
||||
|
||||
|
grrrrrr no that didnt work.. huh
is there anyway I could establish the usercolor some other way.. and call it into the code.. like.. PHP Code:
|
|
#4
|
||||
|
||||
|
why dont you install the colored ONLINE USERS Hack?
is that what your trying to do? or in the postbit too? |
|
#5
|
||||
|
||||
|
in forumdisplay.. so were talkin somthing completely different!
I tried all the whos online hacks, and users browsing format
|
|
#6
|
||||
|
||||
|
it can't show another color than blue, becaue your variable $userinfo isn't defined in forumdisplay, so the script allways runs the else condition.
you have to add a query to get $userinfo, or it would be impossible: PHP Code:
|
|
#7
|
||||
|
||||
|
EEP! 57 queries..
but yeah thx for the shot, but im still not getting any colorednames.. huh they just look normal as if the color wasnt working at all. uhhhhh, damn.
|
|
#8
|
||||
|
||||
|
Xenon I was wrong, your code was right, you html just off, to colorize links you need to include the font next to the actaully text inside the hyperlink... I tweaked the code to get what I like, thx man, and thx for ur guys help
![]() PHP Code:
|
|
#9
|
||||
|
||||
|
you can decreasing the ammount of queries by adding some sort of hashing:
instead of PHP Code:
PHP Code:
|
|
#10
|
||||
|
||||
|
ignore that, why not just using a JOIN query
![]() just find: PHP Code:
PHP Code:
|
![]() |
|
|