Replies
Hi Brandon,
Theming will fix this problem.
Thank You
RaviHi Brandon,
Please place the following css code in your current theme style.css file at the bottom.
.bpajax-register-window { color: #fff; background: #232b2d none repeat scroll 0 0; } #register_form input[type="text"], #register_form textarea { width: 100%; } #register_form #basic-details-section input[type="password"], #register_form #blog-details-section input#signup_blog_url { width: 100%; } #register_form textarea, #register_form input[type="text"], #register_form select, #register_form input[type="password"] { background: rgba(0, 0, 0, 0.2) none repeat scroll 0 0; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 2px; color: #888; }
and let me know if it works or not.
Thank You
Ravi- Ravi on September 6, 2016 at 6:21 pm in reply to: BP Ajax Registration – Request to close it without clicking on the X #5417
Hi Brandon,
Please customize the following file “bp-ajax-register.js” on line no. 110 and change the following section
closeOnBgClick: false,
change it to
closeOnBgClick: true,
Thank You
Ravi Hi Jaume,
Thank you for the acknowledgement. I an glad that Issue is resolved by your own.
Thank You
Ravi- This reply was modified 8 years, 8 months ago by
Ravi.
- This reply was modified 8 years, 8 months ago by
Hi Giovanni,
Welcome to the BuddyDev Forum. Please refer the following url. It will help you.
https://buddydev.com/buddypress/show-buddypress-user-registration-form-everywhere-buddypress-site/
Thank You
Ravi- Ravi on August 19, 2016 at 2:00 am in reply to: [Resolved] BP Auto Activate Autologin Redirect – new members not showing on site #5139
Hello Paul,
Sorry for the inconvenience. I am looking into the issue and will update you soon.
Thank You
Ravi Hi Dandy,
I have done some modification in the code. please replace the code with the following and let me know if it works or not.
add_action( 'bp_setup_nav', 'buddydev_setup_modified_nav', 20 ); function buddydev_setup_modified_nav() { $bp = buddypress(); bp_core_remove_subnav_item( buddypress()->activity->id, 'just-me' ); $bp->bp_options_nav['activity']['mentions']['position'] = 40; $bp->bp_options_nav['activity']['favorites']['position'] = 30; if ( bp_is_active('groups') ) { $bp->bp_options_nav['activity']['groups']['position'] = 20; } if ( bp_is_active('friends') ) { $bp->bp_options_nav['activity']['friends']['position'] = 10; } bp_core_new_nav_item( array( 'name' => __('Home','buddypress'), //replace with your name 'slug' => 'home', // slug must be unique 'screen_function' => 'buddydev_show_activity', 'position' => 1, // unique 'default_subnav_slug' => false, 'show_for_displayed_user' => true, //Whether the nav item should be visible when viewing a member profile other than your own ) ); bp_core_new_nav_default ( array( 'parent_slug' => buddypress()->activity->id, 'subnav_slug' => 'friends', 'screen_function' => 'bp_activity_screen_friends' ) ); if ( bp_displayed_user_domain() ) { $user_domain = bp_displayed_user_domain(); } elseif ( bp_loggedin_user_domain() ) { $user_domain = bp_loggedin_user_domain(); } else { return; } $parent_slug = bp_get_profile_slug(); $parent_url = trailingslashit( $user_domain . $parent_slug ); bp_core_new_subnav_item( array( 'name' => __( 'Personal' ), 'slug' => 'just-me', 'parent_slug' => $parent_slug, 'parent_url' => $parent_url, 'position' => 0, 'screen_function' => 'buddydev_show_activity' )); bp_core_remove_subnav_item( 'profile', 'public' ); if ( ! apply_filters( 'buddydev_hide_profile_personal_tab', false ) ) { $sub_nav = array( 'name' => _x( 'View', 'Profile header sub menu', 'buddypress' ), 'slug' => 'public', 'parent_url' => $parent_url, 'parent_slug' => $parent_slug, 'screen_function' => 'xprofile_screen_display_profile', 'position' => 0, 'link' => $parent_url.'public', ); bp_core_new_subnav_item( $sub_nav ); } } add_action( 'bp_xprofile_setup_nav', 'buddydev_setup_default_profile', 5 ); function buddydev_setup_default_profile() { bp_core_new_nav_default( array( 'parent_slug' => bp_get_profile_slug(), 'subnav_slug' => 'just-me', 'screen_function' => 'buddydev_show_activity' ) ); } function buddydev_show_activity() { add_action( 'bp_template_content', 'buddydev_render_screen_my_activity' ); bp_core_load_template( 'members/single/plugins' ); } function buddydev_render_screen_my_activity() { ?> <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> <ul> <li id="activity-filter-select" class="last"> <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label> <select id="activity-filter-by"> <option value="-1"><?php _e( '— Everything —', 'buddypress' ); ?></option> <?php bp_activity_show_filters(); ?> <?php /** * Fires inside the select input for member activity filter options. * * @since 1.2.0 */ do_action( 'bp_member_activity_filter_options' ); ?> </select> </li> </ul> </div><!-- .item-list-tabs --> <?php if( is_user_logged_in() && bp_is_my_profile() ) { bp_get_template_part( 'activity/post-form' ); } echo "<div class='activity'>"; bp_get_template_part( 'activity/activity-loop' ); echo "</div>"; }
Thank You
RaviHi Dandy,
Sorry for the delayed reply. I am looking into it and will let you now.
Thank You
Ravi- Ravi on August 5, 2016 at 5:23 pm in reply to: Is it possible to show a recipe activity in the buddypress activity stream ? #4949
Hi Aravind,
Welcome to BuddyDev. Please let me know for creating recipes are you using BuddyBlog plugin.
Thank You
Ravi Hello Dandy,
Try the following code and let me know if it works or not
add_action( 'bp_setup_nav', 'buddydev_setup_modified_nav', 20 ); function buddydev_setup_modified_nav() { $bp = buddypress(); bp_core_remove_subnav_item( buddypress()->activity->id, 'just-me' ); $bp->bp_options_nav['activity']['mentions']['position'] = 40; $bp->bp_options_nav['activity']['favorites']['position'] = 30; if ( bp_is_active('groups') ) { $bp->bp_options_nav['activity']['groups']['position'] = 20; } if ( bp_is_active('friends') ) { $bp->bp_options_nav['activity']['friends']['position'] = 10; } bp_core_new_nav_item( array( 'name' => __('Home','buddypress'), //replace with your name 'slug' => 'home', // slug must be unique 'screen_function' => 'buddydev_show_activity', 'position' => 1, // unique 'default_subnav_slug' => false, 'show_for_displayed_user' => true, //Whether the nav item should be visible when viewing a member profile other than your own ) ); bp_core_new_nav_default ( array( 'parent_slug' => buddypress()->activity->id, 'subnav_slug' => 'friends', 'screen_function' => 'bp_activity_screen_friends' ) ); if ( bp_displayed_user_domain() ) { $user_domain = bp_displayed_user_domain(); } elseif ( bp_loggedin_user_domain() ) { $user_domain = bp_loggedin_user_domain(); } else { return; } $parent_slug = bp_get_profile_slug(); $slug = trailingslashit( $user_domain . $parent_slug ); bp_core_new_subnav_item( array( 'name' => __( 'Personal' ), 'slug' => 'just-me', 'parent_slug' => $parent_slug, 'parent_url' => $slug, 'position' => 0, 'screen_function' => 'buddydev_show_activity' )); bp_core_new_nav_default ( array( 'parent_slug' => $parent_slug, 'subnav_slug' => 'just-me', 'screen_function' => 'buddydev_show_activity' ) ); } function buddydev_show_activity() { add_action( 'bp_template_content', 'buddydev_render_screen_my_activity' ); bp_core_load_template( 'members/single/plugins' ); } function buddydev_render_screen_my_activity() { ?> <div class="item-list-tabs no-ajax" id="subnav" role="navigation"> <ul> <li id="activity-filter-select" class="last"> <label for="activity-filter-by"><?php _e( 'Show:', 'buddypress' ); ?></label> <select id="activity-filter-by"> <option value="-1"><?php _e( '— Everything —', 'buddypress' ); ?></option> <?php bp_activity_show_filters(); ?> <?php /** * Fires inside the select input for member activity filter options. * * @since 1.2.0 */ do_action( 'bp_member_activity_filter_options' ); ?> </select> </li> </ul> </div><!-- .item-list-tabs --> <?php if( is_user_logged_in() && bp_is_my_profile() ) { bp_get_template_part( 'activity/post-form' ); } echo "<div class='activity'>"; bp_get_template_part( 'activity/activity-loop' ); echo "</div>"; }
Thank You
Ravi