Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with Newpoints
#1
Today i noticed plugin that uses newpoints does not add / subtract points

for example if i want to subtract 1000 points from userid 1 

i use to be able to use 
newpoints_addpoints(1, -1000);

however the above does not work anymore

i have to use the following now

newpoints_addpoints(1, -1000 1, 1, false, true);

anyone know what could be the problem?

i'm using


MyBB Version
1.8.21
PHP Version
7.2.11
SQL Engine
MySQLi 5.7.25


NewPoints (2.1.1)
Reply
#2
You can add and subtract through the newpoints settings in admin cp

No need to go through SQL
Reply
#3
(08-28-2019, 08:43 PM)makpaolo Wrote: You can add and subtract through the newpoints settings in admin cp

No need to go through SQL

hi i know i can do it through the acp
but i'm talking bout through plugins
above was just an example...
the shop released by newpoints author seems to be effected as well
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)