@randomskate
Not recently active
-
randomskate started the forum topic How to demote members with PHP in the group How-To and Troubleshooting 14 years, 6 months ago
I am trying this and I cannot get it to work:
$demote_to = S2MEMBER_CURRENT_USER_ACCESS_LEVEL – $demotion_value; (works fine)
but THEN…this:$demotion_role = c_ws_plugin__s2member_option_forces::force_demotion_role ($demote_to); […]