pointx_add($user_id, "Code");
pointx_deduct($user_id, "Code");
$result = dbquery("INSERT INTO ".DB_RATINGS." (rating_item_id, rating_type, rating_user, rating_vote, rating_datestamp, rating_ip, rating_ip_type) VALUES ('$rating_item_id', '$rating_type', '".$userdata['user_id']."', '".$_POST['rating']."', '".time()."', '".USER_IP."', '".USER_IP_TYPE."')");
pointx_add($userdata['user_id'], "anycode");
$result = dbquery("DELETE FROM ".DB_RATINGS." WHERE rating_item_id='$rating_item_id' AND rating_type='$rating_type' AND rating_user='".$userdata['user_id']."'");
pointx_deduct($userdata['user_id'], "anycode");
Quote
waxzy wrote:
hey great mod, been waiting for something like this.
can a user have negative points? I tried adding a new pointX with negative point but it would not let me add "-2".
it would be cool if a user has negative -50 points they get banned temporarily or something.
Quote
Hugomil wrote:
Yodix,
thank you very much, I'll try. :)
It could be part of the new version 1.0.4?
add Downloads
add Articles
add News
in the standard setting. ;)
Quote
Yodix wrote:
The next version I will add the option of having a negative number of points.
Quote
er1kazd wrote:
Could you please make, that admin could give like 0.001 or 0.01 points ( I think U get what I mean )?
Category Forum
Official releases [Infusions]Labels
None yet
Statistics
0 participants
Notifications
You are not receiving notifications from this thread.
Related Questions