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...
Visit Cruise Talk Central and Mr Papa's World
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...
Visit Cruise Talk Central and Mr Papa's World
Ah, sorry... In the spFunctions.php file of your sp theme...
Visit Cruise Talk Central and Mr Papa's World
Explain what that means please...
And repost your code you used...
Visit Cruise Talk Central and Mr Papa's World
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.
YELLOW
SWORDFISH
|
1 Guest(s)