Post Negation Award Being Triggered also With Edits

Status
Not open for further replies.

cmcs

Customer
Hello,

we have configured the post action to add x points when a new post is made, and to remove the same amount when the post is deleted. Anyhow, this post negation amount is used also when a user simply edits his/her post.

What should we do?
 
this is completely intentional so that any changes in the event get picked up. otherwise i have to figure out the change between the first and second state, and that is quite difficult to do accurately. By triggering the negation and then reapplying it, then you get the same effect anyway, except i dont have to wrestle with a third set of code for each and every action. take for example what happens if you are charging per word and require at least 50 words? it needs to be able to take back the old credits and check to see if you didnt edit it to below 50 words (and if you did, to issue an error) this issue plagued vbcredits 1.x
 
As an update I moved trekkan's post to a bug report so progress on this will be updated there :D thanks! I anticipate this will be cleared up before friday and ill even post a patch if its simple enough
 
Status
Not open for further replies.

Legacy vBCredits II Deluxe

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
846
Customer rating
0.00 star(s) 0 ratings
Back
Top