Quote:
Originally Posted by MarkFL
Using the last block of code you posted (with the query edited to remove your test quotes), I tested it on a user on my local dev site who initially had 13 ipoints and 10 rep points. After I issued a 3 point infraction, his ipoints became 16 and his rep became -6490 (which is what we should expect).
This means that at the hook we are using, the ipoints value was still at 13 and $vbulletin->GPC['points'] > 0.
Then I issued that same user a warning, and his rep was unaffected.
The bottom line is the code you posted works flawlessly for me.
|
Ok, i wonder why it is not working for Chris then.