############################################################## ## MOD Title: Topic Starter's Cell Color ## MOD Author: Goxu ## MOD Description: Changes the topic starter's cell background colors in the topic view. ## ## MOD Version: 1.0.0 ## ## Installation Level: Easy ## Installation Time: 3 Minutes ## Files To Edit: ## viewtopic.php ## templates\subSilver\overall_header.tpl OR template\*\*.css ## ############################################################## ## Author Notes: This is my second MOD. :) ## ## Congfigutation; The default color for the topic starter's cell back ground color is set, #ECE3DF. ## Please change it within the { background-color: #ECE3DF; } to what ever you wish. ## ############################################################## ## MOD History: ## ## 1.0.0 : released on 10/21/06 ## ## ############################################################## ## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD ############################################################## # # ------- [ OPEN]------------------------ # viewtopic.php # # ------- [ FIND ]------------------------ # $sql = "SELECT t.topic_id, # # ------- [ INLINE FIND ]------------------------ # t.topic_last_post_id, # # ------- [ AFTER, ADD ]------------------------ # t.topic_poster, # # ------- [ FIND ]------------------------ # $forum_id = intval($forum_topic_data[ 'forum_id']); # # ------- [ AFTER, ADD ]------------------------ # //Topic Starter's Cell Color MOD $topic_poster = $forum_topic_data[ 'topic_poster']; # # ------- [ FIND ]------------------------ # $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; # # ------- [ Replace it With ]------------------------ # //$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2']; # ------- [ AFTER, ADD ]------------------------ # //Topic Starter's Cell Color MOD $row_class = ($poster_id == $topic_poster && $postrow[$i]['post_id']) ? ts : $theme['td_class2']; # # ------- [ Only For subSllver Users, OPEN ]------------------------ # templates\subSilver\overall_header.tpl # # ------- [ FIND ]------------------------ # td.row3 { background-color: {T_TR_COLOR3}; } # # ------- [ AFTER, ADD ]------------------------ # *change the #ECE3DF to whatever color you wish td.ts { background-color: #ECE3DF; } # # ------- [ ONLY THOSE WHO USE OTHER SKINS, OPEN ]------------------------ # your skin's css file located under the template\yourskin # # ------- [ FIND ]------------------------ # td.row3 # # ------- [ BELOW the } of the td.row3, ADD ]------------------------ # *change the #ECE3DF to whatever color you wish td.ts { background-color: #ECE3DF; } # # ------- [ EOM ]------------------------ # #Save and close all files