Helpful Information
 
 
Category: vBulletin 5.x Template Modifications
Show Thread Enhancements - New Post Indicators

This has been tested to work in 5.0.0 and 5.0.1.

How to install Unread Icons for vBulletin 5.0.1

If you wish to use the full icon overlay:
Step 1: Adding CSS
Add the following to css_additional.css

.z-unread-icon {
float: right;
margin-top: -45px;
position: relative;
right: 75px;
top: 52px;
z-index: 1;
}
Step 2: Adding Code
Find the following code in display_contenttype_conversationreply_threadview_Text template
{vb:set postStatus, ''}

Right after this line, add on its own line


<vb:if condition="$user['lastvisit'] <= $conversation['created']"><div class="z-unread-icon"><img src="{vb:raw vboptions.bburl}/.././images/custom/unread-whatchamajigger4.png" alt="New since your last visit" title="New since your last visit" /></div></vb:if>



If you wish to use the icon in the background of the post instead of the overlay

Step 1: Adding CSS
Add the following to css_additional.css

.z-unread-bg-icon {
background-image: url({vb:raw vboptions.bburl}/.././images/custom/unread-background-majigger.png);
background-position: top right;
background-repeat: no-repeat;
}
Step 2: Adding Code
Find the following in display_contenttype_conversationreply_threadview_Text
<div class="list-item-body conversation-body">
Change it too
<div class="list-item-body conversation-body <vb:if condition="$user['lastvisit'] <= $conversation['created']">z-unread-bg-icon</vb:if>">

If you wish to use the “Spartan” style

Step 1: Adding CSS
Add the following to css_additional.css

.z-unread-bg-spartan {
background-image: url({vb:raw vboptions.bburl}/.././images/custom/unread-spartan-majigger.png);
background-position: top right;
background-repeat: no-repeat;
}

Step 2: Adding the code
Find the following in display_contenttype_conversationreply_threadview_Text
<div class="list-item-body conversation-body">
Change it too
<div class="list-item-body conversation-body <vb:if condition="$user['lastvisit'] <= $conversation['created']">z-unread-bg-spartan</vb:if>">

You need to also upload the icon you want to the images/custom folder

So will this be the solution for finding those unread posts/comments?

I hope to see it added back to the product. For the time being, this is how I'd take care of it.

Thank You ...

Is there a hack for New Post Indicators ?

Why would you need a hack?

Made a small change so people on 5.0.1 will be able to use it.

Should this work in 5.0.3

Should be fine, I'm working on a newer version of this, but this gets the basic across.

Couldn't make it work on 5.0.5.

Sorry to hear that, I'll see what I can do about getting a newer version out.

Hi Zachery,

Do you have a version of this mod for vBulletin 5.1.7?

I cannot find the following in display_contenttype_conversationreply_threadview_Text template:

<div class="list-item-body conversation-body">

If I can shake some free time this week, I'll work on updating it.

I'm Using 5.1.10 and it seems that there are Changes:
For full Icon Overlay I had to Use "display_contenttype_threadview_header" Template.
In this Template after

{vb:set postStatus, ''}

Insert

<vb:if condition="$user['lastvisit'] <= $conversation['created']"><div class="z-unread-icon"><img src="{vb:raw vboptions.bburl}/.././images/custom/unread-whatchamajigger4.png" alt="New since your last visit" title="New since your last visit" /></div></vb:if>




For Background/Spartan the Right Template should also be "display_contenttype_threadview_header"
I got it to work there, but NOT on the first Post of a thread. (Seens to be something with the Headline)
Find an Replace

<div class="b-post__body h-restore--on-preview h-padding-horiz-xxl h-padding-top-xl h-padding-bottom-m h-clearfix">

for Background with

<div class="b-post__body h-restore--on-preview h-padding-horiz-xxl h-padding-top-xl h-padding-bottom-m h-clearfix <vb:if condition="$user['lastvisit'] <= $conversation['created']">z-unread-bg-icon</vb:if>">

or for Spartan with

<div class="b-post__body h-restore--on-preview h-padding-horiz-xxl h-padding-top-xl h-padding-bottom-m h-clearfix <vb:if condition="$user['lastvisit'] <= $conversation['created']">-unread-bg-spartan</vb:if>">



Maybe this may help you all. And maybe there is someone who can figure out, how to use it on the first post.
Greetz

Is there a way to make it work on version 5.2.2?










privacy (GDPR)