Back to vBulletin 3.8 Template Modifications

Change new posts link color
Mod Version: 1.00, by pein87

vB Version: 3.8.1 Rating: (1 vote - 5.00 average) Installs: 29
Released: 23 Feb 2009 Last Update: Never Downloads: 114
Not Supported Template Edits Re-usable Code  

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
Find in:

PHP Code:
style="font-weight:bold" 
Replace with:

PHP Code:
style="font-weight:bold; color:#000000;" 
SPECAIL NOTE * swicth the color to your own color I choose black because its a dark color and easy to see on white.

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&amp;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
Find in:

PHP Code:
style="white-space:nowrap" 
Replace with:

PHP Code:
style="white-space:nowrap; color:#000000;" 
and your done now your links color will change color if theres a new unread thread on both forumdisplay.php and index.php

Download

File Type: %1$s linkcolorchange.txt (2.2 KB, 117 downloads)

Screenshots

Click image for larger version
Name:	linkchange.jpg
Views:	1214
Size:	38.6 KB
ID:	95389   Click image for larger version
Name:	linkchange2.jpg
Views:	1283
Size:	40.2 KB
ID:	95390   Click image for larger version
Name:	linkchange3.jpg
Views:	854
Size:	19.3 KB
ID:	95391  


vblts.ru supports vBulletin®, 2022-2024