View Full Version : Thread title colour in search results
iskandarreza
02-02-2010, 04:32 PM
Hello, how do I go about changing the colour of the thread titles in the search results based on its forumid? Like for example, say that this board is my board. I want users to be able to click on the New Posts link at the top there (search.php?do=getnew) and get the server to list the new posts in a colour-coded fashion so that for example posts in vbulletin3 stuff are pink and posts in vbulletin4 are yellow and so on. I know it's not really something simple, that's why I've got to ask here; I'm not sure where to start.
Marco van Herwaarden
02-03-2010, 08:23 AM
Hmm interesting idea, but i haven't seen a solution for this yet.
Hell Bomb
02-03-2010, 04:18 PM
Well it may not be a "great" solution but you can use alot of <if> statements. so if forum id = 13 background color =#10101 or something, that is not code just an example if i have time tonight ill look into it, might be a worth while mod.
Marco van Herwaarden
02-04-2010, 08:48 AM
If someone would create a mdoification for this, i think it would make sense to add a column to the forum table with the color code to be used for threads from that forum.
Or an array in vB Settings with forumid->color.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.