3
People watching this product now!
GET NOTIFIED WHEN ITEM IS UPDATED
X
Mon. – Set:
10:00AM - 10:00 PM IST
BuddyPress Default Group Tab GPL – is a simple plugin that allows site admin/group admins to control the default landing component/page of a BuddyPress Group.
$2.41
BuddyPress Default Group Tab GPL – is a simple plugin that allows site admin/group admins to control the default landing component/page of a BuddyPress Group.
BuddyPress default group tab is a simple plugin that allows site admin/group admins to control the default landing component/page of a BuddyPress Group.+
The good thing is, you can control which group has which component set as default landing page.
For example, In a group fashion, you can make the activity as the default landing page while in group education, you can make forum as the default landing page.
Does it work with BuddyPress Plugins using Group Extensions?
Indeed, it does.
Settings Screen:-
You can view this screen by visiting Individual Group->Admin->Settings PageExample landing page:-
This is what happens when members is set as default tab.
By default, site admins and group admins can change the tab. If you want to limit the tab change to certain roles, we have a filter for that. You can use the filter ‘bp_default_group_tab_user_can_update_tab’ to limit it. The attached callback will receive the current permission(Boolean) and the user id.
Here is an example where we restrict it to siteadmin only.
/** * Customize who can change the permission. * * @param bool $can is allowed? * @param int $user_id for this user? * * @return bool */ function buddydev_custom_group_tab_permissions( $can, $user_id ) { return is_super_admin( $user_id ); } add_filter( 'bp_default_group_tab_user_can_update_tab', 'buddydev_custom_group_tab_permissions', 10, 2 );
. - Compatible with | |
---|---|
. - Product type | |
. - License | |
. - Brands | |
. - Update |
1 YEAR UPDATES |
Only logged in customers who have purchased this product may leave a review.
No account yet?
Create an Account
Reviews
There are no reviews yet.