PDA

View Full Version : Wildlife@Home: Video watching page showing videos already watched



RSS
05-10-14, 12:25 PM
Looks like for some reason the video watching page is showing videos to users that they've already watched. This sounds like there's a bug somewhere in my logic for selecting what video to show users.Pretty sure the bug has to be somewhere in lines 280-315 here:https://github.com/travisdesell/wildlife_at_home/blob/master/webpage/watch.phpI imagine my SQL query is messed up, but not quite sure why. Either that or something wonky is going on with how I'm saving what videos users have watched. Anyways, I'll try and get this fixed ASAP. I don't think this should break anything if you re-submit events on a video you've already watched; although I think now it will display some kind of error if you hit finished on a video you've already watched.

More... (http://volunteer.cs.und.edu/wildlife/forum_thread.php?id=573)