Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 3,926 through 3,950 (of 69,211 total)
  • Author
    Search Results
  • #309747
    caaprichos
    Participant

    Hello! I have wordpress 5.3.2 with buddypress Versión 5.1.2, The template or theme is Sweet Date Core creating a social network and it doesn’t allow me with different plugins when uploading a photo to increase it (make it bigger and make it smaller) on the activity page !! I don’t know how to fix it or have different plugins that do contraindication! I have these plugins: Easy FancyBox (Disabled), FancyBox for WordPress (Active), Gallery Carousel Without JetPack (Active), Imsanity (Disabled), rtMedia for WordPress, BuddyPress and bbPress (Active), User Profile Picture (Active). I have a chaos with the plugins and I can’t increase the photo uploaded to the activity page! Can you help me??

    #309746
    Prashant Singh
    Participant

    Hi,

    Please check if the page is created under pages and also if it is assigned in BuddyPress settings.

    Thanks

    #309742
    andhi1
    Participant

    Hey!
    I have installed BuddyPress but cannot create menu for Members
    See picture:
    no members page

    What to do?
    Anders Hidman
    Sweden

    vuture
    Participant

    Hello,

    I want to create an email-token to display a member avatar in a bp-custom-mail.

    I tried to implement snippets from this tutorial, but maybe I don’t understand everything correctly.

    1) I created a single-bp-email.php with custom html content which works fine.
    There I can add the output whereever I want the avatar to be displayed <?php bp_email_avatar(); ?>, right?

    2) To my bp-custom.php I added this function:

    function bp_email_avatar() {
      $token = '{{recipient.avatar}}';
      printf( '<img src="%s">', $token );
    }

    Have a look at my bp-custom.php:
    https://1drv.ms/u/s!AikSNhBAk4teugLf_yT-8610eUDC

    $formatted_tokens['recipient.avatar'] = bp_core_fetch_avatar(
      array(
        'object'  => 'user',
        'item_id' => $formatted_tokens['initiator.id'],
        'html'    => false,
      )
    );

    => The last snippet results in a php-error.

    Could you help me to make this work?

    Thanks in advance,
    Chris

    #309725

    In reply to: @all

    Prashant Singh
    Participant

    Hi,

    I guess it is not possible to tag all members at once. Although this one https://buddypress.org/support/topic/how-mention-all-members/ is old but just to check the reason why ‘all mention’ is not recommended you can see that. The plugin mentioned there is very old and hasn’t been tested with the latest 3 major releases so be careful to use it.

    Thanks

    #309721
    Buddy Quaid
    Participant

    I answered my own question, so I’ll post my solution here.

    Page: /plugins/buddypress/bp-blogs/classes/class-bp-blogs-blog.php

    It’s a hack so I hope there is a way I can do this WITHOUT a hack. Someone please let me know!!!

    LINE: 236

    wb.archived = '0' AND wb.spam = 0 AND wb.mature = 0 AND (wb.deleted = 0 OR wb.deleted = 1) {$hidden_sql}

    LINE: 250

    wb.archived = '0' AND wb.spam = 0 AND wb.mature = 0 AND (wb.deleted = 0 OR wb.deleted = 1) {$hidden_sql}

    #309716

    In reply to: SQL Database Error

    Strothi
    Participant

    Dear all,

    I did some tests and it indeed seems to be buddypress. If I deactivate it, the error stops. I also though it might be a conflict with other plugins and or bp-custom settings, but deactivating all others did not solve the issue, so it seems to be a issue with buddypress itself?! Would appreciate if someone had an idea on what to do about it.

    Thanks so much in advance.

    Kind regards, Philip

    dfcday
    Participant

    Hello BuddyPress Team,

    Is it possible to use an add-on to design the profile fields so that certain fields can only be changed by an admin?

    These should be shown to the user in the profile but should not be changeable by the user.

    Thanks for you work.

    Regrads Peter

    #309713
    tkdgns1106
    Participant

    I have a page written in buddypress group. When I hit that page, I want to display the group I created at the top.
    How can I display groups on a page?

    If not, is there a way to navigate to that group when the page is clicked?

    #309712
    webmasterfreya
    Participant

    Nobody ?

    In older versions of buddypress i found in the bp-group-functions.php in function groups_send_membership_request this statement :

    $requesting_user->comments = isset( $_POST['group-request-membership-comments'] ) ? $_POST['group-request-membership-comments'] : '';

    which makes sense as the posting variable (group-request-membership-comments) should be handled to end up in the table bp_groups_members.

    In the version 5.0.0 such a statement is not found (not by me that is), so this could explain the disappearing comments from the group membership request page.

    Any help would be appreciated.

    #309711
    indigetal
    Participant

    I’ve started these adjustments by first creating new profile fields for the headline and user location by going to BuddyBoss > Profiles > add new field, making a note of their id’s in the url. I then found a relevant tutorial on the Buddypress codex “Displaying Extended Profile Fields on Member Profiles” but it seems to be based on and older version of Buddypress. I found out some current hooks in the user profile header are bp_before_member_header_meta below the main display name and bp_before_member_in_header_meta below that. So I added the headline and user location, as well as the nickname/handle with this code based on the linked tutorial in my child themes functions.php file:

    add_action( 'bp_before_member_header_meta', 'display_user_nickname' );
    function display_user_nickname() {
    	$args = array(
    	'field' => 3,
    	);
    $user_nickname = bp_get_profile_field_data ( $args );
    if( $user_nickname ) {
    	echo '<span class="mention-name">@' . $user_nickname . '</span>';
    	}
    }
    
    add_action( 'bp_before_member_in_header_meta', 'display_user_headline' );
    function display_user_headline() {
    	$args = array(
    		'field' => 12,
    	);
    	$user_headline_copy = bp_get_profile_field_data ( $args );
    	if( $user_headline_copy ) {
    		echo $user_headline_copy;
    	}
    }
    
    add_action( 'bp_before_member_in_header_meta', 'display_user_location' );
    function display_user_location() {
    	$args = array(
    		'field' => 16,
    	);
    	$user_location = bp_get_profile_field_data ( $args );
    	if( $user_location ) {
    		echo '<br />' . $user_location;
    	}
    }

    With that, the headline and user location were added (I used a line-break to separate them the way I wanted it), but it left me with two instances of the nickname/handle: the pre-existing one and the new one that I just added. I tried to remove the pre-existing one using:
    remove_action( 'bp_before_member_in_header_meta', 'bp_displayed_user_mentionname' );

    That is exactly the function used to output the mentionname of a displayed user according to the documentation, but it didn’t work and I still would’ve had to figure out how to remove the span class and @ symbol that’s there too anyways. So I copied the file, \buddyboss-theme\buddypress\members\single\member-header.php, into my child theme and deleted lines 44-50:

    <?php if ( bp_is_active( ‘activity' ) && bp_activity_do_mentions() ) : ?>
        <span class=”mention-name”>@<?php bp_displayed_user_mentionname(); ?></span>
    <?php endif; ?>
    
    <?php if ( bp_is_active( ‘activity' ) && bp_activity_do_mentions() && bp_nouveau_member_has_meta() ) : ?>
        <span class=”separator”>•</span>
    <?php endif; ?>

    But to my eternal consternation, that did not work either! (yes I duplicated the same path)

    That’s where I’m currently standing:

    • I need to figure out if there is a hook to the right of the display name or just create one.
    • I need to figure out a way to remove unwanted meta that are currently there in the header – I’m a little suspicious that these are being generated in some kind of loop that remove_action doesn’t have any effect on (bp_nouveau_member_meta?). If so, I need to figure out how to add/remove meta from that loop instead of using add_ remove_ action hooks.
    • Once I do all of that I need to figure out if there’s a hook just below the user profile image and use that to move the “connect,” “follow,” and “message” buttons.
    • I will then need to locate the code that’s generating the cog icon for the user settings and copy/paste that into the hook to the right of the display name, floating right to place it in the upper right hand corner of the user profile header.

    It appears as though I’m really putting tech support over at BuddyBoss to the test with these requests, so I would really appreciate any suggestions if anyone has any to offer over here!

    Thanks!

    #309703
    #309702
    assertiv
    Participant

    Sorry if this is the wrong spot, I’m not quite sure where to put this.

    I am looking for some specific functionality that I am not finding in plugins. my site is under construction. We were hoping that buddypress would be a good platform for the site but I’m not quite sure.

    What we need is somewhat similar to pinterest.

    Required functions:
    – each user would have multiple pinboards
    – user could set privacy of each board – only me, friends, show to everyone
    – each item on the board would have an image, short description, maybe a price
    – each user can “pin” an article from another user to put in a target board
    – put tags or categories for each pinboard

    can you tell me if you know anything to help me ?
    thanks a lot

    #309698
    avidmktg
    Participant

    I am having the same issue using the BeSocial theme. I have deactivated all my plugins except BuddyPress and used the Twenty Nineteen theme instead of BeSocial and am still having the Friend Requests issue “No pending friend requests” shown instead of the users.

    #309697
    avidmktg
    Participant

    I am having the same issue. I did a clean install of WordPress. Using the BeSocial theme. Installed and setup Buddypress previously and no issues with Friend Requests “no pending requests” issue. However, this installation has problems. I deactivated all other plugins other than BP and changed it to a basic Twenty Nineteen theme, and still had the “No Pending Requests” issue when trying to add friends. It says there are 2 friend requests, but then you cannot see them when you click to view that page. Any fixes?

    #309691
    shanebp
    Moderator

    As I said, the Group Extension only works on group pages. Stop trying to use that code on other pages.

    In your last example, you are calling groups_get_user_groups( bp_loggedin_user_id() ); AFTER you try to use it to gather group meta.
    As I said, groups_get_user_groups() will return an array.
    But you are trying to use the return value in groups_get_groupmeta which only takes a single group id.

    It seems like you are trying to copy and paste various bits of code.
    You should probably hire a developer.

    This is my guess at what you are trying to do.

    function display2() {
    
    	$member_group_ids = groups_get_user_groups(bp_loggedin_user_id());
    	
    	$setting = groups_get_groupmeta( $member_group_ids[0], 'entreprise_statistiques_setting' );
    	$setting2 = groups_get_groupmeta( $member_group_ids[0], 'entreprise_statistiques_setting2' );
    
    	?>
    	<div id="stats">
    	<script>StatHatEmbed.render({s1: '<?php echo($setting); ?>', w: 760, h: 235, tf:'month_compare', style:'fill', title:'<?php echo($setting2); ?>'});</script>
    	</div>
    
    	<?php
    	
    	if ($setting == NULL) {
    		echo ("Aucun site internet détecté, merci de contacter l'équipe COMMIUM.");
    	
    }
    #309685
    lesthomas85
    Participant

    Hi @mpcd108.

    Yes I did find a solution. I was using a plugin called Simple Buddypress Profile Privacy. When I deactivated this it solved the issue for me.

    Is this a plugin you are also using?

    Les

    #309684
    shanebp
    Moderator

    The BP_Group_Extension is for use within a specific group. And the group_id is ‘known’ within that context.

    To show data specific to a member’s groups, anywhere on the site, use: groups_get_user_groups to get all the group ids for that member.
    For example: $member_group_ids = groups_get_user_groups( bp_loggedin_user_id() );
    So $member_group_ids will be an array of group ids that you can use in a custom function to gather and display group data specific to the current user.

    For more info on that function and other useful group functions, see:
    buddypress\bp-groups\bp-groups-functions.php

    thomei
    Participant

    Hello

    BuddyPress requires an alternative user nams and generates a third:

    1) There is the WP-username

    2) BuddyPress invented “display name”.
    (All most very pointless feature, because users are unable to hide there WP-username?)

    3) To make it more confusing, there is an “at-@username” too.
    (It can differ from WP-Username in upper/lower case and in special characters!)

    It means three possibilities for different naming’s for the same user. We’ve got may support questions because user tried to login with the “display name”. Sometimes even with the “at-@username”.

    May questions:
    – Is there a way to get rid of the “display name” in general?
    If no:
    – Is there a way to force the “display name” to be identical to the WP-username?
    – Is there a way to sync the WP-username to the “display name”?
    – Is there a way to remove the “display name” from registration form?
    – Is there a way to remove the “display name” from the profile?

    We are looking for an unique username in BuddyPress.

    PS:
    In general, it’s a really ugly idea of BuddyPress to mess with usernames like this.

    sohom
    Participant

    Hi,
    I know this topic has been discussed several times, but I still can’t find the solutions.
    Let me explain the scenario
    I want to have a specific page where logged in user’s can find their own activity page, account settings page etc (Buddypress pages) link, that links will redirects to the User’s specific pages.

    Hope to see solutions of the matter.
    Thanks in advance.

    rj2580
    Participant

    Greetings,
    I have a very simple requirement where I would like to have a mobile/phone number field in the registration form which is doable by adding custom registration fields in Buddypress but, I want the mobile/phone number to have a unique meta key value so that no user can create a second profile with same mobile/phone number.

    Just like email has a unique meta key so that the user can have one account with one email ID, similarly, I would like to have mobile/phone number to be associated with only one profile.

    I don’t want to implement any 3rd party plugin for registration like Ultimatemeber etc as it ads a lot of pages too. I would like to have a small snippet or function to attain this.

    Any help would be highly appreciated.
    Waiting for the reply!
    Regard
    RW

    #309661
    leconcierge
    Participant

    Hi! I’m having a problem when someone edits their post in the BBPress Forum, the edits are suddenly not showing up on the BuddyPress activity feed. This is a new problem and has been updating just fine for years.

    Help?

    #309660
    Jpl75
    Participant

    HI,
    I already asked this question some months ago without any answer from Buddypress support. So I try again !
    Members of my community must be connected to my site to see the members list.
    When I am connected, if I see someone connected (widget in sidebar), I click on his photo, I see his profile and “Private message” near the round photo.
    I click on “Private message” and arrive on my profile.
    I suppose that I only have to write the message. NO ! I must search the name of the person (I was on his profile just before !) and then write the subject, and the text.
    Is it the normal way or is there something wrong in my settings ?
    Thanks in advance.
    WP 5.3.2 with Twenty sixteen, Buddypress 5.1.2 with new template, https://www.alpes-spirit-chapter.com/
    Regards.

    #309653
    Mathieu Viet
    Moderator

    Hi @mohamedbakry83,

    In this case you’ll need to copy the email template into a /buddypress/assets/email/single-bp-email.php file of your active theme and edit it from theme to include a new template tag.

    something like:

    <?php mohamedbakry83_output_avatar(); ?>

    Then in a bp-custom.php file, you’ll need to include new function for this template tag:

    
    function mohamedbakry83_output_avatar() {
      $token = '{{recipient.avatar}}';
      printf( '<img src="%s">', $token );
    }
    

    In this file, you’ll need to use & adapt the filter @shanebp pasted in his first reply making sure to check $formatted_tokens['friend-requests.url'] & $formatted_tokens['initiator.id'] are set and then set the recipient.avatar token like this :

    $formatted_tokens['recipient.avatar'] = bp_core_fetch_avatar(
      array(
        'object'  => 'user',
        'item_id' => $formatted_tokens['initiator.id'],
        'html'    => false,
      )
    );

    This is for the friendship request email. But you should be able to do it for any email type with this example.

    #309643

    In reply to: BuddyPress 5.1.1

    Mathieu Viet
    Moderator

    @galato

    There’s nothing to do. BuddyPress supports PHP from 5.6 to 7.3. If you have an issue, I advise you to open a specific support topic explaining in detail your issue.


    @socolsrt
    & @rolandbianco

    Both template pack should be ok. There might be a trouble elsewhere. Please check again using a “TwentySomething” theme and no other active plugins than BuddyPress. If you still have an issue, you can open a specific support topic explaining in detail your issue.

Viewing 25 results - 3,926 through 3,950 (of 69,211 total)
Skip to toolbar