1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Mouse over failure bug

Discussion in 'Site Help, Feedback, & Announcements' started by lotuseclat79, Jan 10, 2011.

Advertisement
  1. lotuseclat79

    lotuseclat79 Thread Starter

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    I notice that a mouse over of the leftmost icon on any thread in a forum where I post heavily says - "You have 1 post(s) in this thread, last unknown" - (seemingly by default) rather than a thread where I have way more than one, "Random forum, Science and Space Thread for example, and it used to tell me how many posts I had in the thread.

    Must be a bug, since it no longer works as before, eh?

    -- Tom
     
  2. lotuseclat79

    lotuseclat79 Thread Starter

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    Please note - this failure is a bug, meaning that something has changed somewhere to cause the mouseover to be non-functionsl which was not previously the case! Please fix it to work and show the number of posts in a thread! Just making a squeak so that Mike puts this one of his fix list - in hopes of getting some oil applied to this minor problem.

    -- Tom :)
     
  3. pyritechips

    pyritechips Gone but Never Forgotten

    Joined:
    Jun 2, 2002
    Messages:
    26,907
    First Name:
    Jim
    Hi Tom. I have noticed this myself but please be patient with TechGuy. He is extremely busy right now helping Heather and performing multiple shifts of diaper duty! :D
     
  4. TechGuy

    TechGuy Administrator

    Joined:
    Feb 12, 1999
    Messages:
    14,239
    First Name:
    Mike
    Sorry for the delay in replying. Now that Heather is back home from the hospital, I'm finally going to start catching up on things around here!

    We removed the code that counts the number of posts in each thread because it was causing too much of slowdown for users with lots of posts (like yourself). I've just updated the phrase that appears to more accurately state simply, "You have posted in this thread."
     
  5. lotuseclat79

    lotuseclat79 Thread Starter

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    Hi Mike,

    I never experienced a slowdown when posting to a thread because of that??? So, in other words, I won't be able to see how many posts I have in a thread - and I am closing in on 19,500 total soon enough. Was that code snippet performance monitored (it's only a mouse over) so it is very hard to believe that it slows down any user postings.

    You know where I stand - I would like the feature back in - because, it can't possibly slow down a user - just move the mouse off the icon and it goes away - and, otherwise, it is benign. So, if I hear you correctly, the code to count the user's number of posts was horrible - probably needs to be recoded. Is it a script or in what language is it coded???

    As I recall, it was very fast for me in the Science and Space thread where I have over 85% of the posts - so, again, I question taking it out - I never saw a slowdown in it.

    -- Tom
     
  6. Cookiegal

    Cookiegal Administrator Malware Specialist Coordinator

    Joined:
    Aug 27, 2003
    Messages:
    113,960
    Tom, I'm just curious as to why is it so important that you see the number of times you've posted in a thread? I've never even thought about that. There is a blue check mark on the right-hand side that indicates you've posted in the thread without any mouseover so I use that to know I've posted there. :)
     
  7. Ent

    Ent Trusted Advisor

    Joined:
    Apr 11, 2009
    Messages:
    5,467
    First Name:
    Josiah
    Just my take, the mouseover won't slow things down on the client side except for the length of a hover delay & the time taken to read it. If that were too long it's their decision not to mouseover. However my interpretation of Techguy's response had nothing to do with how long it takes us (at any rate it takes as long now, though there's less information conveyed). Instead it has to do with a search algorithm that had to run through all the posts on all the threads on that page, all to find out how many times that person had posted.
    Doing that for 20 threads for every user on the forum puts a significant load on the server, and that's the slowdown he's worried about. Without knowing how the forum is coded, I'd wager that to gather a boolean on whether they have posted is faster (as it can be aborted once one post is found) and requires less memory (1 bit against a 16 bit integer) than counting how many times they've posted. Personally I agree with Cookiegal in that the tick is of organisational value to helpers. But the extra marginal value of how many times you post is too small to warrant the implementation costs.
     
  8. TechGuy

    TechGuy Administrator

    Joined:
    Feb 12, 1999
    Messages:
    14,239
    First Name:
    Mike
    When the list of threads is generated, the database server has to count how many posts you have in each thread on that list. (It is not generated when you do the mouseover -- that information has already been sent to your browser and can be seen in the HTML code if you choose to view it.) As a example, if you see a list of 50 threads in the Random Discussion forum and each have an average of 100 responses, our servers have to review 5000 posts and count up the results. (Obviously, some threads have near 5000 posts which only exaggerates the problem, but you get the idea.) I agree that if the mouesover action triggered the search it would likely cause much less load (unless someone repeatedly moves back and forth across those items) and such programming is now possible using AJAX with some minor overhead. Unfortunately, that's not the way vBulletin was designed and it would be a lot of work to change it.
     
  9. lotuseclat79

    lotuseclat79 Thread Starter

    Joined:
    Sep 12, 2003
    Messages:
    20,583
    Hi Cookiegal, Ent, and Mike,

    I simply noticed that it no longer worked and wondered why, and the data was fun to look at from time to time. Whenever I previously looked at the data, its response via mouseover was virtually immediate.

    The tick on the right-hand side is useful, but not as much fun as seeing how many posts you have in a thread.

    The load a mouse over puts on a thread depends on how it is implemented. To prevent multiple mouse overs - a separte processing thread (in the code) could be spawned to do the count and lock out any multiple mouse overs and actually it would be very fast.

    As I mentioned previously, I never noticed any performance degradation in the mouse over response - otherwise, I would have reported it. The only way to measure it is to performance monitor the code snippet that implements it - then you can really tell before make an informed decision about whether it is a problem for the server load or not.

    Just saying - I miss it. Removing it with no response at all would be better than responding as it is now deprecated and does not exist in reality - the reply to a mouse over with no mouse over data presented as it presently seems rather vacuous (redundant) since it corresponds to the tick that you have posted in a thread - it too should go the way of the mouse over data - and, that would be better than not knowing how many posts a user has in a thread. Out of sight - out of mind.

    -- Tom
     
  10. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Short URL to this thread: https://techguy.org/973813

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice