Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 2,616 total)
  • Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    bp_displayed_user_id() only works in certain contexts – like viewing a member profile.

    In other situations, you have to get the member_id differently, perhaps get_current_user_id() which is a WP function.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    For busy sites, removing old entries can increase performance.

    Have you tried BP Bulk Delete ?

    You can also get it at PhiloPress.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    they are supposed to be different things

    How are they different?

    To remove the warning, remove bp_is_home from your conditional.
    bp_is_home() just calls bp_is_my_profile()

    bp_is_home

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Have you changed the site address and WP address under wp-admin > Settings > General ?

    btw – most people will not click on a shortened url.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Designing endpoints is perhaps the major issue for this API and the subject of much discussion.

    I would encourage you to use the Issues tab on the repo:
    https://github.com/buddypress/BP-REST

    There is also a BuddyPress Slack channel. From the repo readme:
    Weekly BP REST API dev chat are held on Wednesdays at 22:00 UTC in WordPress Slack channel #buddypress

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Try it with 2 gigs of ram – that’s the only way to find out.
    You shouldn’t need a VPN – but there may be other factors re your setup.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Have you tried: BP Simple Private ?

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You cannot upload images, but you can post a link to an image.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You need to find out which theme template your My Profile page is using – maybe single.php.
    You may need to make a custom template and remove the comments call from it.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    The error message “508 Resource Limit Is Reached” appears when your account is constantly exceeding the resources assigned to it – these can include CPU usage, RAM usage and/or the number of concurrent processes running under your hosting account.

    The only solution is to talk to your hosting provider about increasing the resources available to you.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Maybe, but not a good idea.
    For a custom BP component, it is always best to create a plugin.
    Use the existing BP components as a reference – it’s not hard to create a new one and you get the benefits of the kind of filters you need.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    I used xprofile_get_field_data($field, $user_id, $multi_format); function and used it is working but I read about this function and found user id is the optional but when I did not give user id so it will not display the data.

    $user_id is optional if you are looking a the profile page for a member. In that situation, bp_displayed_user_id() is used to provide the $user_id
    Otherwise you have to provide the $user_id.

    Re your second question: you need to ask the creators of the “custom post type extended filed plugin” that you used to create the dropdown.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    afaik, No.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    To prevent non-members from viewing the members directory you can use this plugin:
    BP Simple Private

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    It’s in the codebase. By support, I mean shortcodes that you write will be parsed.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    afaik, there aren’t any in BP.
    There is support for shortcodes that you or others write for plugins and themes.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    You could also do it manually using BP Bulk Delete.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    The widget’s ajax call does not check to see who is viewing it.
    So only public groups will appear; hidden & private groups will not appear even though you are a member.
    You could write your own widget that uses the logged-in member’s id.
    Use the group widget code as a reference:
    buddypress\bp-groups\bp-groups-widgets.php

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Members will not show up in the members loop until they have logged-in at least once.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    I think you want to disable the Activity component for everyone except site admins.

    If so, the solution is in Slava’s BuddyPress newsletter. @slaffik

    Go to the last entry on this thread:
    https://buddypress.org/support/topic/buddypress-newsletter-relaunched/.

    In the newsletter, see this item Disable BuddyPress Components Conditionally.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Have you customized any BP templates?
    Either in the plugin or in your child theme?

    Look at this file, it’s the one you should be using.
    buddypress\bp-templates\bp-legacy\buddypress\members\single\messages\compose.php

    Are you using the BP Default theme? You shouldn’t.

    It may be a theme conflict – test by momentarily switching to a WP theme like 2015.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    That is the official repo. It is active even though you don’t see any recent commits. Contributors are working on their own forks. The api is still being developed and is not ready for production use. It’s a big project and you can get involved if you wish.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    Yes, it’s called a template overload.

    Profile photo of shanebp
    shanebp
    Moderator

    @shanebp

    This should stop emails about new messages:

    // stop new message notification emails
    add_action( 'messages_message_sent', 'unhook_messages_notification_new_message', 9 );
    function unhook_messages_notification_new_message(){
        remove_action( 'messages_message_sent', 'messages_notification_new_message', 10 );
    }

    You should be able to use the same approach for other BP emails.

Viewing 25 replies - 1 through 25 (of 2,616 total)
Skip to toolbar