Replies
- Brajesh Singh on April 20, 2018 at 6:50 pm in reply to: [Resolved] Redirect admin URL profile and setting profile to 404 & dropdown profile tabs #14685
You are welcome.
- Brajesh Singh on April 20, 2018 at 6:50 pm in reply to: Notifications shows 1, but then when you click it, it ways no new visitors? #14684
Hi Joanne,
Thank you for purchasing the plugin.
Excluding admin role should not cause that issue.Are you using any plugin or code that hides users from lists?
Please let me know and I will be able to assist.
Thank you
Brajesh - Brajesh Singh on April 20, 2018 at 6:46 pm in reply to: [Resolved] BP Profile Tab Pro – Default Tab Error #14683
Hi Sujee,
Please use the following code
https://gist.github.com/sbrajesh/e932e6d8bbfd4a515e070f520ce40ef4and in the post content box, you can simply use
[bp-user-last-post]Regards
Brajesh Hi Julia,
I have fixed the layout.You may use the following code instead
bp_nav_menu();That will generate proper menu with sub menu.
Regards
Brajesh- Brajesh Singh on April 20, 2018 at 1:28 pm in reply to: Force redirect user to profile edit page if required profile fields are empty #14675
Hi Tosin,
You may want to keep an eye over this topichttps://buddydev.com/support/forums/topic/force-profile-data/
Reagrds
Brajesh - Brajesh Singh on April 20, 2018 at 1:26 pm in reply to: [Resolved] Redirect admin URL profile and setting profile to 404 & dropdown profile tabs #14674
For 1,3, Please use the following code
function buddydev_redirect_admin_url() { // part 1. redirect to user profile if accessing the home page. if ( is_user_logged_in() && is_front_page() ) { bp_core_redirect( bp_loggedin_user_domain(), 301 ); } if ( bp_is_user() && ! bp_is_my_profile() && user_can( bp_displayed_user_id(), 'manage_options' ) ) { bp_core_redirect( site_url( '/404/' ) ); } } add_action( 'bp_template_redirect', 'buddydev_redirect_admin_url' );Regards
Brajesh - Brajesh Singh on April 20, 2018 at 1:17 pm in reply to: [Resolved] BuddyPress Simple Front End Post change icon and add a custom text #14673
Thank you for confirming. I am glad it worked.
Marking as resolved.
- Brajesh Singh on April 20, 2018 at 1:11 pm in reply to: [Resolved] BuddyPress Simple Front End Post change icon and add a custom text #14671
Ahh,
Sorry about that. I see it is a php error.It was an error on my part, there will be an extra ‘)’ in the code.
<?php if( ! current_user_can( buddyblog_get_option( 'post_cap' ) ) ) :?> message... here.. <?php endif;?>Please use this instead.
- Brajesh Singh on April 20, 2018 at 1:08 pm in reply to: [Resolved] BuddyPress Simple Front End Post (privilege of users) #14669
Closing in favor of https://buddydev.com/support/forums/topic/buddypress-simple-front-end-post-change-icon-and-add-a-custom-text
- Brajesh Singh on April 20, 2018 at 1:02 pm in reply to: [Resolved] BuddyPress Simple Front End Post change icon and add a custom text #14667
What trouble do you have in setting up a new post? I don’t see any issue caused by this unless you are using some other snippet to modify the behaviour too.