Thank You Counter Button
Modify the counter added number (3 posts)

  1. nicolaspf
    Posted 3 years ago #

    Hi! First of all thanks for such a great plugin :)
    I'm writing because I would like to know how to modify the number that is added for every click on the button.

    This means: when someone clicks the button, it adds 1 number, but I need to sum 50 'points' per click. How could I do this?

    Thanks for your time :)


  2. Vladimir Garagulya
    Plugin Author

    Posted 3 years ago #


    It is possible just via modification of source code. Open thankyou_lib.php file, go to line # 243

    $query = "update $thanksCountersTable set quant=quant+1, updated=CURRENT_TIMESTAMP

    and change 1 there to number you wish, e.g. 50.

  3. nicolaspf
    Posted 3 years ago #

    Thanks a lot Vladimir =D
    I'm ging to try this solution and let you know how it works :) Best regards!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Thank You Counter Button
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic