1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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

Discussion in 'Add-on Releases [Archive]' started by ragtek, Jan 9, 2011.

  1. ragtek

    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
     

    Attached Files:

    Dan, Vodkaholic, ajnos and 4 others like this.
  2. CyberAP

    CyberAP Well-Known Member

    Under the forum list. Or in sidebar.
     
  3. Cory Booth

    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
     
  4. Shelley

    Shelley Well-Known Member

    How about by the username (to the right) in the navbar reading "unread posts X"?
     
  5. yavuz

    yavuz Well-Known Member

    Naa, I don't see the need for it. The alert system is pretty much clear the way it is.
     
  6. Shelley

    Shelley Well-Known Member

    Possibly even adding it in navbar Forum >> div class="tabLinks"
     
  7. CyberAP

    CyberAP Well-Known Member

  8. Russ

    Russ Well-Known Member

    next to what's new :)
     
  9. Kaiser

    Kaiser Well-Known Member

  10. ragtek

    ragtek Guest

    I like this too, but the sidebar isn't vissible on all pages.

    OK, i'll make it under the navbar (as it was in the past^^ )
     
  11. Brogan

    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.
     
    dieketzer, FredC and Daracon like this.
  12. Andy.N

    Andy.N Well-Known Member

    What's New? (89 unread posts)
     
  13. CFodder

    CFodder Well-Known Member

    Call me thick, but where's the download for this?
     
    makdeniss likes this.
  14. makdeniss

    makdeniss Active Member

    I don't see the download also. Very useful add-on :)
     
  15. ragtek

    ragtek Guest

  16. makdeniss

    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?
     
  17. makdeniss

    makdeniss Active Member

    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. :)
     
    Digital Doctor likes this.
  18. ragtek

    ragtek Guest

    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)

    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 likes this.
  19. makdeniss

    makdeniss Active Member

    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 :)
     
  20. ragtek

    ragtek Guest

    I've edited my post;)
    =>
     
    makdeniss likes this.

Share This Page