I would like editor profile can access to suscriber profile awaiting validation.
$user = wp_get_current_user();
$user_id = um_user('ID');
um_fetch_user( $user_id );
if ( $user->roles[0] == 'editor') {
}
echo '<td>'.'<br>';
echo '<td>'.'<br>';
I block after the 5th line.
Can you help me ?
Regards,
]]>I’m using WP Cassify 1.7.5.
I try to set a role to new user after CAS authenticaition (using “user role settings”) but it fails : no role set to the user even if the rule is ok.
I think I found 2 mistakes in wp_cassify_plugin.php :
1. Line 340, the role should be subscriber and not suscriber
2. Because a user can have only one role (by default), I think $this->wp_cassify_get_roles_to_push( $cas_user_datas, $wp_cassify_user_role_rules );
should be used after array_push( $roles_to_push, 'subscriber' );
Thank you,
Vincent.
https://www.ads-software.com/plugins/wp-cassify/
]]>I have tried to deactivate all the pluggins but the problem still is there.
Any idea?
Thank you
]]>What I need now is to let my “suscriptors” choose an activity from a list, but each option can hold a limited amount of suscriptors (“Activity A” has a limit of 30, so when that amount is reached, the option should automatically block or dissapear). Of course I must have further access to the lists per activity.
Is there any plugin for that or similar? I prefer having the option available in the profile, or on the desktop, but if that’s not posible it could work having a widget available on a Page or in the Sidebar.
Thanks to anyone that can help!!
]]>