Coloured Unread Forums and Topics

Guides & Snippets for phpBB3.
Try the Snippets here and share Your own Snippets

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.

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

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.

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!

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.

Re: Coloured Unread Forums and Topics

Post by heredia21 »

I restarted with a fresh file. Still nothing. Guess ill check again..

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>

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?

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>

Re: Coloured Unread Forums and Topics

Post by heredia21 »

Finally!. Thanks