Unread Post Count

Unread Post Count 1.2.0

No permission to download
Did you try to edit the template like I tried it, this made it compatible with the IE, where I had problems before.
 
@Chris Deeming, do you know by any chance how I can make this addon work with XenPorta?
I do believe What's New has been replaced with New Posts now. Unfortunately @Jaxel has not made any updates from his end.
 
@Chris Deeming, do you know by any chance how I can make this addon work with XenPorta?
I do believe What's New has been replaced with New Posts now. Unfortunately @Jaxel has not made any updates from his end.
Replace EWRporta_Navtabs template content with
Code:
<ul class="secondaryContent blockLinksList">
    <xen:if is="{$visitor.user_id}"><li><a href="{xen:link 'watched/threads'}">{xen:phrase watched_threads}</a></li></xen:if>
    <li><a href="{xen:link 'recent-activity'}">{xen:phrase recent_activity}</a></li>
    <li><a href="{xen:link 'find-new/posts'}" rel="nofollow">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}<xen:include template="unread_posts_count" /></a></li>
    <xen:if is="{$perms.custom}">
        <li style="width: 50px; height: 10px;"></li>
        <li><a href="{xen:link 'portal/blocks'}">{xen:phrase customize_this_page}</a></li>
    </xen:if>
</ul>
 
Replace EWRporta_Navtabs template content with
Code:
<ul class="secondaryContent blockLinksList">
    <xen:if is="{$visitor.user_id}"><li><a href="{xen:link 'watched/threads'}">{xen:phrase watched_threads}</a></li></xen:if>
    <li><a href="{xen:link 'recent-activity'}">{xen:phrase recent_activity}</a></li>
    <li><a href="{xen:link 'find-new/posts'}" rel="nofollow">{xen:if $visitor.user_id, {xen:phrase new_posts}, {xen:phrase recent_posts}}<xen:include template="unread_posts_count" /></a></li>
    <xen:if is="{$perms.custom}">
        <li style="width: 50px; height: 10px;"></li>
        <li><a href="{xen:link 'portal/blocks'}">{xen:phrase customize_this_page}</a></li>
    </xen:if>
</ul>

Sweet, thanks Andy!
I tried to change the new_posts phase, but wasn't sure how to make unread post count work.
Really appreciate the help!
 
Sweet, thanks Andy!
I tried to change the new_posts phase, but wasn't sure how to make unread post count work.
Really appreciate the help!
This is no rocket science stuff. I just need to hunt down where that phrase was used on EWR and modify it for my needs.
 
It is possible but I probably won't be. It's quite a big job and I don't have any time for custom work at the moment.
 
I'm probably going to feel stupid when I get the answer to this, but aren't there supposed to be admincp options for this add-on? I've combed admincp from stem to stern and cannot find them. The add-on is working fine, btw. But from studying the XML, it looks like there is supposed to be a forum chooser and perhaps a few other options for this add-on but I'm unable to find them. Thanks!
 
Nope. No Admin CP options at all.

I just checked the XML and there is indeed an admin template for picking a forum but during development we decided that it was superfluous.

Instead we just show the count from all public forums.
 
For spectrum, here's my fix.
HTML:
/* unread count fix */
#unreadPostsCount .itemCount{
margin: -22px -3px 0 4px;
}
.JsOnly .blockLinksList li #unreadPostsCount .itemCount{
margin: 0px!important;
}
 
@Chris Deeming - am I correct that this will show "new" posts since a members last login or visit?

Also - I don't have a what's new- can "unread posts" be added next to username- alerts area?

Thanks.
 
@Chris Deeming - am I correct that this will show "new" posts since a members last login or visit?

Also - I don't have a what's new- can "unread posts" be added next to username- alerts area?

Thanks.
Yes, this add-on will show a count for new posts since a members last login/visit.

In Xenforo 1.2 "What's New?" was replaced by "New Posts". I can see you have this from your screenshot in your post here.
 
Back
Top Bottom