Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 2,372 total)
  • Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You should at least see yourself.

    A member will not appear on the members page until they have logged in at least once.

    If one or more of your members have logged in and still do not appear on the members page, then there may be an issue with your theme.
    To find out, try switching momentarily to a WP theme like 2015.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You will find all those templates in the BP plugin in this directory:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\

    If you want to change a file, you should create a template overload.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    This is a WP question, not specific to BP.

    Try:

    function seth_no_dashboard() {
    
       if ( is_admin() ) {
    
          if ( ! is_user_logged_in() ) {
    
    	wp_safe_redirect( site_url() );
    	exit;
    
          }
       }
    }
    add_action( 'wp_ready', 'seth_no_dashboard' ); 
    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    <?php if ( ! bp_is_my_profile() : ?>

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You don’t need that plugin.

    Instead, try this in your theme/functions.php or in bp_custom.php

    function lisa_remove_xprofile_links() {
        remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
    }
    add_action('bp_setup_globals', 'lisa_remove_xprofile_links');
    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    There is info on this codex page about replacing the default cover css.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You should ask the plugin author. Post your question on the support forum for BuddyPress Cover Photo.

    If you are using BP v. 2.4 or greater, you don’t need that plugin – profile cover photos are part of BP.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You should set up a test site so that you can do a proper evaluation.

    Answers:

    1. The reg form will include any profile fields you place in the ‘Base’ profile group.

    2. Each member has a page that includes profile editing.

    3. All active members are shown on the ‘Members’ page. That page can include profile details.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Use the Group Extension API. Bit of a learning curve, but powerful once you get it.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Have you tried using bp_loggedin_user_domain()?
    It returns the full url.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    There is a project re new templates. You can join the effort. More info…

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You can overload the BP templates in your theme. Read this…

    Some sections do not use ajax. Changing them to ajax will be a huge task.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Put this in your theme/functions.php or in bp-custom.php

    code on gist

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    1. Yes – If a site admin, on your profile > Messages > Compose… [checkbox] This is a notice to all users.

    2. Yes with https://wordpress.org/plugins/crowdmentions/

    3. No

    4. Yes – per user setting on whether they want such emails: Profile > Settings > Email

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    If hitting ‘Enter’ does not work then no, afaik.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You were clear enough about it being settings – I misread your posts.

    You should use this hook: do_action( 'bp_core_general_settings_after_save' );
    Found in: buddypress\bp-settings\bp-settings-actions.php

    Changing the feedback message is more difficult.
    You could change the content of the message by using this hook:
    apply_filters( 'bp_core_render_message_content', $bp->template_message, $type );
    Found in: buddypress\bp-core\bp-core-functions.php

    But I don’t see how you can change the type of message from error to success.

    So what I would do is – create a new tab on the Settings panel and handle everything separate from the General tab functionality.

    There is lots of documentation about that task, this will get you started…

    
    function had_setup_biz_phone_navigation() {
       bp_core_new_subnav_item( array(
    	'name'                    => 'Billing Phone',
    	'slug'                    => 'bphone',
    	'parent_url'              => bp_loggedin_user_domain() . 'settings/',
    	'parent_slug'             => 'settings',
    	'screen_function'         => 'name of the function to create the content',
    	'show_for_displayed_user' => false
       ) );
    }
    add_action( 'bp_setup_nav',   'had_setup_biz_phone_navigation' );
    
    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    modifying the general.php template

    There is no such template in a standard BP install, afaik.

    But there is an easier way to add a field…
    Why not add a profile field in the proscribed manner?
    In wp-admin, go to Users > Profile Fields and add your field to whichever Group you want.
    All fields in the Base Group will appear on the Registration page.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    If you can reproduce the issue with a vanilla install, definitely open a report on trac.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Assuming there are no errors on your site….
    afaik, the auto-complete only handles friends by default. So if you aren’t friends with ‘Jenn’, you won’t see a suggestion.

    To turn on auto-complete for all users, put this in bp-custom.php :
    define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Try this, untested:

    function jan_add_nav_menu_items( $items, $args ) {
    
        if ( is_user_logged_in() ) 
    	$items .= '<li><a href="' . bp_loggedin_user_domain() . '/groups/">My Groups</a></li>';
    
        return $items;
    }
    add_filter( 'wp_nav_menu_items', 'jan_add_nav_menu_items', 10, 2 );
    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You mean on a per-member basis?

    This plugin allows a member to block other members so they can’t message them.
    BuddyBlock

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Set up a custom notification callback. Look at existing BP components to see how it is handled.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    When you register your component, in function setup_globals, what value ( function name ) do you give to 'notification_callback' ? And does that function exist?

Viewing 25 replies - 1 through 25 (of 2,372 total)
Skip to toolbar