Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 222 total)

  • Mathieu Viet
    Moderator

    @imath

    Hi, I advise you to check if the wp-content/uploads directory of your WordPress can be used by the http user to write/delete files and create/delete sub directories. When you upload a group avatar, check if a file named like this wp-content/uploads/group-avatars/{group_id}/{name-of-your-file}.[jpg|png|gif] exists.

    Is it possible to upload user avatars ?


    Mathieu Viet
    Moderator

    @imath

    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.


    Mathieu Viet
    Moderator

    @imath

    Hi @bigealien

    A possible reason could be that you deactivated the WordPress discussion setting about the avatar display. I advise you to check it within your WordPress Dashboard (see: https://wordpress.org/support/article/settings-discussion-screen/#avatar-display)


    Mathieu Viet
    Moderator

    @imath

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

    Hi @chaddblanchard

    If you are using the BP Legacy template pack, you can follow @shanebp snippet available in response to this support topic: Display profile fields on members page

    It will also work on the BP Nouveau template pack, but it will be wrongly positioned. FYI, I’ve opened a ticket to fix this in next BuddyPress major version.

    You can also use a different strategy using the BP Template hierarchy. If you create a copy of the bp-templates/bp-nouveau/buddypress/members/members-loop.php into a buddypress/members/members-loop.php file of your theme (be careful to respect the relative path into your theme: create a buddypress folder, then a members one and finally put the members-loop.php copy inside this folder. From this copied file, you can modify the html layout to include specific code to display the profile field(s) of your choice.

    Here’s an example: https://gist.github.com/imath/67c2c5d961083bc8d4205860a2a075b2#file-members-loop-php-L44-L46 The specific code to add has a yellow background.

    Hi @galato

    Thanks for your feedback. I advise you to submit a new support topic with the issue(s) you’re having with BuddyPress.

    FYI, we believe BuddyPress is PHP compatible from 5.6 to 7.3 versions. To make sure it’s the case we are using the Travis CI tool to run more than 1500 unit tests on the latest BuddyPress version under each WordPress version and each PHP version we support.

    @pierreraynaud

    English:
    The best is to ask for support in english into the BuddyPress official support forums.

    French :
    Le mieux est de demander de l’aide en anglais dans le forum de support officiel de BuddyPress.

    @pierreraynaud explained above that he doesn’t understand why the BuddyPress pages are not loaded but instead he gets 404. So he’s asking for help.

    I advise you to go to the permalink settings of your dashboard to select something else than the default structure eg:Month and name or Post name. I believe the index.php part of your URL might be problematic.
    —-
    Je vous conseille de revoir les réglages de vos permaliens en choisissant une option différente de celle qui est proposée par défaut ex! Mois et nom de page ou nom de page. Je pense que la partie index.php de vos URL est problématique.

    Yes, the easiest way is to activate the BP Legacy Template Pack from the BuddyPress Options screen into your WordPress Dashboard.

    Using the WordPress control for generating passwords is a BP Nouveau only feature. The benefits of it is to have the same control than WordPress (eg: when your member are resetting their passwords from the site.url/wp-login.php page).

    > Buddypress: version 5.0 was added to the theme as a plugin

    What does it mean?

    BuddyPress is not installed from the Plugins Management screen?

    Please make sure to follow all suggested checks into this topic, in particular testing with only BuddyPress activated and a Twenty* WordPress bundled theme.

    They can choose the password of their choice and use the checkbox to confirm the use of weak password if needed.

    Having a password to log in is required. Having a strong password is important for the safety of your site.

    Disabling this feature would be too bad imho. But you can always override the /members/register.php from a /buddypress/members/register.php template in your active theme (or better child theme).


    Mathieu Viet
    Moderator

    @imath

    Hi,

    Well, as a start, you can try to paste the first example of code of this section: https://codex.buddypress.org/developer/group-extension-api/#examples into a bp-custom.php file and replace the display method of the Group Extension with:

    
    public function display( $group_id = NULL ) {
       $group_id = bp_get_group_id();
       
       $page = get_post( 27 );
       echo apply_filters( 'the_content', $page->post_content );
    }
    

    Mathieu Viet
    Moderator

    @imath

    Hi,

    What is your BuddyPress version ?
    What is your WordPress configuration ? Multisite or regular ?
    What is your active Template pack ? Nouveau or Legacy ?
    Have you tried with a bundled WordPress theme like TwentyNineteen to see if this was an issue with Kleo ?
    Are there other plugins active ?
    Can you add a screenshot ?


    Mathieu Viet
    Moderator

    @imath

    Hi!

    For your information and as a follow up of the ticket you opened on Trac ( https://buddypress.trac.wordpress.org/ticket/8159 ), I’ve checked on my side and wasn’t able to reproduce.

    My config is WordPress 5.2.4, BuddyPress 5.1.0-beta1, Twenty Nineteen as the active thme. No other plugins or specific custom code in /wp-content/mu-plugins or /wp-content/plugins/bp-custom.php.

    I’d suggest you to deactivate all plugins but BuddyPress and switch to a Twenty* theme. What you describe can be caused by another plugin or your current theme. Sometimes Cache plugins are also wrongly minifying JavaScript templates which can prevent the JavaScript to do its job.

    Have you thought about mentions (@username) ?

    For instance from the Group’s activity page, you can type @ and a few letters to list the people of the group that matched the first letters.

    You can add mentions support to various inputs as soon as the mentions JavaScript has been loaded into the screen, you just need to add a class to it, eg: <textarea class="bp-suggestions"><textarea>.

    Hi @soulpowered You should find a dropdown list to do the page association:

    Page Association admin

    If the Dropdown contains no choice, you just need to create a new WordPress page and come back to the settings screen to select it.

    Hi @chickencurry

    Thanks a lot for your feedback. I wasn’t able to reproduce so I don’t know how this is happening.

    I’ve built a patch I’ve attached to this ticket https://buddypress.trac.wordpress.org/ticket/8152.

    Could you test it to see if it fixes your issue?

    Hi @pixieblitz The most simple way is too put all your fields into the default profile tab from the fields WP Admin.

    You can probably list all fields on the edit screen on the front-end overriding the template from your child theme. You should have a look at https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/

    Hi @yaesew

    The account details fields are needed to register the user :

    The username and the password are used for user authentification once the user has signed-up and the email is required to send him the account activation key.

    These fields are required, you should not deactivate them, otherwise it won’t be easy to register new user on your site.


    Mathieu Viet
    Moderator

    @imath

    Hi @alysonmac

    The first thing you need to do is to read this topic, to understand the informations we need to help you solve your issue.
    https://buddypress.org/support/topic/when-asking-for-support-2/

    Then post a new topic and we’ll try to help you.


    Mathieu Viet
    Moderator

    @imath

    Hi @georgio-1

    Thanks for your opinion and inputs.

    1. There will be a media component in 6.0.0 🙂
    2. We will ask for users input soon about their ideas of BuddyPress blocks (that’s a first step)
    3. We will think about how to satisfy developers building on top of BuddyPress as well as end users.


    Mathieu Viet
    Moderator

    @imath

    Hi I just sent you an email to the address you’re using with your BuddyPress account. I have detailled another approach in this email, because I think we should not work on production site.


    Mathieu Viet
    Moderator

    @imath

    Thanks, that’s exactly what I’m doing with a fresh install of WordPress, BuddyPress and having the Twenty Twenty theme active and I can’t reproduce.

    The only explaination I see is there’s some custom code editing the query. Custom code can be:
    1- into the functions.php of the active theme or active child theme,
    2- into a /wp-content/plugins/bp-custom.php file,
    3- into any file located in the folder /wp-content/mu-plugins,
    4- into a plugin.

    That’s why we generally ask to deactivate all plugins except BuddyPress, switch the active theme to a Twenty “Something theme” and remove files of point 2 and 3.

    Reading our thread so far, you already did that testing right?


    Mathieu Viet
    Moderator

    @imath

    Hi @welshlamb10

    I’m sorry I can’t replicate what I’m understanding of your issue. Let’s be sharp in explanations!

    Here’s what I did.
    1/ Added a regular user to 2 hidden groups (A, B)
    2/ loggedin as this user.
    3/ Posted an update from Group A then being an admin I’ve edited the date of this update so that she appears when clicking on load more only.
    4/ As the regular user I’m going on Group B’s activity stream, click on load more multiple times and all I can see is activities from Group B.

    Could you:
    1/ Reproduce the bug on your site,
    2/ Note in details the different steps you did to reproduce it,
    3/ Share these details like I did above ?

    Thanks in advance.

    About BuddyBoss, I was speaking of this other issue: BuddyBoss Media (upload image icon) no longer displays for certain mobile devices. I can’t imagine a scenario where BuddyPress would be involved on the “upload image icon” vanishing for a Plugin output..

Viewing 25 replies - 1 through 25 (of 222 total)
Skip to toolbar