MyBB Community Forums

Full Version: How to add reputation to a group?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to make a Group Reputation, based on User Reputation.

Well, my points is about edit reputation.php

I created a row in database (usergroup) and named it as TotalRepPoint

I want everytime I + or - reputation of an user, it will automatic + or - of his/her main group.

As I know, first, it must have a sql to select main group of user.
Than, in code line of + or - reputation point, it must have a sql to + or - TotalRepPoint of database usergroup.

But I'm not good at php and sql, I just can write some tiny code. So, please help me in this situation.

Thanks!
anyone could help, please?
I know it is not too hard for somebody who know php and sql.