Interesting data from my website

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post July 1st, 2009, 1:27 pm

On my website I have a voting system (like/dislike) and to try to limit each user to only voting once for each entry and for only one option I log the IP. I noticed that just about for every post there is always a dislike. Now at first I thought it was just random person having some fun going around and disliking everything that is posted for the hell of it. Well I looked through the database and found some interesting data. There is a range of IP's that like and dislike every post, and I really mean a range. Everything from 123.125.66.57 to 123.125.66.98. It ranges from 3-10 votes per ip. I looked up the ip range and found that they are owned by the China Unicom Beijing province network. It looks like it may be a spider because it seems to hit every link on my site.
#define NULL (::rand() % 2)
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 1st, 2009, 1:27 pm

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post July 1st, 2009, 3:33 pm

Add a visual confirmation to the like/dislike functionality maybe ?
Strong with this one, the sudo is.
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Joined: Jul 25, 2005
  • Posts: 2735
  • Loc: Nashville, TN
  • Status: Offline

Post July 1st, 2009, 3:35 pm

Hrmm, I don't know. His like/dislike functions similar to Digg and Reddit. There should be some other work around. *digs*
I'd love to change the world, but they won't give me the source code.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post July 1st, 2009, 3:59 pm

Doesn't mean you can't popup a confirmation box that asks how many likes there were before you applied yours, even with AJAX. :D
Strong with this one, the sudo is.
  • middayc
  • Novice
  • Novice
  • User avatar
  • Joined: Jun 29, 2009
  • Posts: 23
  • Loc: Slovenia
  • Status: Offline

Post July 2nd, 2009, 1:01 pm

I looked at your page .. while you use ajax for like/dislike you put the url you call into href and probably append event unobtrusively to nicely degrade link *for those without javascript* -- like these days probably only bots are :)

If you would put # in href I suspect you will not have the problem any more. If you want to do it unobtrusively you have to put URL or at leasr post ID somewhere so you can then generate the URL...but there are many simple and more or less dirty ways to solve this.

//edit: In case you would want to be ideologically correct you can also take into account that like/dislike is modifying operation (so POST) not a GET and shouldn't degrade to link that's why crawlers change your data
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post July 2nd, 2009, 10:55 pm

I don't see the like/dislike functionality, but I do see <!-- under Flickr Photos. Kind of doubt that was supposed to be there.
"Bring forth therefore fruits meet for repentance:" Matthew 3:8

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 184 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.