Change new posts link color
Yet again another simple mod that you can use to change the links of your new posts color. You can also change the individual color of the thread on index.php.
This time no bothersome alexD on this one lol. ######################################### # changing a new threads color on index and forumdisplay # # copy right blue phoenix 2008-2009 edit by: pein87 # # edit covers 3.8.x versions and is untested on 3.7.x # ######################################### This template edit allows you to change the color of your threads when they have a new post or the thread has is new I've gotten it to work on both the forumdisplay.php and on index.php. ------------------------------- Open the "threadbit" template to the style you wish to do this edit on. Find: PHP Code:
<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>
PHP Code:
style="font-weight:bold"
PHP Code:
style="font-weight:bold; color:#000000;"
Example with a html color name (linkchange2.jpg) PHP Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold; color:red;"</if>>$thread[threadtitle]</a>
Adding this to index.php is another simple edit open the template "forumhome_lastpostby" find: PHP Code:
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" style="white-space:nowrap" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
PHP Code:
style="white-space:nowrap"
PHP Code:
style="white-space:nowrap; color:#000000;"
Download
linkcolorchange.txt (2.2 KB, 117 downloads) Screenshots |