how is this possible…seems like the admin (myself) is the onyl one who can pm groups from a list….even the other mods cant see or use the list off the members list to pm groups
Support Forum
by default, only admins can pm to specific usergroups because of spam concerns (has been abused in the past)…
however, we do give you a hook to override that if you like… use the ‘sph_pm_email_special’ hook and return a true to allow any user to send to usergropus… or calculate the value yourself if you want to control the ability separately…
put what? the hook? if so, something like:
add_filter('sph_pm_email_special', 'my_allow_usergroups');
function my_allow_usergrouops($flag) {
return true;
}
should do it…
Mr Papa said
Explain what that means please…And repost your code you used…
i copied and pasted the code u gave me at the bottom of the spFunctions.php file
There is nothing wrong with the code so it must have been the way you added it or where you added it. Did you add it outside of the closing php tag at the bottom of the page. If so it needs to be before that closing tag and there must be NO white space – or new, empty lines after that closing tag.
If that is not it then please do repost the code from the actual file.
looks like a slight typo in the function name (doesnt quite agree with the hook argument)… try this, works for me:
add_filter('sph_pm_email_special', 'my_allow_usergroups');
function my_allow_usergroups($flag) {
return true;
}
it wont show you the members… just the usergroups list… select a usergroup… if you want to see who is in what usergroup, you have to look at the members list page…