![]() |
Trying to color everything, LOL
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 |
Quote:
PHP Code:
|
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:
|
why dont you install the colored ONLINE USERS Hack?
is that what your trying to do? or in the postbit too? |
in forumdisplay.. so were talkin somthing completely different!
I tried all the whos online hacks, and users browsing format ;) |
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:
|
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. :( |
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:
|
you can decreasing the ammount of queries by adding some sort of hashing:
instead of PHP Code:
PHP Code:
|
ignore that, why not just using a JOIN query ;)
just find: PHP Code:
PHP Code:
|
All times are GMT. The time now is 11:33 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:
|