ALTER TABLE `phpbb_users` ADD `user_thanked` INT NOT NULL DEFAULT '0';

ALTER TABLE `phpbb_users` ADD `user_thanked_others` INT NOT NULL DEFAULT '0';


In thanks.php

Find

Code: Select all
    if ($thankers[$key]['post_id'] == $post_id && $thankers[$key]['user_id'] != $poster_id)



Replace with

Code: Select all
    if ($thankers[$key]['post_id'] == $post_id && $thankers[$key]['user_id'] != $poster_id && ($thankers[$key]['user_id'] == 2 || $thankers[$key]['user_id'] > 52))



Find

Code: Select all
    function insert_thanks($post_id, $user_id)
    {
       global $db, $users;
       if ($user_id != ANONYMOUS)



Replace with:

Code: Select all
    function insert_thanks($post_id, $user_id)
    {
       global $db, $users;
       if ($user_id != ANONYMOUS && ($user_id == 2 || $user_id > 52))



Hope that helped.