Quote:
Originally Posted by midnightz
Hi Logician
Is it possible somehow to have store points given to users to celebrate lets say a 2500th post?
|
You can add:
PHP Code:
$DB_site->query("UPDATE user SET storep=storep+100 WHERE userid='$bbuserinfo[userid]'");
Before hack line:
Quote:
$greeteduserpostsstring=(string)$greeteduserposts;
|
and it will grant the poster "100" points everytime a user is greeted by the hack.
But please note that it is not a perfect solution because wise users might cheet: After they posted their X posts and get the point, they can delete any of their posts to lower their post count by 1, then repost and get another greeting thus point.
Please do not ask for a fix for it as it is not possible without changing the hack's structure..