Hey, I have a cred system, and i got to the Admin CP, to make it say that people get 1 cred per post, but that doesn't work... Does anyone know it? One that can help me solving it gains 40 creds.
lol, I didn't notice this, but I have the same problem.. I'm using IPB 1.3.1, the IPBStore you have on here at the shop. What version of both are you ^ using?
Heres what i did : Open sources>lib>post_new_post.php and find: Code: //----------------------------------------- // If we are a member, lets update thier last post // date and increment their post count. //----------------------------------------- $this->class->pf_increment_user_post_count(); Below that add (change the 1 to however many points you want to give): Code: // update members points!! $Perfect_Points=1; $DB->query("UPDATE ibf_members SET points=points+$Perfect_Points WHERE id='{$ibforums->member['id']}' ") or print mysql_error(); ----------------------------------------------------- Open sources>lib>post_reply_post.php and find: Code: //----------------------------------------- // If we are a member, lets update thier last post // date and increment their post count. //----------------------------------------- $this->class->pf_increment_user_post_count(); Below that add (change the 1 to however many points you want to give): Code: // update members points!! $Perfect_Points=1; $DB->query("UPDATE ibf_members SET points=points+$Perfect_Points WHERE id='{$ibforums->member['id']}' ") or print mysql_error(); ----------------------------------------------------- Open sources>lib>post_poll.php and find: Code: //----------------------------------------- // If we are a member, lets update thier last post // date and increment their post count. //----------------------------------------- $this->class->pf_increment_user_post_count(); Below that add (change the 1 to however many points you want to give): Code: // update members points!! $Perfect_Points=1; $DB->query("UPDATE ibf_members SET points=points+$Perfect_Points WHERE id='{$ibforums->member['id']}' ") or print mysql_error(); This works with IBStore/IBShop and this is what i use on my site, and everything works fine. Hope this helps! Rep is much appreciated.
hmm, just when i put a new mod in, it told me to edit that file as well... it's the thing where you press 'quote' in the upper right of the user's post... did you try that?
Okay, I did what the guy said (thx for that) Now it works at Top Ten Richest Member (already did i thought) but still nothing when i post? And nothing left from the people posts...?