Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 5,226 through 5,250 (of 68,915 total)
  • Author
    Search Results
  • #303090
    shanebp
    Moderator

    Why is it no longer in the loop?

    How are you gathering your list of users?
    Have you tried, in your ajax function, using BP_User_Query ? You can then use a loop and bp_the_member() will work.

    Otherwise, you can use this is get each separate piece of a user’s profile data:
    xprofile_get_field_data( $field, $user_id = 0, $multi_format = 'array' )

    To get all the profile data at once, if you have the email address you could use bp_xprofile_personal_data_exporter( $email_address )

    Or if you only have the user_id, you could use: BP_XProfile_ProfileData::get_all_for_user( $user_id )

    #303077
    Smith Giulia
    Participant

    Yes the issue gets resolved when you revert back to Buddypress 2.9.4. Many of them are facing the same issue & it needs to be fixed ASAP. I believe that the issue lies with the Buddypress 3.0.0 + updates. Please developer have a look & try to resolve it ASAP.

    #303076
    dennis.cabasal
    Participant

    Hi,

    I try the new version 4.2.0 but still got the same issue as I reported 8 months ago: “Users Profile Settings option page is not working.”. so I am reverting it back again to my previous version of Buddypress 2.9.3.

    Thanks

    #303069
    shanebp
    Moderator

    Have you tried using the filter hooks to write functions that bypass the blacklist and moderation checks? You can find the hooks in this file: buddypress\bp-core\bp-core-moderation.php

    For example, this could go in your theme > functions.php or in bp-custom.php :

    function bp_bypass_checks( $flag, $user_id, $title, $content ) {
    	return true;	
    }
    add_filter( 'bp_bypass_check_for_blacklist', 'bp_bypass_checks', 1, 4 );
    add_filter( 'bp_bypass_check_for_moderation', 'bp_bypass_checks', 1, 4 );
    #303067
    Fierce God
    Participant

    Hello????

    I ask this, due to when a mobile user or public is looking at website, the buddypress profile doesnt adapt to mobile view and you get a half look at someones profile page?

    Plz, i know someone out all these ppl knows how to adjust the profile pages…..

    and the answer to this

    Support topic

    #303066
    FTLRalph
    Participant

    It does look like it’s a bp-legacy thing.

    I’m no JavaScript guy but in the js file included in default bp-legacy themes there appears to be this code which is the only place I can force it to cancel the form submission, but I’d need to detect something is wrong here in the JavaScript first.

    This is the relevant section of the buddypress-activity.js file:

    // Submitting comments and replies
    if ( 'ac_form_submit' === target.prop( 'name' ) ) {
    	var comment_content, comment_data;
    
    	form = target.closest( 'form' );
    	item_id = activity_id;
    
    	// Stop event propagation
    	event.preventDefault();
    
    	if ( target.closest( 'li' ).data( 'bp-activity-comment-id' ) ) {
    		item_id    = target.closest( 'li' ).data( 'bp-activity-comment-id' );
    	}
    
    	comment_content = $( form ).find( 'textarea' ).first();
    
    	target.addClass( 'loading' ).prop( 'disabled', true );
    	comment_content.addClass( 'loading' ).prop( 'disabled', true );
    
    	comment_data = {
    		action                        : 'new_activity_comment',
    		_wpnonce_new_activity_comment : $( '#_wpnonce_new_activity_comment' ).val(),
    		comment_id                    : item_id,
    		form_id                       : activity_id,
    		content                       : comment_content.val()
    	};
    
    	// Add the Akismet nonce if it exists
    	if ( $( '#_bp_as_nonce_' + activity_id ).val() ) {
    		comment_data['_bp_as_nonce_' + activity_id] = $( '#_bp_as_nonce_' + activity_id ).val();
    	}
    
    	parent.ajax( comment_data, 'activity' ).done( function( response ) {
    		target.removeClass( 'loading' );
    		comment_content.removeClass( 'loading' );
    		$( '.acomment-reply' ).attr( 'aria-expanded', 'false' );
    		// etc...
    #303049
    MorgunovVit
    Participant

    Hi!
    I’ve solved it! If somebody interesting of it, there’s the solutions here: https://buddypress.org/support/topic/how-to-set-display_name-xprofile-custom_field-at-the-user-registration/

    #303044
    Venutius
    Moderator

    Your best bet is to first deactivate all other plugins apart from BuddyPress and see if you user still have the issue. Then you can rule out a conflict.

    #303037
    shanebp
    Moderator

    You need to ask Events Manager support questions about appropriate hooks.

    Once you have that info, you can add your own notifications.

    bp_notifications_add_notification

    #303034
    shanebp
    Moderator
    #303010
    Venutius
    Moderator
    #303008

    >>By the way, really are there no official documentation about it? Someone have to search all the BuddyPress code (ora a third party plugin code) trying to understand how to do it? ????

    Hi ShMK,
    I’m in the same boat. I found a link on the BudDev site with a bunch of shortcodes. Hope this helps.

    https://buddydev.com/docs/buddypress-shortcodes/buddypress-blogs-list-shortcode/

    Venutius
    Moderator

    The first question is if you have overloaded any template files? These would be located in themes/your-child-theme/buddypress

    If you have files in directories in there then switching the BP Theme could cause errors.

    If not then it’s worth switching to Legacy just to see if it works. However that’s not really solving the issue and if you are getting JS errors the same errors could stop the Legacy theme from working too.

    Nouveau is the latest BP Theme ans it came with extra customisation options in Customizer but if you have not used these then there’s very little difference between the two theme views.

    Might be worth letting me know what those error are so I can advise further. The other option would be to deactivate all of your other plugins and see if that fixes the problem but it’s a bit longwinded if you have some errors – better to address those first.

    moncolis
    Participant

    Yes I have 2 errors. But Iam not a proffesional, Im scaring to crash all the site.

    First should I use the Buddypress legacy if it’s resolve my problem?

    What’s the differece between Legacy and Nouveau ? It very important if I change the template ?

    moncolis
    Participant

    ok, yes it’s Buddypress nouveau

    Venutius
    Moderator

    If you look in Settings>>BuddyPress>>Options you can see which template is configured, it’s either Legacy or Nouveau.

    moncolis
    Participant

    Buddypress Version 4.1.0

    #302987
    ShMk
    Participant

    Thanks for the link πŸ™‚

    By the way, really are there no official documentation about it? Someone have to search all the BuddyPress code (ora a third party plugin code) trying to understand how to do it? 😐

    #302980

    In reply to: Formating the sliders

    Venutius
    Moderator

    I think you are talking about something not added by BuddyPress. You need to refer this to the specific plugin developer in question.

    JanDieckmann
    Participant

    Hello and sorry for bringing up again this old topic, but now it can be closed and considered resolved. After some month of ignoring that issue I came back to take care for the concerned website and still had the same problem.

    I saw that the related ticket is closed and marked as fixed. And I can acknowledge that the group pages are showing up on other installations, but on this particular site it consisted.

    So I tried again with changing the theme, deactivating all plugins, reinstalling buddypress and so on without success to finally figure out that it has had something to do with my bp-custom.php. After deleting it, it works, the group pages are shown again. I created a new bp-custom.php copied the content from the old one and it still works. Don’t know what happened or where might be an unnoticed character.

    Thanks for taking care, developing and maintaining Buddypress!

    #302937
    shanebp
    Moderator

    Untested, but try:

    function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
        // New custom notifications
        if ( 'custom_action' === $action ) {
            
            $custom_title = "You have new custom notification";
            $custom_link  = get_permalink( $item_id );
            $custom_text  = "You have a new custom notification";
    
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'custom_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link );
    
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'custom_filter', array(
                    'text' => $custom_text,
                    'link' => $custom_link
                ), $custom_link, (int) $total_items, $item_id, $secondary_item_id );
            }
    
            return $return;
    
        }
    
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 20, 5 );
    #302932
    Varun Dubey
    Participant

    @sitesfromash All the fields you keep in base group, those will be visible at registration page
    For details you can check https://codex.buddypress.org/getting-started/guides/modifying-the-registration-form/

    #302930

    In reply to: Changing group slug

    shanebp
    Moderator

    It’s simple to do.

    Create and publish a page entitled ‘Regional Groups’.
    Go to the BuddyPress Settings: yoursite.com/wp-admin/admin.php?page=bp-page-settings
    For the User Groups setting, chose ‘Regional Groups’ from the drop down.
    Then click ‘Save Settings’.

    BuddyPress will use the Regional Groups page.
    And you can use the Groups page for whatever you want.

    #302927
    mrjanvier
    Participant

    Dear,

    I tried but it didn’t work. I made a bp-custom.php map in: wp-content/plugins/bp-custom.php –> In the map bp-custom.php i placed a file bp-custom.php
    I used notedpadd ++ as a editor to place the code you give me and copied it to my server. Once installed, i can’t enter my site. It gives an error:
    Warning: require …
    Fatal error: require(): Failed opening .. class-buddypress.php on line 226

    This looks strange, cause the code filled in notepadd ++ goes only to line 11.

    I filled it in as:
    <?php
    function bp_activities_user_friends_scope( $retval ) {

    if ( bp_is_activity_directory() ) {
    $retval[‘scope’] = ‘friends’;
    }

    return $retval;
    }
    add_filter( ‘bp_after_has_activities_parse_args’, ‘bp_activities_user_friends_scope’ );
    ?>

    did I do something wrong?

    Big thank for youre help

    Venutius
    Moderator

    Looks like that would be buddypress/groups/single/members-loop.php.

    this line:

    <?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) ) ) : ?>

    Would be the one to change:

    <?php if ( bp_group_has_members( bp_ajax_querystring( 'group_members' ) . '&type=alphabetical' ) ) : ?>

    Hopefully that should work

Viewing 25 results - 5,226 through 5,250 (of 68,915 total)
Skip to toolbar