Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 4,876 through 4,900 (of 73,986 total)
  • Author
    Search Results
  • #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.

    #309657
    demente1987
    Participant

    hi I have a problem I just updated buddypress but I get this error when updating https://prnt.sc/qj6hn2

    #309655
    mohamedbakry83
    Participant

    Hello professional,
    i would like to add popup for private message to avoid entering each profile to send a message from members directory, what is the best solution for it.

    my site

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

    #309650
    Mathieu Viet
    Moderator

    Hi everyone,

    Please upgrade to 5.1.2 asap, this is a security release:

    BuddyPress 5.1.2 Security Release

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

    #309642
    shanebp
    Moderator

    From the codex:

    Add Email Token

    #309635
    bigealien
    Participant

    Hello

    I am Buddypress installed on my site – but for some reason the option to upload a profile picture via the profile page is missing. I have both enable profile picture and cover image options enabled in my Buddypress settings. However the profile picture upload is missing, while the cover image upload is not. I am able to successfully upload a cover image. Even when I disable cover image upload, the profile picture upload option is still missing.

    I have tried to go to the URL https://siliren.com/memebers/profile/change-avatar/ to see if I can get at it in a back way, but i just get an error message that the page cannot be found.

    Is this a bug? How do I fix this?

    #309634
    Host Magi
    Participant

    I have searched the documentation and all over the web, and I cannot figure out thesolution to this issue. Would love some help on it if possible.

    So I want to change the styling of the signup button you can see here:

    Register

    I am trying to add the custom css to my child themes style.css but nothing is happening. I can only assume I am using the wrong css. But the code I am using was what I found when using chromes inspect tool. So I am not sure what I might be doing wrong.

    Here is the code, as I have it right now:

    `
    #buddypress .standard-form div.submit input {
    color: red;

    If anyone knows what I am doing wrong, I would sure appreciate your help!

    mohamedbakry83
    Participant

    I’d like to be able to include a clickable avatar of a member in the emails that are sent out instead of just an html link to their profile. Many community websites, online dating sites, etc., do this. For example, would be cool when a new member sends a friend request. Right now when a member friends another the default Buddypress email template includes a clickable link to visit the member’s profile ( {{initiator.name}} ). I think it would be sweet if there was a token ( e.g., {{initiator.avatar}} ) to use to give us the option to add the avatar.

    or is there any way to do that in my site

    #309631
    Raval
    Participant

    Hello,
    I’m testing a plugin
    “BuddyPress Automatic Friends” and I wonder if you can automatically turn on adding all users as friends?
    A similar question has already been asked, but I haven’t found the answer. Can you help?

    samtime
    Participant

    Hi,
    I have bbPress installed which sends BuddyPress notifications to users when someone replies to a topic they created in the forum. However, these notifications don’t seem to automatically go away when clicked (like private message and friend request notifications do).

    Is there a way to dismiss these forum notifications when clicked?
    Currently they can only be dismissed by manually marking them as read on the user profile page.

    Thank you,
    Sam

    WordPress 5.3.2
    BuddyPress 5.1.1
    bbPress 2.6.3

    #309628

    Topic: Empty Page

    in group forum Installing BuddyPress
    gvaslin
    Participant

    Hi, I have installed BuddyPress, but all pages created by BP are empty !!! I’m using Divi Template ! Please Help !

    Patriot06
    Participant

    I am working on an idea and was wondering if there was a way for the Buddypress Members on my site to setup their own personal stripe and PayPal gateways to accept donations or payments on their profiles?

    robertjcates
    Participant

    Hi all, sorry if I repeat this question/issue but I’ve googled and searched this forum as much as I can. I have Linux Mint 19.3 (Ubuntu based) with the WordPress (4.9.5 -> 4.9.13) packages installed including the wordpress-l10n (languages) package installed. I have BuddyPress 5.1.1 installed and would like to enable my users the option to select their preferred language in their profile. Is this really not possible without having to pay the hefty price for WPML. I also have the BuddyPress Multilingual plugin installed, but activating it without WPML seems to be useless.

    Is there maybe another plugin I can install that will solve my problem?

    Oh by-the-way, I have a single-site WordPress installation.

    Thanks in advance for your help!

    Wama Software
    Participant

    I want to make a custom page where user can edit his profile and save the profile same as edit profile page of buddypress,

    my idea here is to after user registration, when user login and if the required field is not filled then user will see a profile custom edit page with all the profile field as editable field, and
    Most important part is how to save those field values like images/ date and all

    #309613
    unnialt
    Participant

    I’m trying to install buddypress on my website.but it is not working for me. when adding a post i goterror msg . “There was a problem posting your update. Please try again.” . https://jobnewsmalayalam.com/activity/ this is my website. How to solve this issue ?

    fabrizio1407
    Participant

    Thank you cool.
    the problem is that the buddypress “pages” have specific functionality. So I need to use them, but they are not pages and I don’t understand how to modify that. Buddydrive is not a page, am I right?
    Thank you

Viewing 25 results - 4,876 through 4,900 (of 73,986 total)
Skip to toolbar