I just installed this hack and this appears at the top of my forum home page:
Code:
hanks_post_count'] && ($remove_users_thanks_count == true || $vbulletin->options['post_thanks_delete_remove_thanks_count'])) { $set_user_gave .= ', posts = posts - 1'; } $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET $set_user_gave WHERE userid = '$userid' "); $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "user SET $set_user_got WHERE userid = '$postinfo[userid]' "); $vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "post SET $set_post WHERE postid = '$postinfo[postid]' "); ($hook = vBulletinHook::fetch_hook('post_thanks_function_delete_thanks_end')) ? eval($hook) : false; return true; } function post_thanks_in_array($number = 0, $array = 0) { $array_split = explode("|", $array); foreach ($array_split AS $array_number) { if ($number == $array_number) { return true; } } return false; } function post_thanks_check_security($securitytoken = '') { global $vbulletin; if ($securitytoken !== $vbulletin->userinfo['securitytoken']) { } } ?>
Any idea what I did wrong?