Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter lehezee

    (@lehezee)

    I achieve to do that hacking the “wp_ulike” class in the function “loggedby_ip_method”.
    I added an ADD term to the mysql for the $is_user_liked_before : AND date_time > date_sub(now(),INTERVAL 1 DAY)

    Some problems doing this :
    – I hacked the plugin, i know it is the wrong way, but i didn’t see any hooks to filter the query
    – As others functions simply update the like status of this ip without taking account the current ID of the like, all nexts likes/dislikes will update every likes done by this ip, so statistics will be wrong.

Viewing 1 replies (of 1 total)