yes that's ok now, thanks.
I just wish that now I can make the system to take few points out of the one who gets a warning
This is posible if you find this in the card.php
- Code: Select all
//update the warning counter
$sql = 'UPDATE ' . USERS_TABLE . ' SET user_warnings=user_warnings+1 WHERE user_id="'.$poster_id.'"';
change this to something like
- Code: Select all
$sql = 'UPDATE ' . USERS_TABLE . ' SET user_warnings=user_warnings+1, user_points=user_points-10 WHERE user_id="'.$poster_id.'"';
This will make users points go 10 less on every warning, I asume the points are stored in a field named users_points - this can be differently depending on the mod you are using, but the principle is the same
you could also consider change the "mouse over" text, witch is displayed while hoover over the yellow card, so moderators (or other witch have permission to give yellow card, know how meny points are removed from the user


