Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. New posts counter is wrong sometimes
Forum Updated to NodeBB v4.3 + New Features

New posts counter is wrong sometimes

Scheduled Pinned Locked Moved Qt.io webservices
31 Posts 7 Posters 12.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #4

    tried it just now, and hope I got the count right :P
    showed 12 new posts, listed 8, including replies there were 9
    will recheck this once more when I login next

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #5

      Counted again. 3 new posts, one topic in list and only one new comment in this topic.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on last edited by
        #6

        Can't find what does it count instead of number of new posts. Now it showed me 9 new posts with 2 topics on list and each contains one new comment. One contains 5 comments and other 3 comments totally. So can't make 9 here (either 8 if only comments are counted or 10 if comments and initial posts counted). It is a good quiz for curious brain :) Please, when you fix it tell us what was the problem.

        1 Reply Last reply
        0
        • ? This user is from outside of this forum
          ? This user is from outside of this forum
          Guest
          wrote on last edited by
          #7

          ok to spice this up a bit, just saw 5 new posts, 4 threads listed, but threads+comments = 5 ...
          so is it working or not working :P

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mgran
            wrote on last edited by
            #8

            Note that the front page can be the victim of some caching and that will throw of the math by a bit.

            In summary the code says $total_new = $post_count + $topic_count; based on a time stamp from the last visit.

            Project Manager - Qt Development Frameworks

            1 Reply Last reply
            0
            • F Offline
              F Offline
              Franzk
              wrote on last edited by
              #9

              Does that mean a new topic is counted both as a post and a topic?

              "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • ? This user is from outside of this forum
                ? This user is from outside of this forum
                Guest
                wrote on last edited by
                #10

                hi Marius, today morning I saw some like 41 as the count for new posts, I had to close browser and reboot, when I logged back in, it was down to like 4 posts :( think I missed a whole bunch of posts... something to be looked into? I managed to open a few replies (13) from my subscriptions via mail, but lost the rest ...

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mgran
                  wrote on last edited by
                  #11

                  Not sure I can do anything to help out with that :|

                  Project Manager - Qt Development Frameworks

                  1 Reply Last reply
                  0
                  • ? This user is from outside of this forum
                    ? This user is from outside of this forum
                    Guest
                    wrote on last edited by
                    #12

                    but isnt that a bug? Unless one opens a post, it shuld continue to be listed...

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mgran
                      wrote on last edited by
                      #13

                      It's "Posts since last visit" not "Unread" I'm afraid.

                      Project Manager - Qt Development Frameworks

                      1 Reply Last reply
                      0
                      • ? This user is from outside of this forum
                        ? This user is from outside of this forum
                        Guest
                        wrote on last edited by
                        #14

                        [quote author="mariusg" date="1288701988"]It's "Posts since last visit" not "Unread" I'm afraid.[/quote]

                        I did this,

                        1. Login to devnet, 7 new posts, read one post
                        2. Now devnet home page shows 6 new posts
                        3. From a totally new browser logged into devnet and still see 6 new posts

                        So if this were posts since last visit, it should have shown 0 ?

                        1 Reply Last reply
                        0
                        • ? This user is from outside of this forum
                          ? This user is from outside of this forum
                          Guest
                          wrote on last edited by
                          #15

                          more issues ...
                          just now went to the devnet home, and saw that there were 4 unread posts, I clicked on it and saw a single post with 2 replies, and I already had viewed this post with the same 2 replies ...

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            mgran
                            wrote on last edited by
                            #16

                            [quote author="chetankjain" date="1291047786"]more issues ...
                            just now went to the devnet home, and saw that there were 4 unread posts, I clicked on it and saw a single post with 2 replies, and I already had viewed this post with the same 2 replies ...[/quote]

                            Could be that your browser cached the page since last time? Do you remember if you had a page view on the front page earlier with 4 unread posts? If so we need to tweak the cache headers to be stricter.

                            Project Manager - Qt Development Frameworks

                            1 Reply Last reply
                            0
                            • ? This user is from outside of this forum
                              ? This user is from outside of this forum
                              Guest
                              wrote on last edited by
                              #17

                              nope I was in a thread and then navigated to the home page and saw the new posts

                              1 Reply Last reply
                              0
                              • U Offline
                                U Offline
                                ucomesdag
                                wrote on last edited by
                                #18

                                Just wanted to know if it's possible to set the "new post counter" back to zero without having to open all forum posts? Pretty anoying and loging in and out doesn't help either

                                Write “Qt”, not “QT” (QuickTime).

                                1 Reply Last reply
                                0
                                • V Offline
                                  V Offline
                                  vsorokin
                                  wrote on last edited by
                                  #19

                                  Sometimes site clear old unread messages, but only sometimes... :)

                                  --
                                  Vasiliy

                                  1 Reply Last reply
                                  0
                                  • U Offline
                                    U Offline
                                    ucomesdag
                                    wrote on last edited by
                                    #20

                                    Would be nice to be able to reset the counter manually or by loging out/in, as they are supposed to be the posts since my last visit.... I'aint going to open all 1053 forum posts!!! :-)

                                    Write “Qt”, not “QT” (QuickTime).

                                    1 Reply Last reply
                                    0
                                    • G Offline
                                      G Offline
                                      goetz
                                      wrote on last edited by
                                      #21

                                      [quote author="ucomesdag" date="1293318998"]Would be nice to be able reset the counter manually or by loging out/in, as they are supposed to be the posts since my last visit.... I'aint going to open all 1053 forum posts!!! :-) [/quote]

                                      This is already on the wishlist, see "QTWEBSITE-130":http://bugreports.qt.nokia.com/browse/QTWEBSITE-130 on the bugtracker. You can vote for it - it might speed up implementation a bit :-)

                                      http://www.catb.org/~esr/faqs/smart-questions.html

                                      1 Reply Last reply
                                      0
                                      • U Offline
                                        U Offline
                                        ucomesdag
                                        wrote on last edited by
                                        #22

                                        [quote author="Volker" date="1293320430"]This is already on the wishlist, see "QTWEBSITE-130":http://bugreports.qt.nokia.com/browse/QTWEBSITE-130 on the bugtracker. You can vote for it - it might speed up implementation a bit :-)[/quote]

                                        Ok, just voted for it! ;)

                                        Write “Qt”, not “QT” (QuickTime).

                                        1 Reply Last reply
                                        0
                                        • U Offline
                                          U Offline
                                          ucomesdag
                                          wrote on last edited by
                                          #23

                                          Yeah, counter seems to be fixed!!! But a bit bored have less to read now ;-)

                                          Write “Qt”, not “QT” (QuickTime).

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved