Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,276 through 10,300 (of 68,948 total)
  • Author
    Search Results
  • #252955
    danbp
    Participant

    Hi,

    login as ste admin and go to dashboard > Groups (wp-admin/admin.php?page=bp-groups). There will be a list of all existing groups. Click on the one you want to asign members.

    Eventually open screen option tab (underneath top right corner) and ensure that add new members and members admin options are checked.

    Below the group description field, you have another box where you can enter a username for the member you want to add. Normaly you’ll get one by auto-completion after typing a letter or two.

    That’all.

    Codex ref: https://codex.buddypress.org/administrator-guide/groups/#groups-management-panels

    #252937
    BobSD99
    Participant

    A quick followup, I see the permitted field value for the checkbox (in this case) is stored in field 315 in table wp_bp_xprofile_fields – how do I query this checkbox setting value?

    I want to pull the correct value from the database, so in case I update that checkbox field’s option in the backend, I can correctly set it.

    I don’t see a function in /buddypress/bp-xprofile/bp-xprofile-functions.php: that seems to pull this, and nothing is locking in with Google….

    hame58g
    Participant

    Hi, Does anybody know how to change the text of the favorite button to an image and still return the AJAX function. I have changed it to shape but it does not return AJAX function that is triggered when you click the favorite button. I’ve changed bp-templates/bp-legacy/buddypress-functions.php to this:

    
    /**
     * Mark an activity as a favourite via a POST request.
    ...
     */
    function bp_legacy_theme_mark_activity_favorite() {
    	// Bail if not a POST action.
    	if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) )
    		return;
    
    	if ( bp_activity_add_user_favorite( $_POST['id'] ) )
    		echo '<img src="../images/star_on.png">';
    	else
    		echo '<img src="../images/star_off.png">';
    
    	exit;
    }
    
    /**
     * Un-favourite an activity via a POST request.
    ...
    function bp_legacy_theme_unmark_activity_favorite() {
    	// Bail if not a POST action.
    	if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) )
    		return;
    
    	if ( bp_activity_remove_user_favorite( $_POST['id'] ) )
    		echo '<img src="../images/star_off.png">';
    	else
    		echo '<img src="../images/star_on.png">';
    
    	exit;
    }
    

    I also did the the necessary adjustment to /buddypress/activity/entry.php and changed _e( 'Favorite', 'buddypress' ); to echo '<img src="../images/star_off.png">'; and _e( 'Remove Favorite', 'buddypress' ); to echo '<img src="../images/star_on.png">';Favourit button now has changed its shape to a nice star that change when you click on it but not as AJAX. It keeps refreshing the page each time I click the button.

    any help would be appreciated.

    BuddyPress: 2.5.2 —- WP: 4.5 2.5.2 —- WP: 4.5

    #252912
    shanebp
    Moderator

    Did you try searching for info re BP rss feeds?
    Perhaps this will help:
    https://buddypress.org/support/topic/disable-all-rss-feeds-update/

    #252909
    pckelly123
    Participant

    I changed the language files instead of using the gettext method because of the performance warnings.

    However, I still can’t figure out how to change the url
    I followed this thread
    https://buddypress.org/support/topic/resolved-changing-groups-to-teams/
    Which lead me to try the suggestion but it looks like that constant is at least deprecated if not removed.

    Changing Internal Configuration Settings

    Any ideas?

    #252903
    creamundo
    Participant

    Hi @imath ,

    I saw you take a lot of interest with this problem and I’m having same issue, or at last similar issue.
    I can’t see my avatar profile pictures and the link to change that.
    I’m using Kleo theme, but if I put twentyfifteen the issue is still there.
    I disable all the plugins except buddypress and the issue is still there.
    Have the latest version of buddypress and wordpress.

    Help please… :~(

    #252892
    wordpressowicz
    Participant
    #252881
    danbp
    Participant

    Hi,

    You’re probably on a large screen. Default display of the directory is already a list. See template code (members-loop.php) using ul and li !

    Check your theme or try to simulate a mobile screen (if u use firefox it’s Ctrl+shif+m) to see if your directory get wrapped or not. If not, adjust your (child)theme CSS.

    sharmavishal
    Participant

    Have you looked at template hierarchy?

    Template Hierarchy

    #252860
    Henry Wright
    Moderator

    Hi @etavio

    Your custom plugin is most likely filtering get_avatar to display your custom images. BuddyPress actually bypasses that filter through the use of bp_core_fetch_avatar().

    Ref: https://github.com/buddypress/BuddyPress/blob/master/src/bp-core/bp-core-avatars.php#L192

    You will need to use a different filter.

    modemlooper
    Moderator

    BuddyPress users are the same as WordPress so you can create a user using https://codex.wordpress.org/Function_Reference/wp_create_user

    To set profile fields data:

    xprofile_set_field_data( $field, $user_id, $value, $is_required = false )
    
    $fields = field id
    
    $user_id = current login user id
    
    $value = inserted value
    
    $is_required = boolean
    #252857
    modemlooper
    Moderator

    BuddyPress searches username and profile fields to find a member. You would need to develop a custom solution for this. Is this requirement for site admins? If so, you can find members by id in the admin -> Users menu item.

    #252856
    modemlooper
    Moderator

    Any profile fields you create in the admin that are in the first section are automatically added to the registration form.

    User Extended Profiles

    #252855
    danbp
    Participant

    Hi,

    you have to check your custom plugin. Or even to deactivate it, as it is no more necessary when you use BP. Problem seems to be that you created something related to members handling before BP was installed.

    BuddyPress handles members and their avatars via the buit-in WP avatar function.

    If you need more help, please give details about your config, theme and custom code. Thxs 😉

    #252854
    danbp
    Participant

    Hi,

    it’s related to a custom work of the theme used on buddypress.org. You can read more here and get the source code here.

    Read also some advice here

    #252836
    Henry Wright
    Moderator

    If so, make sure you assign that page to your BuddyPress “register” page under the BuddyPress admin menu.

    #252831
    shanebp
    Moderator

    Unless you are explicitly using the bp-default theme, not recommended, you should always use these templates: buddypress\bp-templates\bp-legacy\

    iow. this members-loop:
    buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.php

    #252826
    carrieoke13
    Participant

    Thanks, Shane.

    So I have it working now using:

    
    $your_city= xprofile_get_field_data( 'City' ,bp_get_member_user_id());
    				
    if ( $your_city != false ) 
       echo $your_city; 

    I am super new to BuddyPress – is there a reason not to do it that way? I really appreciate your help.

    #252818
    Paul Wong-Gibbs
    Keymaster

    Do not edit core BuddyPress files. Next update, it’ll be replaced and you’ll have to do it all over again.

    #252817
    fredgraver
    Participant

    Sure:

    bbPress
    BB Profile Search
    BB Registration Options
    BuddyPress
    BuddyPress Cover Photo
    BuddyPress Docs
    BuddyPress Group Email
    Fast Secure Contact Form
    K Elements
    NextGen Gallery
    NextGen Plus
    rtMedia for WordPress, BuddyPress and bbPress
    Sidekick
    Slider Revolution
    User Role Editor
    WP Smush Pro
    WP-DBManager
    WPBakery Visual Composer
    WPMU Dev Dashboard

    No Custom Code on there, just what comes with Kleo and WP.

    thanks!

    fred

    #252814
    Hugo Ashmore
    Participant

    @mtgame21 We attempted to comprehensively provide classes on the body element to cover and catch as many conditions in BP so check those classes – as Henry points out – on the body element. The first you’ll possibly notice is ‘.bp-user’ to cover all instances of a users account screens. As an example if you’re looking at your profile screen you should see a series of body class tokens like this:

    xprofile bp-user my-account my-profile profile public buddypress

    With these classes we cover all important states, we inform we are on a Users series of screens ‘bp-user’, we state in this instance that it’s the logged in users account with ‘my-account’, we state the specific screen ‘profile’ and again we further specify that this is ‘my-profile’ the logged in user.

    Check out further screens to see how these class tokens will change.

    #252807
    SlowSpeed
    Participant

    Ok, I tried what you said
    I changed the theme and enabled just the buddypress plugin and still I can’t send any messages..
    It only works if I send a global message to all users with admin (but still no one recieve it) but if I try to send to a specific user it doesn’t work

    #252803
    Rapforthemoment
    Participant

    I have successfully removed the message from appearing in my backend by cutting out this code in wp-content/plugins/buddypress/bp-core/admin/:

    if ( !empty( $orphaned_components ) ) {
    		$admin_url = bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) );
    		$notice    = sprintf( __( 'The following active BuddyPress Components do not have associated WordPress Pages: %2$s. <a href="%1$s">Repair</a>', 'buddypress' ), esc_url( $admin_url ), '<strong>' . implode( '</strong>, <strong>', $orphaned_components ) . '</strong>' );
    
    		bp_core_add_admin_notice( $notice );
    	}

    So far there are no malfunctions and no drawbacks. The message is gone and everything appears normal. Seemed to do the trick. Now I can register users through my themes registration process and not have to worry about any Buddypress registration.

    #252802
    Rapforthemoment
    Participant

    Is there really no way to remove that nag notification? That seems like a pretty big drawback. Not even in the Buddypress files, there isn’t some code to cut out or insert to remove this message?

    #252788
    shanebp
    Moderator
Viewing 25 results - 10,276 through 10,300 (of 68,948 total)
Skip to toolbar