PDA

View Full Version : Forum Display Enhancements - Change new posts link color


pein87
23 Feb 2009, 20:27
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:

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

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

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)

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


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

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

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

adhmwagde
24 Feb 2009, 12:07
installed .. thanks man :)

pein87
24 Feb 2009, 17:51
Welcome thanks for installing if you need some help post and I`ll get right on it for you.

baghdad4ever
25 Feb 2009, 08:00
thanks

reserved

Sp32
10 Mar 2009, 03:23
installed, great idea, fairly easy, well done :)

marshal_ramdev
14 Mar 2009, 16:47
thank you :)

Jasem
19 Mar 2009, 21:22
Good work, thank you......

Installed

Alisa Lindsay
06 Aug 2009, 18:52
This mod looks good. Quick question before I try it...does it only change the color if the thread/post is New or does it also change the color if a post has been edited?

Log on
03 Sep 2009, 09:37
Great

a9eel
18 Jan 2010, 14:21
thnx

hayaldunya
28 Mar 2010, 08:24
thanks