double thread views count

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Reverend
    Senior Member
    • Jul 2002
    • 588
    • 4.2.x

    double thread views count

    I've just noticed on my forums,when i view a thread the "views" count for that thread goes up by two instead of one.
    This happens on all viewed threads.

    Any ideas guys.
    Techzonez - Tech News
    Techzonez Forums - Tech Community
  • nuno
    Senior Member
    • Apr 2001
    • 4346
    • 3.8.x

    #2
    Probably some kinda hack is messing up thread views
    You're my Prince of Peace
    And I will live my life for You

    Comment

    • Reverend
      Senior Member
      • Jul 2002
      • 588
      • 4.2.x

      #3
      Originally posted by nuno
      Probably some kinda hack is messing up thread views
      I've checked the forumdisplay.php for thread view entries and they are as the original file.

      Which templates are thread views called from?
      Techzonez - Tech News
      Techzonez Forums - Tech Community

      Comment

      • Reverend
        Senior Member
        • Jul 2002
        • 588
        • 4.2.x

        #4
        Would the mouse rollover template hack here possibly be affecting the views count.

        The reason i ask is because i have just visited some other boards,and i noticed ones using the hack have the same double count problem,whereas ones i visited that don't use the hack, are correctly counting the views.

        Just a thought.

        Can any of you who use the mouse rollover hack please try it to verify.
        Techzonez - Tech News
        Techzonez Forums - Tech Community

        Comment

        • nuno
          Senior Member
          • Apr 2001
          • 4346
          • 3.8.x

          #5
          yup, you're right, same thing happens at xiphoid's board, dump the rollover
          You're my Prince of Peace
          And I will live my life for You

          Comment

          • Reverend
            Senior Member
            • Jul 2002
            • 588
            • 4.2.x

            #6
            Originally posted by nuno
            yup, you're right, same thing happens at xiphoid's board, dump the rollover
            Hehe,i never did like it anyway.Only joking.

            Maybe someone will come up with a fix.
            Techzonez - Tech News
            Techzonez Forums - Tech Community

            Comment

            • waddy
              Member
              • Feb 2002
              • 97
              • 2.3.2

              #7
              Rev tells me our forums have the same problem
              So I guess we have to wait for a fix or vb3

              Comment

              • k2webfusion
                New Member
                • Jan 2002
                • 26

                #8
                I have same problem, getting 2 views for only 1 actual. So 300 views count actually means 150 real views. Weird.

                Comment

                • Stadler
                  Senior Member
                  • Oct 2001
                  • 1021
                  • 4.2.X

                  #9
                  Simply remove the onclick="..." and the cursor:hand (or similar)-Part from the templates containing the mouseover and it should work.
                  Hints & Tips:
                  [[vB3] More Spiders / Indexers / Archives for vB3 - list]|[List of one-time-emails to ban]


                  http://sfx-images.mozilla.org/affili...efox_80x15.png

                  Comment

                  • k2webfusion
                    New Member
                    • Jan 2002
                    • 26

                    #10
                    Have neither in any of the affected templates. I see onclick in a few, but they're related to the spellchecker which as been disabled and hence remarked out with the < ! -- etc.

                    I found 1 instance of "mouseover" when I search through all templates, in VBcode_buttons. Any other ideas? Keep 'em coming.

                    Comment

                    • k2webfusion
                      New Member
                      • Jan 2002
                      • 26

                      #11
                      I don't have the mouseover hack installed. My showthread.php file does have the quick reply box variable added to it (firefly's hack), but no other changes.

                      Comment

                      • Boofo
                        Senior Member
                        • Apr 2002
                        • 2033
                        • 4.1.x

                        #12
                        I don't use the mouse roll over and I was still getting the double thread count and double "Top Viewed profile" count (from a hack) and well as my page counter was increasing by 2 with each page referesh. I finally tracked down what was causing it. It seems that if you change this in the header template:
                        <td valign="top" align="left" background="{imagesfolder}/menu_background.gif"><a href="index.php?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle"></a></td>
                        <td valign="bottom" align="right" nowrap background="{imagesfolder}/menu_background.gif">
                        To something else like this:
                        <td valign="top" align="left" background="{pagebgcolor}"><a href="index.php?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle"></a></td>
                        <td valign="bottom" align="right" nowrap background="{pagebgcolor}">
                        It starts double the thread views and other counters you may have on the site. I chnaged it to this:
                        <td valign="top" align="left"><a href="index.php?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle"></a></td>
                        <td valign="bottom" align="right" nowrap>
                        and my counters are now working exactly like they should. No more doubling of counts. [img]images/smilies/wink.gif[/img]
                        vBulletin - Sometimes, I'm just like, Wow, and then I'm like, Whoa, and then I'm like, Damn.

                        vBulletin.org's ol' Moderator

                        I have a lifetime terrorist hunting permit - #091101

                        chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

                        Comment

                        • Icheb
                          Senior Member
                          • Nov 2002
                          • 1291

                          #13
                          How on earth should the rollover hack affect thread views? Your forumdisplay.php either queries the post table and gets the first post of the thread or the first post is already stored in the thread table (depends on how it has been implemented), it doesn't touch showthread.php , which would increase thread view count.

                          Comment

                          • Boofo
                            Senior Member
                            • Apr 2002
                            • 2033
                            • 4.1.x

                            #14
                            Originally posted by Icheb
                            How on earth should the rollover hack affect thread views? Your forumdisplay.php either queries the post table and gets the first post of the thread or the first post is already stored in the thread table (depends on how it has been implemented), it doesn't touch showthread.php , which would increase thread view count.
                            That's what I thought but there were reports that taking the mouseover hack out fixed their problem. Mine was fixed by the code above. As stupid as this sounds, taking the menu_background.gif out of those 2 lines stopped my double counting. I tested and re-tested it and that was where my problem was at. Go figure.
                            vBulletin - Sometimes, I'm just like, Wow, and then I'm like, Whoa, and then I'm like, Damn.

                            vBulletin.org's ol' Moderator

                            I have a lifetime terrorist hunting permit - #091101

                            chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

                            Comment

                            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                            Working...