Replies
- This reply has been marked as private.
Thank you.
- Brajesh Singh on September 26, 2018 at 8:22 am in reply to: How to force users to upload at least one photo in the mediapress gallery? #17665
Hi Margrita,
1.We won’t be adding any functionality to restrict user’s interaction on site. It is beyond the scope of MediaPress.
But, with 1.5, It will be few lines of code that I will share with you if you needed to restrict the user.
Regards
Brajesh Hi Margarita,
Please let me know a few more things and I will post some code for the same.1. If the user is not allowed to interact on the site, what should they will be allowed to do?
Regards
Brajesh- Brajesh Singh on September 26, 2018 at 7:20 am in reply to: BuddyPress Member Types Pro – assigning WP Roles on subdomains #17663
Hi Atlantis,
Thank you for using the plugin.I am sorry but there is no feasible solution for this case. I will explain the issue.
1. You have set a member type to trigger role change
2. You have also setup role to trigger member type changeNow, when you add a user on a sub site with a specific role, you want the role to trigger the member type change(works) and then this member type change to trigger role change(does not work).
It does not work as it will cause an infinite cycle role triggering membertype triggering role. To avoid this loop, we only allow either member type to role or role to member type in one transaction.
Hope it clarifies.
Regards
Brajesh - Brajesh Singh on September 25, 2018 at 11:20 pm in reply to: [Resolved] Embed streamable.com video in member profile field #17657
Hi Max,
Please use the updated file from herehttps://buddydev.com/downloads/coub-custom/versions/coub-custom-1-0-1.zip
It allows both the embeddable url or the default view url.
Please make sure to update field id and styelsheet url.
Regards
BrajeshPS:- It won’t work with auto update. You will need to delete old and upload new.
Regards
Brajesh - Brajesh Singh on September 25, 2018 at 11:04 pm in reply to: [Resolved] Tab not moving / default sub nav not changing #17656
Hi Andi,
I am sorry for the delayed reply.1. It seems to me there is another tab there which is using the position. Can you please tell me what is the “Berater Dashboard”?
2. Sure, Please use ‘public’.
Regards
Brajesh Hi Chris,
Here is the updated code. Add your page slug to the excluded pages and those pages will be excluded./** * Make a WordPress site Private, works with/Without BuddyPress * * @author sbrajesh * @global string $pagenow * */ function buddydev_private_site() { //do not restrict logged in users if ( is_user_logged_in() ) { return ; } //first exclude the wp-login.php //register //activate global $pagenow; //if we are here, the user is not logged in, so let us check for exclusion //we selectively exclude pages from the list //are we on login page? if ( $pagenow == 'wp-login.php' ) { return ; } // let us exclude the home page. if ( is_front_page() ) { return ; } // Exclude some page. $excluded_pages = array( 'terms' ); //add all your pages that you want to exclude. if ( is_page( $excluded_pages ) ) { return; } //handle Special case of BuddyPress registration/Login if ( function_exists( 'is_buddypress' ) && is_buddypress() ) { if ( bp_is_activation_page() || bp_is_register_page() ) { return ; } } $redirect_url = wp_login_url( site_url('/') );//get login url, wp_safe_redirect( $redirect_url ); exit( 0 ); } add_action( 'template_redirect', 'buddydev_private_site', 0 );Regards
Brajesh- Brajesh Singh on September 25, 2018 at 10:58 pm in reply to: [Resolved] Embed streamable.com video in member profile field #17654
Hi Max,
Just came back to work again. Will have an update within 3-45 minutes.Regards
Brajesh - Brajesh Singh on September 25, 2018 at 3:46 pm in reply to: [Resolved] Tabs Creator Pro, 404 not found #17650
No, It does not uses css. It removes them completely using
bp_core_remove_nav_item(); bp_core_remove_subnav_item()Regards
Brajesh