• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

ragtek Unread Thread Counter

R

ragtek

Guest
This Add-on shows the unread thread counter. (adds 1 sql-query to every pageload in the frontend)

Installation:
  • Upload everything from the "upload" directory into your forum directory (if you get a message, that some files could be overwritten, don't be afraid. This are only helperfiles from other add-ons of me. So you don't overwrite anything from xenforo or other 3rd party add-ons!
  • install addon.xml
  • edit PAGE_CONTAINER Template (instructions below)
Template edit:

Open Template "PAGE_CONTAINER"
Search for:

<!-- main content area -->
<xen:if is="{$sidebar}">
<div class="mainContainer">
<div class="mainContent"></xen:if>

Add under this:

<xen:include template="ragtek_unreadPosts" />

pos2.PNG
 

Attachments

  • ragtek Unread Thread Counter_4.zip
    26.7 KB · Views: 53

Cory Booth

Well-known member
Hmmm... I think if as an alert it may be confusing for users (and also get their hopes up if they are waiting for a PM or something)...
I say under the NAVBAR
 

yavuz

Well-known member
Naa, I don't see the need for it. The alert system is pretty much clear the way it is.
 

Brogan

XenForo moderator
Staff member
I personally would have it on the lower half of the navigation bar next to What's New?

That would seem to be the most logical place for it as it is purely a forum related metric and not a top level menu.
 

makdeniss

Active member
You should mention, that if somebody is installing this add-on and if they have your previous add-ons installed they shouldn't be afraid of overwriting/or skipping the procedures of overwriting / uploading files. Because the files are the same?
 
R

ragtek

Guest
You should mention, that if somebody is installing this add-on and if they have your previous add-ons installed they shouldn't be afraid of overwriting/or skipping the procedures of overwriting / uploading files. Because the files are the same?
Yes, thx for this.

And just a small suggestion: It shouldn't display the line at all, if there are no unread posts. In my view that would be more convenient.
No, i don't like this.
I had this in my vB Add-on, but it was very strange, because it affects the page hight.
If there are unread posts, the page is higher because of the box, and this had some sideaffects with some designs (hope you know what i mean)

BUUUUUUUUT
XenForo is also hidding/showing the box under the navbar so i don't think there should be some problems.
I'll implement it in a feature version
 

makdeniss

Active member
Yes, thx for this.


No, i don't like this.
I had this in my vB Add-on, but it was very strange, because it affects the page hight.
If there are unread posts, the page is higher because of the box, and this had some sideaffects with some designs (hope you know what i mean)
Yep, I understand what you mean. But maybe then choose another location? I myself am really distracted by the orange sign saying 0 unread posts... Just my two cents. :)
Thanks for the add-on, very useful :)
 
R

ragtek

Guest
Yep, I understand what you mean. But maybe than choose another location? I myself am really distracted by the orange sign saying 0 unread posts... Just my two cents. :)
Thanks for the add-on, very useful :)
I've edited my post;)
=>
BUUUUUUUUTXenForo is also hidding/showing the box under the navbar so i don't think there should be some problems.
I'll implement it in a feature version
 
Top