Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,226 through 10,250 (of 94,551 total)
  • Author
    Search Results
  • #269026
    Fazlur Khan
    Participant

    I am trying to optimise a wordpress (4.8.3)/ BuddyPress (2.8.2) site with 5000+ users hosted in WPEngine. Getting error in WPEngine error log.

    The WPEngine error log shows following error:
    [Wed Nov 15 23:50:15.430014 2017] [:error] [pid 21215] [client 27.147.203.28:32469]
    KILLED QUERY (35690 characters long generated in
    /nas/content/staging/sued2/wp-content/plugins
    /buddypress/bp-core/classes/class-bp-user-query.php:536):
    SELECT COUNT(u.user_id) FROM wp_bp_activity u WHERE 1=1 AND u.component = ‘members’ AND u.type = ‘last_activity’
    AND u.user_id IN (72,790,8 …..

    #269017
    writingbox
    Participant

    2 weeks later, I’m still stuck with the same displaying problem. On the template creator’s forum, I asked the same question, and got this answer:

    Any particular reason you’re using a top margin here?
    body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content, body.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions {
    clear: none;
    margin-left: 0;
    margin-top: 225px;
    max-width: 50%;
    }

    It seems it’s a good clue to fix my problem, but here’s the thing: since I’m a newbie with CSS, I have no idea where to find these lines and modify them. I suppose I have to change “225px” to “0” — how/where can I edit this line?

    Thank you very much for your help, much much appreciated!

    #269012
    Boone Gorges
    Keymaster

    BuddyPress generally shows the admin bar to all users, whether logged in or not. If it’s not showing, it’s probably due to a plugin or theme issue.

    I’ve just downloaded the Point theme and I don’t see anything in the theme that would cause the admin bar to be disabled.

    Perhaps you’re running another plugin that disables it? If you’re able to search your codebase, look for the string show_admin_bar.

    Boone Gorges
    Keymaster

    Hi @ankitjoshi11 – Check out the file buddypress/bp-friends/bp-friends-functions.php. The functions you’ll need are:

    
    friends_add_friend( $initiator_userid, $friend_userid );
    

    which accepts a third $force_accept parameter which makes it unnecessary for user B to manually accept. If you want to handle acceptance separately, look at

    
    friends_accept_friendship( $friendship_id );
    

    You can get the $friendship_id for two users with friends_get_friendship_id( $user_a, $user_b );

    Good luck with your project!

    #269001
    shanebp
    Moderator

    You can prevent auto-links in the profile areas.

    You need to create a file called bp-custom.php and then add this function to it:

    function remove_xprofile_links() {
        remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
    }
    add_action( 'bp_init', 'remove_xprofile_links' );
    #269000
    shanebp
    Moderator

    These are the BuddyPress forums.
    The bbPress forums are on another site.

    #268999
    karabre1980
    Participant

    Hello, when I go to the Profile View where there are info like name, position etc. In the email info when I push on the email address it transfers me to the page (e.g @gmail.com it transfers me to gmail.com , when @yahoo.com it transfers me to yahoo.com), it works like url (I dont want that). I want when I am clicking the email address to open my email automatically so I can send an email and if this is not possible,then better not to be clickable so it wont transfer me somewhere. Waiting for your help. Thank you.

    #268997
    friendlygooners
    Participant

    WordPress 4.9 “Tipton”
    BuddyPress Version 2.9.2
    Theme: Buddy Version: 2.15.1 By GhostPool

    When sending private message to my users, the message shows sidewide notification to everyone visiting my site. I added this this in custom css

    #sitewide-notice {
    display: none !important;
    }

    The message box appearing under the header was closed But the sidewide notification still exist.
    You can check out here https://www.friendlygooners.com/

    #268992
    Boone Gorges
    Keymaster

    Hi @wackao – Thanks for the post. I agree that the REST API could be a big driver for future adoption. (And I obviously agree that BuddyPress is a superior product to its competitors!) That being said, the BP team is a group of volunteers. The folks who build BP are professional and serious, but they work on projects that interest them, according to their availability. I personally would love to spend more time on the REST API, and hope to in the upcoming months, but if I can’t, it’s not an indication of lack of seriousness.

    Anyway, the good news is that “the BP devs” is basically whoever decides to show up. If you have ideas for how the REST API could work – and better still, if you want to start contributing code via pull requests – you are very much encouraged to do so. More hands make for lighter work!

    #268990
    #268985
    wackao
    Participant

    Current state of affairs do not look good for Buddypress (https://wordpress.org/plugins/buddypress/#reviews). Users consider it on the way out when comparing it with plugins like “ultimate member” or “user pro”. Though these plugins have inferior code quality they compete with BuddyPress based on their promotions and integration with WordPress.

    We’ve been monitoring BP REST API github repo but there are hardly any activity recently, which brings to the point why is BP REST API not taken up seriously by the BP devs.

    The REST API for BuddyPress needs to be taken up professionally and seriously as it could clearly be a game changer for BP.

    #268983
    Sourabh Garg
    Participant

    I am creating a site http://www.zzelzal.com/ in Arabic language and using buddypress but maximum information in buddypress not displaying in Arabic. I am using buddypress Version 2.9.2. let me know is there any language file in Arabic so that my site look fine in Arabic. I does not any manual process to translate that into Arabic because i have not much knowledge of Arabic and if i use Google translate then it does not translate exactly which i want. So please help me.

    pandraka
    Participant

    Wordpress 4.8.3
    Buddypress 2.9.2

    I’ve written on the support forum for the plugin BuddyPress Xprofile Custom Fields Type but it seems the plugin author hasn’t answered anything in 8 months:

    After upgrading wordpress from 4.8.2 to 4.8.3 the Custom Taxomony Multisector is not displaying/working correctely in the dashboard user extended profiles tab. The users chosen selection is no longer displayed. The entire list is shown. From the front end everything works correctly. The user can select/unselect multiple organizations/specialties. I’ve look at the code in both the front and back end and it is identical. I don’t see any js errors in the console. I thought perhaps the jQuery hadn’t been initialized, but it looks like everything is correct. The only other thing that is weriod is the help / options dropdown at the top of the dashboard screen won’t open. Any help would be apprieciated.

    #268974
    jeffm2008
    Participant

    Hi.

    The buddy bar / admin bar (not sure exactly what it is called), that shows the user notifications etc, is only showing for admin.

    Any idea why?

    Thanks in advance!

    WordPress 4.8.3 running Point theme.

    BuddyPress Version 2.9.2

    Ankit Joshi
    Participant

    Buddypress
    I want to make friendship between two users. I have user A and B. And I am coding in child theme functions.php file.

    If user “A” want to send friendship request to user “B” then I need a code to send friendship request

    And if user “B” accept the request then I need to code to accept friendship request.

    Please suggest me how can I do this and this should be the buddypress add or accept friendship functionality.

    Best Regards,

    jeffm2008
    Participant

    hi.

    JetPack Widget Visibility does not seem to work on BuddyPress pages (Register, Members, Activity, etc.).
    But, when I disable BuddyPress plugin, the visibility options work.

    Example: I’m trying to hide certain widgets on the Register page. But they are still there unless I disable BuddyPress.

    Also, JetPack visibilty works perfectly on all other pages when BuddyPress is enabled, except BuddyPress pages.

    Any help would be appreciated. Thanks in advance!

    WordPress 4.8.3 running Point theme.
    BuddyPress Version 2.9.2

    #268971
    Nikelaos
    Participant

    Thank you for the link!

    And – I’ve run a test and this brings up, that the mechanism described in https://codex.buddypress.org/translations/ seem to work not correctly. The .mo-file in the language/buddypress/-folder is only used if there’s no .mo-file in the language/plugin/-folder.

    Greets!

    #268970

    In reply to: Cover Photo Issues

    Nikelaos
    Participant

    Yes, I can upload an avatar image without problems (but I can remember, that’s I’ve has had a problem with this and the cover-image was loaded without problems) and I don’t use anything like Amazon S3 or CDN. In <wp-uploaddir, which is set in WP-config>buddypress/members/<userid>/cover-image I can find 5a057ea758c30-bp-cover-image.png, which is the image that I want to be the cover.

    Thanks for your reply!

    #268968
    hornets2002
    Participant

    Hi, I am trying to add a custom nav link titled “sub-members” to buddypress profiles that shows a list of members who inherit membership to my client’s services through the parent member. I have successfully added the custom nav link to the profile by inserting some code into bp-custom.php and I have successfully called the contents of a members loop template into the page (I will add filtering for the members loop after initial functionality is in place.)

    Here is my code below:

    <?php
    function add_communications_tabs() {
    	global $bp;
    
    		if (xprofile_get_field_data('Sub-Members') == "Yes")  :
    		bp_core_new_nav_item( array(
    		'name'                  => 'Sub-Members',
    		'slug'                  => 'submembers',
    		'parent_url'            => $bp->displayed_user->domain,
    		'parent_slug'           => $bp->profile->slug,
    		'screen_function'       => 'submembers_screen',		
    		'position'              => 100,
    		'default_subnav_slug'   => 'submembers'
    	) );
    	endif;
    }
    
    add_action( 'bp_setup_nav', 'add_communications_tabs', 100 );
    
    function submembers_screen() {
        add_action( 'bp_template_content', 'submembers_screen_content' );
        bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    function submembers_screen_title() {
      	echo $_POST[bp_displayed_user_id()];
    	echo 'Sub-members of '.bp_get_displayed_user_fullname().'<br/>';
    }
    
    function submembers_screen_content() { 
    get_template_part( '\buddypress\members\members', 'loop' ); 
    }
    
    ?>

    Here is my problem:

    Pagination and any other function using ajax seems to break when the members loop is placed here.

    It seems that while ajax work fine for the members loop when placed on a normal page outside the profile–and I should also mention ajax works fine for built-in Buddypress profile functions like activity stream posting–the same cannot be said for my members loop or any other content I test on the custom-made ‘sub-members’ page that requires ajax functionality. For instance, when I try to click on a link within the pagination on the member loop within the ‘sub-members’ page, the link is correct (loads the next page in the loop if it were to be opened in a new tab), but nothing happens when it is clicked.

    Steps I tried to pinpoint the issue:
    – Disabled all plugins besides Buddypress for potential conflicts
    – Inserted other ajax content independent of Buddypress onto the ‘sub-members’ page (this content failed too)
    – Tested the Members Loop within existing profile page templates to see if it had to do with inserting it onto a custom Buddypress page (loaded it on the “Activity” page and the ajax didn’t work for this either)
    – Tried to enqueue ajax.php and other relevant scripts despite the fact that in the <head> section, it seems they are being called correctly and working for other built-in ajax calls.

    I have spent many hours trying to figure this out and I would greatly appreciate any help as I am truly stumped and not very knowledgeable about ajax. Thank you

    #268963

    In reply to: BP API Access

    Boone Gorges
    Keymaster

    Hi @barkins – Unfortunately, BuddyPress doesn’t yet have a full set of CRUD endpoints for BP objects. The team is working on it, and we hope to start rolling out endpoints in the near future. BP-REST is the repo to follow for that.

    BP will work fine with the default WP REST API, if all you want to do is access a list of users. However, WP’s user endpoint won’t include any BP data, and you won’t be able to modify/add user data via this endpoint. That said, if your needs are fairly narrow, you can definitely write your own custom endpoint for fetching/updating BP profile data – it’s likely to be much simpler than what’d be required in BP itself, if your needs are pretty specific. Here’s some docs: https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/

    #268959
    Boone Gorges
    Keymaster

    The easiest way to customize things like this is by creating a child theme and overriding the template – in this case, members/register.php. See https://codex.buddypress.org/themes/theme-compatibility-1-7/a-quick-look-at-1-7-theme-compatibility/#child-themes for some information on getting started with child themes.

    #268956
    Boone Gorges
    Keymaster

    Very odd – it appears that this too is caused by your theme, as BuddyPress itself just inherits the mobile styling of the toolbar from WordPress (and the WP toolbar looks fine, as shown by your Dashboard screenshot). Try reaching out to the theme author to see whether they’re able to identify the problem.

    #268953
    shanebp
    Moderator

    Create a template overload of this file: buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.php

    And place your code wherever you want in the overload.

    bp_displayed_user_id() is incorrect in the context of the members loop.
    Instead:

    $user_meta = get_userdata(bp_get_member_user_id());
    echo($user_meta->description);

    Or instead of an overload, use this hook: do_action( 'bp_directory_members_item' );

    julienbr
    Participant

    Hi,

    I installed and activated Invite Anyone plugin on Buddypress and a WP 4.8.

    The plugin is activated correctly and I can modify the settings. i use sendinblue as a third party SMTP server after disabling the default email process but this SMTP provider after I have changed in the dashboard email conf.

    Unfortunately it seems that the emails when I try to send invitation through Invite Anyone are not sent.. I cannot see them under my stats monitoring tool within sendinblue.

    Did anyone face this problem in the past? Any help please?

    richard.miller
    Participant

    I have a child theme, and am attempting to change the mention name (the “@” user name) to the display name (full name, first and last).

    Looks like this is the place to do it:
    buddypress\members\single\cover-image-header.php

    And this looks like the line to edit:
    <h2 class=”user-nicename”>@<?php bp_displayed_user_mentionname(); ?></h2>

    I’ve changed the “mentionname” in that line to “displayname”, but it breaks the page.

    What should I be using, and in the future, where should I look for this kind of answer?

Viewing 25 results - 10,226 through 10,250 (of 94,551 total)
Skip to toolbar