View Full Version : higher pm limit for mod's and admins
How hard would it be to allow the admin's and mod's to have a higher stored pm limit than the users. Right now I only allow my users a max of 5. Unfortunately that means that I and my mods can also only have 5. Any way around this. Thanks...
Admins have no limits in their PM quota. ;)
I can make a hack to remove that quota for moderators as well. Let me know if you are interested. :)
Hmmm, I guess I never noticed for me since I always delete them after I read them but I'll take you up on the admins part. Thanks...
Since it's already set for admins I'm guessing I just need to find the code and add another user group to that statement? Any help is appreciated. Thanks again...
Ok I found this code
if ($pmquota>0 and $touserinfo[usergroupid] != 6 and $bbuserinfo[usergroupid] != 6) {
$msgcount = $DB_site->query_first("SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=$touserinfo[userid]");
in private.php I'm guessing that is what I need to change? If so all I need is the updated usergroup to include mod's. Thanks again...
That's one of them.
I just remember having posted this at VB.com. It's for version 2.2.2. But I think it should work with the latest as well. ;)
http://www.vbulletin.com/forum/showthread.php?s=&postid=250561#post250561
BTW, I got smacked for posting code hacks over there. :D
Thanks a ton... I'll give that a whirl when I get home later. Thanks...
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.