The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Contact Us (Meet Our Management Team) > Post Here to Contact Site Administrators and Moderators
.
google unix.com



Post Here to Contact Site Administrators and Moderators Registered Users make ask questions and suggestions about forums, features, or content here. Get forum support here, not via email!!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how can i check in csh if command found or not found ? umen Shell Programming and Scripting 2 03-03-2007 07:38 PM
cc and gcc not found asif iqbal UNIX for Dummies Questions & Answers 3 02-26-2005 06:58 AM
ksh: cvs: not found ?? rein UNIX for Advanced & Expert Users 2 01-05-2005 05:01 AM
MAC not found? merlin UNIX for Dummies Questions & Answers 1 05-15-2003 09:34 AM
HELP ld.so.1 NOT FOUND SmartJuniorUnix UNIX for Dummies Questions & Answers 1 10-04-2000 03:18 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 3.50 average. Display Modes
  #1 (permalink)  
Old 05-14-2008
Smiling Dragon's Avatar
Smiling Dragon Smiling Dragon is offline Forum Advisor  
Disorganised User
  
 

Join Date: Nov 2007
Location: New Zealand
Posts: 922
Have I found a bug?

When searching for new posts, I see that my voting in one of the polls counts as a 'new post'. However, while the '<blah> minutes ago' entry updates correctly, the 'by <username>' is the last user to actually post a comment in the poll instead.

Result:
Code:
Poll: vB Guest Book                  39 Minutes Ago                 6 	68 	
Neo                                  by jim mcnamara
But jim last posted to this topic 4 weeks ago.

Not exactly world-ending stuff but still... bug?
  #2 (permalink)  
Old 05-15-2008
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,796
That post includes a poll as well. Perhaps someone may had voted in that poll. That may be the reason for the post to show up in the 'New Posts'.
  #3 (permalink)  
Old 05-15-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
I find that irritating, though.
  #4 (permalink)  
Old 05-15-2008
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,656
Also, the internal crontabs to update counters may run differently, since we don't update all counter every second to save CPU cycles ....
  #5 (permalink)  
Old 05-15-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
That is actually the expected behavior, albeit not a most attractive implementation. The thread gets touched when you vote on a poll and hence gets promoted to the to pof the list in terms of most recent, but as you observed the "updated by" does not get changed because the poll vote is not a post.

The internal mechanism used by vb, for efficiency in queries, is it to take the top N list by date from the smaller table ( thread ) which contains a last post id as one of the columns and simply selects those ids from the post table. In the current implementation there is no way to tell if the last update is a poll vote or a real post.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:56 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0