PDA

View Full Version : higher pm limit for mod's and admins


pank
04-09-2002, 10:38 PM
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...

Zzed
04-09-2002, 10:46 PM
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. :)

pank
04-09-2002, 11:11 PM
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...

pank
04-09-2002, 11:24 PM
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...

Zzed
04-10-2002, 09:57 AM
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

pank
04-10-2002, 10:31 AM
Thanks a ton... I'll give that a whirl when I get home later. Thanks...