Lionel
06-24-2005, 08:29 PM
How can I change the below to give new members a 30 days grace period instead of the 10 Posts?
$thefted = $DB_site->query_first("SELECT userid, usergroupid, username, ".$vboptions['uttpoints_pointsfield']." AS points FROM ".TABLE_PREFIX."user WHERE posts > 10 AND ".$field."='".addslashes($data)."'");
if (!isset($thefted['userid'])) {
$message = "User does not exist <br />or, You may not steal from users with less than 10 posts.";
uttstore_print_end_message($message);
}
$thefted = $DB_site->query_first("SELECT userid, usergroupid, username, ".$vboptions['uttpoints_pointsfield']." AS points FROM ".TABLE_PREFIX."user WHERE posts > 10 AND ".$field."='".addslashes($data)."'");
if (!isset($thefted['userid'])) {
$message = "User does not exist <br />or, You may not steal from users with less than 10 posts.";
uttstore_print_end_message($message);
}