https://www.ads-software.com/plugins/advanced-access-manager/
]]>WordPress has that ability with blog posts but I don’t see that ability for events.
The events do not require registration and all that bells and whistles. In fact all I need is the calendar. The caveat I’m looking for better calendar functionality like repeating events on day or date, a “new” icon for changed or updated events, filtering, all that.
I was looking at event expresso but it seems to be way more than what is needed for the user group that will be using the site.
Thanks!
https://www.ads-software.com/plugins/s2member/
]]>Doing this would allow me to use the same blog for different purposes with that much more administrative burden.
Is anybody aware of a plugin that would do this?
]]>I would like to take the buy button (WooCommerce) Show only to people who are in this group.
Pseudocode:
if(UserHasAccessToBuy) {
echo “Show Buybutton”
} else {
echo “U are not in this Group to buy this Product”
}
thx
https://www.ads-software.com/extend/plugins/user-access-manager/
]]>add_action('init', 'estheme_custom_init');
function estheme_custom_init() {
register_post_type('estheme',array(
'labels' => $labels,
'public' => true,
'show_in_menu' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'post',
'capabilities' => array(
'edit_posts' => 'edit_esthemes',
'edit_post' => 'edit_estheme',
'delete_post' => 'delete_estheme',
),
'has_archive' => true,
'hierarchical' => false,
'menu_position' => null,
'supports' => array('title', 'editor', 'author', 'thumbnail', 'comments', 'custom-fields'),
'rewrite' => true,
'menu_position' => 5,
));
}
add_action('admin_init', 'estheme_caps');
function estheme_caps() {
// Allow subscribers to post
global $wp_roles;
foreach($wp_roles->get_names() as $role_key => $role_name) {
$role =& get_role($role_key);
if($role->has_cap('read')) {
$role->add_cap('edit_esthemes');
# The instructions say to leave the last 's' off in a few places, but subscribers can't see "esthemes" in the admin menu.
//$role->add_cap('edit_estheme');
//$role->add_cap('upload_files');
# Subscribers can still delete without this...
//$role->add_cap('delete_esthemes');
}
}
}
]]>What I am ideally looking for is the ability to add one user from each club but I want to be able to limit their ability to only add posts into their pre-set category? (say by ticking a box for the allowed categories when I add the user)
For example there may be a surf club in Newcaslte and a surf club in Brisbane. If I add a user for each, is there the ability make it so only… say 2 categories are listed for the brisbane one to tick when creating a post (like QLD Clubs, Brisbane Surf Club)… rather than all of them?
I have installed “User Access Manager” but I don’t think it does what I am after.
Hope that makes sense.
Thankyou very much for your help.