Status
Not open for further replies.

CheeSie

New member
Some of my members have an inbox space of 75.. They purchased an upgrade to hold 250 but when people try to PM them they get told they cant cause the users inbox is full..

So how do I fix this xD?
 
Ive been unable to confirm this, so no news sadly. Across all my testing environments, the intperms work fine for PMs and most other things I tested.
Have you tried disabling all other mods? It's possible there's a conflict somewhere.
 
Ive been unable to confirm this, so no news sadly. Across all my testing environments, the intperms work fine for PMs and most other things I tested.
Have you tried disabling all other mods? It's possible there's a conflict somewhere.
When are the new permissions set and calculated? Then I'll look through the other mods I have and see if I can find something.. But i seriously doubt it as I use very few mods :)
 
Hmm I seriously cant find the function or whatever you use to overwrite the permissions..
Which file is it located in? :(
 
There place that these do not work is the private messages..
My users has bought 500 pm inbox space but whenever someone with the "Ignore PM Quota" permission tries to PM them they get told they cant.. I just tested my self and it's true, my members aren't lying to me xD

When you're testing that it works, how do you do it?
Cause if you PM from an admin account it'll PM whether the Ignore PM Quota is set to false or not..
Also I don't see any hooks for when sending a PM.. Like when it would fetch the permissions of the user receiving the PM..
 
There's a hook in cache_permissions() that I use.

I tested it both by refreshing the PM box after buying the item, and also attempting to PM said user when their normal box should be full.
 
but did you try it from a non-admin account xD?
.. anyway I'll see if there's another plugin using the cache_permission hook that'll mess with your script :(
 
IIRC, just sending from an admin account through normal means doesn't override the quota - that only happens if you send it via automated means like infractions.
 
I checked the hooks of all my plugins and only yours uses the cache_permission.. so it's not something else that is messing with it. :(
I'm running version 1.2 i believe of vbShop.. isn't it the newest?
 
Yea it is, I'll do more research and try to reproduce this when I'm updating it, right now we're busy trying to finish up the RPG :)
 
Bordering on thread necromancy but I've tested this at long last and sending PMs from a non-admin works fine. I set my limit lower than my total amount of PMs, bought the boost, then tried to get sent a PM from a normal user. Works fine :)
 
Status
Not open for further replies.
Back
Top