PDA

View Full Version : Remove PM limit for moderators


Mark Hewitt
09-24-2001, 11:52 AM
I limit PM's to 250 on my forums, except for admins. How can I remove the PM limit for my moderators but keep it for normal registered members?

tubedogg
09-24-2001, 04:01 PM
in private.php
Find if ($pmquota>0 and $touserinfo[usergroupid] != 6 and $bbuserinfo[usergroupid] != 6) {
replace it with if ($pmquota>0 and $touserinfo[usergroupid] != 6 and $bbuserinfo[usergroupid] != 6 and $touserinfo[usergroupid] != X and $bbuserinfo[usergroupid] != X) {
Find if (($pmquota > 0) && ($touserinfo[usergroupid] != 6) && ($bbuserinfo[usergroupid] != 6)) {
replace it with if (($pmquota > 0) && ($touserinfo[usergroupid] != 6) && ($bbuserinfo[usergroupid] != 6) && ($touserinfo[usergroupid] != X) && ($bbuserinfo[usergroupid] != X)) {
Find if (($pmquota > 0) && (($touserinfo[messages] + $nummessages) > $pmquota) && ($bbuserinfo[usergroupid] != 6) && ($touserinfo[usergroupid] != 6)) {
replace it with if (($pmquota > 0) && (($touserinfo[messages] + $nummessages) > $pmquota) && ($bbuserinfo[usergroupid] != 6) && ($touserinfo[usergroupid] != 6) && ($bbuserinfo[usergroupid] != X) && ($touserinfo[usergroupid] != X)) {
where X is the usergroupid of your mods group in all places it appears above.