Quote:
Originally Posted by Hellspire
Don't know if anyone has posted this before, and I really don't care enough to search through this post, but I modified the code very slightly to prevent points from incrementing on posts that did not get counted.
Simply open up the functions_newpost.php file, find this:
Code:
$DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$bbuserinfo[userid]'");
and change it to this
Code:
if ($foruminfo['countposts']) $DB_site->query("UPDATE ".TABLE_PREFIX . $vboptions[uttpoints_pointtable]." SET ".$vboptions[uttpoints_pointsfield]."=".$vboptions[uttpoints_pointsfield]."+".$givethempoints." WHERE userid='$bbuserinfo[userid]'");
Total modification time, 1 minute or less.
|
Please report it at a bug on the dev site if yoou can replicate it
http://area51.geekydesigns.com
On second thought did you just turn the point count to 0?
some people might want to still give points even if their post count is off