Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 6,676 through 6,700 (of 94,559 total)
  • Author
    Search Results
  • #303021
    sakthi31
    Participant

    We are migrating to Buddypress from an in house software. We will be having 1600 groups. All these groups would have avatar images and profile photos. While we are able to create the groups through a program, we could not figure out a way to automatically upload the avatar and profile photo. Any help would be appreciated.

    #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.

    #303005
    douglasndv
    Participant

    HI,

    When i search for a member in a group (/groups/grupo/members/), occurs this error:
    [Unknown column ‘u.user_id’ in ‘IN/ALL/ANY subquery’]
    SELECT u.ID as id FROM adwp_users u WHERE 1=1 AND u.ID IN (27412,304,509,6625) AND u.user_id IN ( SELECT ID FROM adwp_users WHERE ( display_name LIKE ‘%ar%’ OR user_login LIKE ‘%ar%’ ) ) ORDER BY FIELD(u.id,27412,304,509,6625) LIMIT 0, 20
    [Unknown column ‘u.user_id’ in ‘IN/ALL/ANY subquery’]
    SELECT COUNT(u.ID) FROM adwp_users u WHERE 1=1 AND u.ID IN (27412,304,509,6625) AND u.user_id IN ( SELECT ID FROM adwp_users WHERE ( display_name LIKE ‘%ar%’ OR user_login LIKE ‘%ar%’ ) )
    In log we have “do_action(‘wp_ajax_bp_get_suggestions’), WP_Hook->do_action, WP_Hook->apply_filters, bp_ajax_get_suggestions, bp_core_get_suggestions, BP_Groups_Member_Suggestions->get_suggestions, BP_User_Query->__construct, BP_User_Query->do_user_ids_query”

    I check the SQL and changing the field name “… AND u.user_id IN ( SELECT ID FROM adwp_users …” by “… AND u.ID IN ( SELECT ID FROM adwp_users …” fix it.

    So, in /plug-ins/buddypress/bp-core/classes/class-bp-user-query.php file, on line 346, changing:
    $sql[‘where’][] = “u.{$this->uid_name} IN ( SELECT ID FROM {$wpdb->users} WHERE ” . bp_core_get_status_sql( ” ) . ” )”;
    to:
    $sql[‘where’][] = “u.ID IN ( SELECT ID FROM {$wpdb->users} WHERE ” . bp_core_get_status_sql( ” ) . ” )”;

    The message error is solved.
    Could someone confirm and fixit in a new version?
    I am using WP 4.9.7 and Buddypress 4.2.0.

    Tks
    Douglas

    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

    #302993
    Boone Gorges
    Keymaster
    moncolis
    Participant

    ENGLISH:
    Hello, I have a problem with my buddypress for sending message between two members. When I click on “Write a message” I switch to the parge to write a message but in the location “Send @UserName” the name of the recipient does not start automatically. It must be written manually. This poses me a problem.

    I wish that the recipient of the message is automatically put, that we do not have to write it each time.

    Thanks for your help.

    FRENCH:
    Bonjour, j’ai un probleme avec mon buddypress pour l’envoi de message entre deux membres. Lorsque je clique sur “Rédiger un message” je bascule sur la parge afin d’ecrire un message mais dans l’emplacement “Envoyer @NomUtilisateur” le nom du destinataire ne se met pas automatiquement. Il faut l’ecrire manuellement. Cela me pose un probleme.

    Je souhaiterai que le destinataire du message se mette automatiquement, que l’on ne soit pas obligé de l’écrire à chaque fois.

    Merci pour votre aide.

    #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? 😐

    leile
    Participant

    Hi!

    I am using BuddyPress with “SuitePlugins – Advanced XProfile Fields for BuddyPress”, and I created some custom fields. On the registration page I want to check if ex. “idofcertificate” custom field data exist in the database. If exist then throw an error, to only one account to be created with this “idofcertificate”. There is any resolution to do this?

    Thank you very much!

    #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.

    #302972
    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!

    #302967
    bathtoys
    Participant

    Hello,

    I just downloaded Buddypress and the Youzer plugin. Whenever I upload images to my wall (.PNG), it changes to .JPG, and transparency is lost.
    Is this issue being caused by Buddypress, or a different plugin?

    #302961
    elrico13
    Participant

    A general question, not related to a live site at this point, just something I’m playing with.

    With a fresh WordPress + BuddyPress install, under Users > Profile Fields, I’ve created a new field called Last Name.

    New registrations are capturing the data correctly and it is stored in wp_bp_xprofile_data.

    Is there any easy way of also getting that value into wp_usermeta.last_name as well?

    Thanks in advance.

    lenasterg
    Participant

    Hi, community I need your help.
    I’m using BuddyPress + WordPress multisite.
    The current situation is this:
    When a user is invited to join a blog he gets an email via wp_mail. He/she don’t get any notification via BuddyPress about that.

    I want to also add the mail which WP send to user to the BuddyPress as BP_message so the user can accept the blog invite from his/her BP inbox.

    Do you have any ideas?
    Thanks in advance
    Lena

    #302956
    Artyom
    Participant

    Hello! How I can add a notifications like in admin bar to my site menu. (I don’t use buddypress user widget and users don’t have access to the admin panel. My site menu use like user admin panel).

    #302939
    sitesfromash
    Participant

    Hi. I noticed that the three options which BuddyPress offers in regards to field visibility is “Only Me”, “Friends Only”, and “Everyone”. If someone sets their preference of a field to “Only Me” or “Friends Only”, is it still possible for the admin to see it? If not, is there a method that I can implement to see it as an admin but to hide it to other members? Also, can I put this field into an additional column on the Users Admin Panel? Thanks for any assistance which you can provide me.

    #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 );
    pavelmititel
    Participant

    I need some custom notifications in my website. I have my code bellow, all work correctly, notification is added into database and displayed at the recipient, but without notification text
    Bug view on frontpage

    How i can fix this?
    Thank you

    
    function custom_filter_notifications_get_registered_components( $component_names = array() ) {
    
        // Force $component_names to be an array
        if ( ! is_array( $component_names ) ) {
            $component_names = array();
        }
    
        // Add 'custom' component to registered components array
        array_push( $component_names, 'custom' );
    
        // Return component's with 'custom' appended
        return $component_names;
    }
    add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' );
    
    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 notification";
            $custom_link = "domain.com";
            $custom_text = "You have new 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, $custom_text, $custom_title );
            }
    
            return $return;
    
        }
    
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 10, 5 );
    
    function bp_custom_add_notification( $receiver_user_id, $initiator ) {
    
        //$post = get_post( $comment_object->comment_post_ID );
        //$author_id = $post->post_author;
    
        bp_notifications_add_notification( array(
            'user_id'           => $receiver_user_id,
            'item_id'           => $initiator,
            'secondary_item_id' => $initiator,
            'component_name'    => 'custom',
            'component_action'  => 'custom_action',
            'date_notified'     => bp_core_current_time(),
            'is_new'            => 1,
        ) );
    
    }
    add_action( 'wp_insert_custom_notification', 'bp_custom_add_notification', 99, 2 );
    
    #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

Viewing 25 results - 6,676 through 6,700 (of 94,559 total)
Skip to toolbar