MyBB Community Forums

Full Version: Newpoints -> +- Points
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am a non english and can speak the language badly and would like to apologize in advance for my language.

I have a question about NewPoints. Is there the possibility to design the plugin so that you can use an If query, for example, if the user has more than 30 points, he can click on the button. If he has less than 30 points or 30 points, he can not click on the button.

Is there an alternative to generate a code that implements these statements?
Nothing to help me?
After a quick search through the files, it would seem that
global $mypoints;
is where the points are stored.
I search a function, who can with +50 plus 50 Points and with -50 minus 50 Points.
You're going to need to learn some PHP/JavaScript in order to do what you wish. I was just showing you the variable that stores the information you asked for.