Simple way to limit views/plays per IP address?

0
Because members can simple refresh pages to get more views or refresh and replay to gain more plays the charts can be manipulated by anyone with extra time on his hands. I would like a more "authentic" set of statistics that only accept a view or play once per hour (or any other specified amount of time) per IP address for a particular song, album or artist. There is no option for this in the admin panel so any idea what/where to modify the code to achieve this? This could also be achieved with cookies but cookies can be cleared (or not accepted at all) so I would prefer to do this with the IP method. Lastly, I wasn't sure how stats are tracked in the first place so if each hit is recorded in the database I suppose the database structure would need to be modified too. Ideas?
Responses (6)
  • Accepted Answer

    Wednesday, January 25 2012, 03:40 PM - #Permalink
    0
    no need to modify the database.
    to achieve what you need, the current statistics database is ok to gather the information, what you need is some coding the disallow play (or simply "not register" a play, or a view) following that criteria.

    do you know what I mean?

    but this is some work... I can't just "point you" in the right direction, quite a lot of code is needed..!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2012, 04:07 PM - #Permalink
    0
    If you can tell me where in the database views/plays are registered I should be able to find someone to code what I want.

    Thanks.

    Moni
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2012, 04:10 PM - #Permalink
    0
    jos_muscol_statistics is the table :)

    just FYI, we offer customization services if you need us! ;)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2012, 04:18 PM - #Permalink
    0
    Yes, I know. But, I haven't received replies on my other requests so stopped sending them. Haha.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2012, 04:22 PM - #Permalink
    0
    :S :S oopss.. really?
    sorry about that... did you send them using the FORM? or directly by email?

    damn... I appologise for that, I'm going to check all the inbox to see if I missed your requests :S
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2012, 04:31 PM - #Permalink
    0
    I previously sent through direct email so perhaps they were stuck in the spam box. I just now sent a new quote request via your customer service form.

    Thanks again.

    Moni
    The reply is currently minimized Show
Your Reply