Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 6,801 through 6,825 (of 94,538 total)
  • Author
    Search Results
  • #302526
    z0tt
    Participant

    Hello guys,

    I hope you can help. I want to split my Website permanently in 2 parts. The red part on the picture is for the bbpress forums, and the right part is for buddypress. If i press some buttons on buddypress, the other part shouldn´t be affected. So both screens are visible on each page permanently.

    Any ideas?

    [URL=https://www.directupload.net][IMG]https://s15.directupload.net/images/190201/acpvkejf.jpg[/IMG][/URL]

    #302516
    morgan251
    Participant

    Hello everyone,

    I have a problem inserting an image as iframe/embedded link from the Microsoft OneDrive cloud into a activity. It seems to get filtered out. I figured out that some html-tags are not allowed, so it tried to activate the <iframe>-tag via the bp_activity_allowed_tags hook. As a result I now get an empty frame, but the content is still missing. Any ideas how to fix that?

    Thank you

    MorgunovVit
    Participant

    Hi, everybody!

    Could you help me to set set display_name = xprofile ‘first_name’ + ‘last_name’ at the user registration?
    I’ve tryed this code:

    
    function change_user_defaults($user_id) {
    	$user = get_userdata($user_id);
            $mv_first_name = xprofile_get_field_data(  26,  $user_id ); 
            $mv_last_name = xprofile_get_field_data(  11,  $user_id );  
            $name = $mv_first_name . ' ' . $mv_last_name; 
            $mv_login = $user_id . stristr($user->user_email, '@', true); 
            if ($name !== ' '){
                $args = array(
                        'ID' => $user_id,
                        'display_name' => $name
                );
                wp_update_user( $args );
            }
    }
    
    add_action( 'xprofile_updated_profile', 'change_user_defaults' ); /* but this works only after manual BuddyPress profile update */
    
    /* I also tried these hooks too */
    add_action( 'bp_core_signup_user',      'change_user_defaults' ); 
    add_action( 'bp_core_activated_user',   'change_user_defaults' );
    /* but it didn't work at the user registration  */
    
    #302505
    Renato Alves
    Moderator

    Even with the BuddyPress CLI, this isn’t feasible. The best option I can think of is you creating a custom command or script to iterate the users and add and accept each other’s friendship requests.

    #302502
    Norman Cates
    Participant

    I’m having a very weird problem with Buddypress.
    Buddypress 4.1.0
    Wordpress 4.9.9

    the problem occurs regardless of theme used.

    When I get confirmation emails there is a problem in the HTML part of the message.

    Part of the HTML seems to be cut off.

    Here’s a section of the email. There’s a fragment that is: <hr color=”#F7F3

    You can see that it’s cut off. So it kills a chunk of text including the link.

    I can’t find where this is generated to see what the problem might be…

    Thanks,
    Norman

    <!-- Email Body : BEGIN -->
    			<table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#FFFFFF" width="100%" style="max-width: 600px; border-radius: 5px;" class="body_bg">
    
    				<!-- 1 Column Text : BEGIN -->
    				<tr>
    					<td>
    						<table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
    							<tr>
    								<td style="padding: 20px; font-family: sans-serif; mso-height-rule: exactly; line-height: 24px; color: #555555; font-size: 15px" class="body_text_color body_text_size">
    									<span style="font-weight: bold; font-size: 20px" class="welcome">Hi Norman Cates,</span>
    									<hr color="#F7F3
    <p>kiwiadmin sent you a new message: &quot;Test for system&quot;</p>
    <blockquote><p>&quot;s dfsd fsdfsdfsdf&quot;</p></blockquote>
    <p><a style="color: #0025e0;" href="https://crew.conzealand.nz/members/normancates/messages/view/19/">Go to the discussion</a> to reply or catch up on the conversation.</p>
    
    								</td>
    							</tr>
    						</table>
    					</td>
    				</tr>
    				<!-- 1 Column Text : BEGIN -->
    
    			</table>
    			<!-- Email Body : END -->
    #302495
    egamestudio
    Participant

    Hello,

    This is my problem, I use ACF PRO to create my own fields on my WordPress theme, for the member profiles part everything works with this code:

    <?php
    /**
     * BuddyPress - Members Settings ( General )
     *
     * @since 3.0.0
     * @version 3.1.0
     */
    acf_form_head ();
    $author_id = bp_displayed_user_id();
    ?>
        <div class="col-lg-6">
            <?php
            acf_form(array(
    
                'id' => 'acf-formA',    
    
                /* Groupe de champs ID utilisé */
                'field_groups' => array('663'), //CHANGE ID IN LIVE
    
                /* Quelle est la function meta utiliser en $ sur ID auteur ? */    
                'post_id' => 'user_'.$author_id,
    
                /* Quel est le nom sur le bouton du button de sauvegarde */    
                'submit_value' => __("SAUVEGARDER", 'acf'),
    
                /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */
                'updated_message' => __("Mise à jour réalisée", 'acf'),   
    
                /* Button de submit de formulaire */
                'html_submit_button'	=> '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>',
    
                /* Le spinner de chargement */
                'html_submit_spinner'	=> '<span class="acf-spinner"></span>',
                'form' => true,
                'return' => ''
            ));
            add_action('acf/save_post', 'my_acf_save_post', 20);
            ?> 
        </div>
    

    So far no problem to display then on the member’s profile page the information of the ACF field.

    My Problem:
    On the other hand, on the Groups part I can’t find how to attach the field to the ID group, that’s what I tried.

    In my edit-details.php (in group),My field works, I enter test in my acf form
    it comes out in the echo “test” but on all the groups, I can’t associate this field with the group id.

    <?php
    /**
     * BP Nouveau Group's edit details template.
     *
     * @since 3.0.0
     * @version 3.1.0
     * @version 4.0.0 Removed 'Notify group members' checkbox in favor of hooked callback.
     */
    acf_form_head ();
            
    $group_id = bp_displayed_user_id();
    $group = new BP_Groups_Group( $group_id );
    
    ?>
    <?php echo get_field('test_group', 'group_'. $group_id); ?>
    
         <?php
                acf_form(array(
    
                    'id' => 'acf-formA',    
    
                    /* Groupe de champs ID utilisé */
                    'field_groups' => array('714'), //CHANGE ID IN LIVE
    
                    /* Quelle est la function meta utiliser en $ sur ID auteur ? */    
                    'post_id' => 'group_'.$group_id,
    
                    /* Quel est le nom sur le bouton du button de sauvegarde */    
                    'submit_value' => __("SAUVEGARDER", 'acf'),
    
                    /* Le message que je retourne en cas de réussite sur l'infobox bootstrap */
                    'updated_message' => __("Mise à jour réalisée", 'acf'),   
    
                    /* Button de submit de formulaire */
                    'html_submit_button'	=> '<div class="text-center"><input name="updateuser1" type="submit" id="updateuser1" class="btn-style1" value="%s" /></div>',
    
                    /* Le spinner de chargement */
                    'html_submit_spinner'	=> '<span class="acf-spinner"></span>',
                    'form' => true,
                    'return' => ''
                ));
                add_action('acf/save_post', 'my_acf_save_post', 20);
                ?> 

    Thanks for your help !
    demo : https://cryodev.fr/branch/build/alpha/groupes/le-groupe-a-demo/

    Anonymous User
    Inactive

    Hey, first post here,
    I’m using a WordPress install with MemberPress to manage registrations.

    I then am using bbPress for a forum, and BuddyPress for Profiles, Messaging, etc.

    When a new user registers, a very peculiar thing happens.

    The WP Username and the BuddyPress name, stored in the wp_bp_xprofile_data do not match.
    In some cases, this also becomes imported_{username}.

    In the case where it the BuddyPress name becomes imported_{username} it seems to be associated with bbPress, in this file /plugins/bbpress/includes/admin/converter.php, starting on line 970.

    However, I can’t seem to track down where seemingly random usernames are coming from, and WHY…

    In the example image, if I were to search the database for bobbytaylor5971 the only instance of that string is in the one row in wp_bp_xprofile_data. Correct user_id, wrong value.

    I’ve been trying to figure this out for months, and so far, we’ve just been manually updating each new registered user.

    Any thoughts on this issue?

    Thanks for the help.

    #302488
    MorgunovVit
    Participant

    Hi, Josh!
    I am trying to solve a similar problem, but only I need to make the display_name = First_Name + Last_Name fields of the BuddyPress xprofile.

    I have been tormenting for a long time and can’t find a suitable hook that firing when the xprofile fields First_Name and Last_Name have already been written in the database.

    #302485
    shanebp
    Moderator

    If you are not seeing code now in your theme then you could create a copy of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\single\profile.php
    Place it in the same theme location you mentioned above and make your edits.

    If you are using the BP Nouveau template pack, then make a copy of this file:
    buddypress\bp-templates\bp-nouveau\buddypress\members\single\profile.php

    #302484
    mbamutuelle
    Participant

    I forget to tell you my conf :

    Version 5.0.3 | Unyson 2.7.21 | Woffice 2.8.0.3
    Buddypress 4.1.0 | BuddyPress Xprofile Custom Field Types 1.0.6

    #302483
    mbamutuelle
    Participant

    Hello,

    Can you help me for hiding the “Modify” button on a member page.
    I Don’t want that my members can change their profile by themself because all fields are automaticly feed by an LDAP authentication.
    Before updating my Woffice theme, i just have to comment some lines of this file :
    /home/wordpress/wp-content/themes/woffice/buddypress/members/single/profile.php

    // Edit
    //case ‘edit’ :
    // bp_get_template_part( ‘members/single/profile/edit’ );
    // break;

    But now i Don’t find where i can hide this button for my suscribers.

    Can you try to help me please ?
    Thx

    #302482
    joshthebeloved
    Participant

    I tried simply disabling the Friends feature from the settings, but I am using the BuddyBoss theme which requires the “friends” feature for messaging/writing on walls/ and several other functionalities. The best solution is to simply make everyone friends automatically. Does anyone know how to do this? Is there a plugin? Is there a code snippet I can insert?

    It is a small community where everyone knows each other. Any and all help is much appreciated.

    Wordpress 5.0.3
    Buddypress 4.1.0

    wegosi
    Participant

    Could you please, help to solve this issue. It’s Ok, when uploading avatar via desktop, but when loading avatar via mobile – cropping image is very poor quality.

    Screenshots:
    http://prntscr.com/me7ja3

    Theme developer of the theme:

    After some testing we were able to reproduce the issue and we determined that this is an issue with BuddyPress, as this issue seems to happen with the default Twenty Nineteen theme as well. So unfortunately we cannot help you resolve this as we have no control over the way BuddyPress handles avatar uploads on mobile.
    
    To go further, we invite you to contact BuddyPress support about this issue:

    Thank you.

    #302477
    ashley72
    Participant

    I can add a bit more to this. I have checked my wp_mailfunction on my wordpress. Using a simple php script.https://www.butlerblog.com/2012/09/23/testing-the-wp_mail-function/

    The mail is sending out as expected for several different email addresses I tried using wp_mail. So if BuddyPress uses the wp_mail function – the default installation must have configuration problem.

    #302476
    ashley72
    Participant

    I have the same problem. The lack of community support makes me feel this plugin may not be worth the effort.

    When you check the manage signups the new registered user is awaiting to be activated. It shows that an email has been sent. After you try and resend the activation email. It does trigger and add to the count – showing two emails sent. So it would seem most of the functionality is working. If I deactivate the plugin, my wordpress email notifications is working. I’ve checked the spam folder, and even tried non-gmail accounts and still getting no activation emails at all. However, I have received a buddypress notification when another member does a mention. So it appears some kind of small bug is the problem.

    Does any of the core developers for BuddyPress check theses support forums?

    #302465
    shanebp
    Moderator

    The easiest approach, imo, would be to remove the current member search input from the members directory.
    For example, create an overload of this file and delete the code re member search:
    buddypress\bp-templates\bp-legacy\buddypress\members\index.php

    Then get this plugin: BP Profile Search
    And configure a custom member search that only includes the fields you want.

    #302456
    shanebp
    Moderator

    These are the forums for just the BuddyPress plugin.
    Please direct your questions about LearnPress – BuddyPress Integration to the creators of that plugin.

    #302454
    daanvanboerdonk
    Participant

    Hello,

    I’m building a website for photography courses.
    I’m using LearnPress, BuddyPress and LearnPress – BuddyPress Integration.

    It comes with the filter: “Own Courses” in the courses tab on the buddypress menu. But I don’t want my customers to be able too become a teacher and build courses so there won’t be any.

    How do i remove the filters, so if the customer clicks courses, he immediately sees the courses he purchased?

    Thanks for your great work!

    Regards from Amsterdam.

    Renato Alves
    Moderator

    BuddyPress has a CLI command now you can use.

    wp bp tool repair friend-count

    #302449
    msteimann
    Participant

    I think you’ve identified a bug with the registration form, it misleadingly gives the impression that the visibility for the Name field can be changed. Wuld you mind raising a bug report on https://buddypress.trac.wordpress.org/ ? Also you can use the same link to raise your feature request.

    Thank your for looking into this, Venutius. Good to know that I can now raise a bug report, and a feature request as well. Thank you and your team for putting so much effort into this really great plugin!

    #302445
    Venutius
    Moderator

    I think you’ve identified a bug with the registration form, it misleadingly gives the impression that the visibility for the Name field can be changed. Wuld you mind raising a bug report on https://buddypress.trac.wordpress.org/ ? Also you can use the same link to raise your feature request.

    #302443
    shanebp
    Moderator

    If you are not an experienced developer, you may be better off hiring such a person.

    Until you write some code and ask specific questions about it, here are some general pointers…

    Take a look at how the activities are restricted on a group activity page.

    There are some codex pages that provide info:

    Add custom filters to loops and enjoy them within your plugin

    Activity dropdown filters in templates

    #302438
    msteimann
    Participant

    Thanks for your quick reply, Venutius!

    I have tried the WP 2015 Theme and got the same results. So I switched back to KLEO and noticed, that the xProfile fields do change to the desired visibility settings, AFTER the user clicks the SAVE SETTINGS button. So I guess I was confused by the fact that BEFORE you hit the save button there is a misleading visual feedback (the visibility term does not alter to the according setting the user has just changed it to, it still displays the same value as before).

    Could this be changed in the next release?

    My first problem still remains: the „change display name visibility option“ is displayed beneath the name field on the user Registration page. This doesn’t make sense, if the name’s visibility throughout BuddyPress network is mandatory. How can I get rid of this line? Does this line and it’s user changeable visibility options really not appear on a default install?

    In the WP Dashboard I cannot change the options for the primary Name field. Only the fields under the details tab can be altered by admin and set to be visibility-changeable by the user. (Hope you understand what I try to say 😉

    Regards,
    Martin

    Hide visibility option on registration page?

    #302433
    mi0o
    Participant

    Hello,

    I upgraded buddypress from 2.9 to 4.1
    I dont see default avatars in comments now. in img html I have something like this: http://img%20src=%20width=50%20height=50%20alt=%20class=avatar%20avatar-50%20wp-user-avatar%20wp-user-avatar-50%20photo%20avatar-default%20/

    Do you have any suggestions?

Viewing 25 results - 6,801 through 6,825 (of 94,538 total)
Skip to toolbar