PDA

View Full Version : Forum Display Enhancements - TDT - Set Title Color for Each Thread


tackebong
02-05-2008, 10:00 PM
Import Product
Default: only MOD,SMOD,Admin can use this hack.
If you want change it, please edit file, find
<if condition="($bbuserinfo[usergroupid] == 6)|($bbuserinfo[usergroupid] == 5)|($bbuserinfo[usergroupid] == 7)">
and delete or add other condition.

edit template threadbit
find
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> replace with
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if> style="color: $thread[threadcolor];">$thread[threadtitle]</a>Done!

Sofia
02-06-2008, 03:48 PM
Good idea !

I think you should integrate usergroups permissions to change title colors.

But good hack ;)

Soonerdude
02-06-2008, 03:54 PM
Yes, if this could be set so that only admins could change colors, I'd install it.

tackebong
02-06-2008, 03:57 PM
oh yes, my code has permission, only MOD,SMOD and Admin can use this hack

Default: only MOD,SMOD,Admin can use this hack.
If you want change it, please edit file, find
<if condition="($bbuserinfo[usergroupid] == 6)|($bbuserinfo[usergroupid] == 5)|($bbuserinfo[usergroupid] == 7)">
and delete or add other condition.

CLF
02-06-2008, 04:13 PM
It would be much nicer if you could make some sort of a drop-down menu with color selection instead of typing it. Still, I like the idea. Good luck :)

tackebong
02-06-2008, 04:24 PM
It would be much nicer if you could make some sort of a drop-down menu with color selection instead of typing it. Still, I like the idea. Good luck
Thanks. good ideal :)

iogames
02-06-2008, 04:41 PM
Good idea !

I think you should integrate usergroups permissions to change title colors.

But good hack ;)

I was thinking the same, what about title and CSS?

Chachacha
02-06-2008, 05:00 PM
It would be much nicer if you could make some sort of a drop-down menu with color selection instead of typing it. Still, I like the idea. Good luck :)

I agree... and the colors should be editable via the admin cp to prevent the use of colors that will look bad with forum skins. For example, My board uses a dark skin (dark gray)... and if someone uses black for their thread title, it will be an eye sore (hard to read and just plain ugly). For light themes (like the vb default skin), if someone makes their thread title color WHITE, it will be pretty much invisible because it will blend in with the background.

If this can be achieved, I'll gladly install this mod.

tackebong
02-06-2008, 05:11 PM
I agree... and the colors should be editable via the admin cp to prevent the use of colors that will look bad with forum skins. For example, My board uses a dark skin (dark gray)... and if someone uses black for their thread title, it will be an eye sore (hard to read and just plain ugly). For light themes (like the vb default skin), if someone makes their thread title color WHITE, it will be pretty much invisible because it will blend in with the background.
Thanks. with problem, i think only allow use medium color :D ex: green, red, blue, orange...etc ^^ dont use light or dark color ^^

Chachacha
02-06-2008, 07:29 PM
Thanks. with problem, i think only allow use medium color :D ex: green, red, blue, orange...etc ^^ dont use light or dark color ^^

That sounds good.

music legend
02-09-2008, 01:30 PM
yeah a drop down box with the colors would be awesome

Soonerdude
02-12-2008, 06:37 PM
The title only appears to be colored if the thread has been visited, it goes to default color when there is a new post within the thread.

music legend
02-12-2008, 06:45 PM
The title only appears to be colored if the thread has been visited, it goes to default color when there is a new post within the thread.

yeah their are still some bugs in this that hopefully the developer can work out

codershark
05-05-2008, 11:50 AM
dont works on 3.7 :(

mhmd1983
05-05-2008, 12:59 PM
doesn't work good with these bugs

arauf
09-22-2008, 12:29 AM
its not workin for 3.7 :(

Butzel
03-12-2010, 09:29 PM
it is not working with 3.8.4

Exists another to work with 3.8.4 ???

Thx

ruchemist
03-31-2010, 11:51 AM
I am also looking for the same mod for 3.8.4

Manoel J?nior
07-19-2011, 01:13 AM
I need a similar code, I need this code instead of changing the color of the title change the ThreadBackground Colors

How do I?

Manoel J?nior
07-21-2011, 01:27 AM
Nobody to help?