1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unread Post Count 1.2.0

Displays a count of the current number of unread posts over the "New Posts" link

  1. Chris D

    Chris D XenForo Developer Staff Member

    Chris Deeming submitted a new resource:

    Unread Post Count - Displays a count of the current number of unread posts over the "What's New?" link

    Read more about this resource...
    SneakyDave and Shelley like this.
  2. RoldanLT

    RoldanLT Well-Known Member

    I couldn't download the attachment :(
  3. Chris D

    Chris D XenForo Developer Staff Member

    It works for me.

    Would you like to be more specific as to what's happening? Error message? Anything?
  4. RoldanLT

    RoldanLT Well-Known Member

    Download just appear as you replied.
  5. IcEWoLF

    IcEWoLF Well-Known Member

    Amazing mod, thank you so much Chris!
  6. IcEWoLF

    IcEWoLF Well-Known Member

    Chris, is there a way for the counter to disappear when there are 0 unread posts?
  7. speedway

    speedway Well-Known Member

    Cool little addon, thanks Chris. One small issue on my style, I need to move it up:

    Screen shot 2013-05-24 at 10.19.15 AM.png

    Tried setting a negative top value in unread_posts_count.css under itemCount_alert but nothing happened? Any pointers to curing this hiccup?

  8. speedway

    speedway Well-Known Member

    OK, really weird; The image above is Chrome (Mac)
    This is FireFox 21 Mac:

    Screen shot 2013-05-24 at 10.37.56 AM.png

    This is Safari Mac:

    Screen shot 2013-05-24 at 10.38.05 AM.png

    Weird or what!?!?!
  9. TheBigK

    TheBigK Well-Known Member

    Working fine for me on OSX - Chrome / FF / Safari - All latest versions. Tested on Chrome+FF on Windows as well. Not sure about uBuntu and other platforms.
  10. speedway

    speedway Well-Known Member

    Thanks, must be the skin. Will contact the creator.

  11. TheBigK

    TheBigK Well-Known Member

    I think I found a bug, but not sure why this happens only in one specific thread -

    Screen Shot 2013-05-24 at 11.23.18 AM.png

    Check the overlapping buttons next tot he Search Box. Surprisingly, this doesn't happen on other threads I checked.

    Chris, could you please check this thread on our site: http://www.crazyengineers.com/threads/whats-new-count.68147/ ? (Please login to see the overlapping buttons)
  12. TheBigK

    TheBigK Well-Known Member


    If the thread title has [count] - the search box breaks. I'm not sure if this is even related to this addon.
  13. giorgino

    giorgino Well-Known Member

    Great addition Chris! (y)
    Don't work on my customization... :(

    Schermata 2013-05-24 alle 11.49.25.png
  14. Chris D

    Chris D XenForo Developer Staff Member

  15. behnam

    behnam Member

    Great addition
    But not works in RTL language!
    when i change language to default, works!
  16. Chris D

    Chris D XenForo Developer Staff Member

    The add-on doesn't currently support RTL,

    This may come in a future version.
    behnam likes this.
  17. TheBigK

    TheBigK Well-Known Member

  18. Chris D

    Chris D XenForo Developer Staff Member

    It will only work on default configurations - I can't predict in advance all the changes that everyone makes, sorry.
  19. TheBigK

    TheBigK Well-Known Member

    1.0.8 - The count appears only on XenPorta pages, not on community pages.
    wilson likes this.
  20. Chris D

    Chris D XenForo Developer Staff Member

    Hehe... I see the issue...

    When you're on the forum home page, hover over your "Home" tab.

    So, the way this works is it looks for the phrase What's New? (the phrase, not the English words) and adds on to the end of that the unread posts counter. 1.0.8 introduced a hard limit on the number of replacements it was allowed to make. I set this to 1 because usually you only have 1 per page.

    As it happens, you have 2 and so it's adding the unread count to the very first What's New it finds which happens to be on your home tab.

    I will see if this can be improved.
    wilson likes this.

Share This Page