Coloured Unread Forums and Topics

Guides & Snippets for phpBB3. Try the Snippets here and share Your own Snippets
There is no support here! Only Read Access!
heredia21
BBCoder IV
BBCoder IV
Posts: 179
Joined: 07 Apr 2010, 20:42
Contact:

Re: Coloured Unread Forums and Topics

Post by heredia21 »

The other 2 edits I did them from the other topic. Which was replace this with that. Here I only used the search and it didnt work.
#1 BlackBerry News site - BlackBerry Empire. Come visit us!
Kynetic
BBCoder II
BBCoder II
Posts: 23
Joined: 27 Apr 2010, 22:13
Contact:

Re: Coloured Unread Forums and Topics

Post by Kynetic »

Hi Stoker,

this tip works with subforum ? because i think it's really nice if it's working
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Coloured Unread Forums and Topics

Post by Stoker »

Yes it works with subforums.
But the subforum name will not be coloured, the main forum name will.
Board rules! No PM support
heredia21
BBCoder IV
BBCoder IV
Posts: 179
Joined: 07 Apr 2010, 20:42
Contact:

Re: Coloured Unread Forums and Topics

Post by heredia21 »

Maybe it doesnt work because im using GlossyBlack? Even though unread topics and forums change color. Just not search!
#1 BlackBerry News site - BlackBerry Empire. Come visit us!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Coloured Unread Forums and Topics

Post by Stoker »

No, that part is not working because you didnt follow the instructions and my later advice which was to start over with a fresh file.
There is no errors in the install instructions and it must be done exactly as instructed.
Board rules! No PM support
heredia21
BBCoder IV
BBCoder IV
Posts: 179
Joined: 07 Apr 2010, 20:42
Contact:

Re: Coloured Unread Forums and Topics

Post by heredia21 »

I restarted with a fresh file. Still nothing. Guess ill check again..
#1 BlackBerry News site - BlackBerry Empire. Come visit us!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Coloured Unread Forums and Topics

Post by Stoker »

You are missing a >
Find this:

Code: Select all

<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle"><!-- IF topicrow.S_UNREAD_TOPIC --> style="color:#FF0000;"<!-- ENDIF -->{searchresults.TOPIC_TITLE}</a>
replace with:

Code: Select all

<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle"><!-- IF topicrow.S_UNREAD_TOPIC --> style="color:#FF0000;"<!-- ENDIF -->>{searchresults.TOPIC_TITLE}</a>
Board rules! No PM support
heredia21
BBCoder IV
BBCoder IV
Posts: 179
Joined: 07 Apr 2010, 20:42
Contact:

Re: Coloured Unread Forums and Topics

Post by heredia21 »

That actually caused an extra > before the topic title in view new post. Does it matter that im using GlossyBlack systel?
#1 BlackBerry News site - BlackBerry Empire. Come visit us!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Coloured Unread Forums and Topics

Post by Stoker »

heredia21 wrote:That actually caused an extra > before the topic title in view new post
My mistake, use this:

Code: Select all

<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle"<!-- IF searchresults.S_UNREAD_TOPIC --> style="color:#b22222;"<!-- ENDIF -->>{searchresults.TOPIC_TITLE}</a>
Board rules! No PM support
heredia21
BBCoder IV
BBCoder IV
Posts: 179
Joined: 07 Apr 2010, 20:42
Contact:

Re: Coloured Unread Forums and Topics

Post by heredia21 »

Finally!. Thanks
#1 BlackBerry News site - BlackBerry Empire. Come visit us!
Locked