Support Forum
Ability to Enable / Restrict Ability to PM Usergroups
Matt Vitelli_1
Rookie
Offline
Hi Guys,
Wanted to see if i was missing this or not. I dont want my standard users to have the ability to PM the entire user group that they are in. Admins/ Moderators should be able to send theses types of messages. Let me know if this is possible or not and if so how to do it.
Thanks,
MattV.
that ability is limited to admins... if you wanted to allow for moderators, you would need to use the filter 'sph_pm_email_special' and return true for admins and mods... something like:
add_filter('sph_pm_email_special', 'my_special_pm_permission'); function my_special_pm_permission($perm) { global $spThisUser; return ($spThisUser->admin || $spThisUser->moderator); }
Visit Cruise Talk Central and Mr Papa's World
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625