Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 4,601 through 4,625 (of 68,986 total)
  • Author
    Search Results
  • carlosfurniz
    Participant

    Greetings,

    I am working in a particular scenario with buddypress in which I require a function: if a member wants to send a customized form, like a contract form or agreement form to another user to sign in electronically and submit it to the originating member, is there a way or plugin, or any procedure to realize this?

    Thanks in advance

    #306419
    Nahum
    Participant

    If the above is working with template files, why wouldn’t overwriting buddypress.css via /buddypress/bp-legacy/css be working like it would under /buddypress/css or /community/css?

    #306414
    Nahum
    Participant

    oops sorry I put in the wrong snip then I couldn’t edit…here’s what “seems” to be working for me.

    add_filter( 'bp_get_template_locations', 'my_template_pack_stack' );
    
    function my_template_pack_stack( $locations = array() ) {
    
    if( bp_get_theme_package_id()  === 'nouveau') {
    
    $locations[] = '/buddypress/bp-nouveau';
    
    } elseif( bp_get_theme_package_id()  === 'legacy') {
    
    $locations[] = '/buddypress/bp-legacy';
    
    }
    
      return $locations;
    }
    
    shanebp
    Moderator

    Just for reference… This works on a basic installation:

    // add order options to members loop
    function pp_member_order_options() {
    	?>
    	<option value="alphabetical-last"><?php _e( 'Alphabetical - Last Name', 'buddypress' ); ?></option>
    	<?php
    }
    add_action( 'bp_members_directory_order_options', 'pp_member_order_options' );
    
    function pp_members_loop_selection( $bp_user_query ) {
    
    	//  if Order By is set to alphabetical-last, sort by last name
    	if ( 'alphabetical-last' == $bp_user_query->query_vars['type'] ) {
    		$bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)";
    	   
    		// if they have variable last names like: Jones de Smith
    		//$bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index( substring_index(u.display_name, ' ', 2), ' ', -1 )";
    	}
    
    }
    add_action ( 'bp_pre_user_query', 'pp_members_loop_selection', 20 );

    The bp_pre_user_query hook is very powerful, but if anything else on your site is using it then the results can be confusing.

    warrencat
    Participant

    I’ve been trying for a while with no success to order the member directory by last name (surname) instead of first name. Extensive searching through the support forum and elsewhere would indicate that the following code modifications to a custom members-loop.php file in the theme folder and the theme functions.php file should accomplish this.

    My custom members-loop.php file contains:
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&populate_extras&type=alphabetical' . '&per_page=30' ) ) : ?>

    My theme functions.php file contains:

    function alphabetize_by_last_name( $bp_user_query ) {
        if ( 'alphabetical' == $bp_user_query->query_vars['type'] )
            $bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)";
    }
    add_action ( 'bp_pre_user_query', 'alphabetize_by_last_name' );

    Instead of sorting and displaying members by last name, it returns the message:

    Sorry, no members were found.

    If I change ‘u.display_name’ in the functions.php file code to ‘u.value’, all the members are listed in the default alphabetical sort order by first name. So, it appears that, for some reason, the code won’t output the expected results when ‘u.display_name’ is used.

    I’m posting here in the hopes that someone in this support community might have some additional guidance or suggestions that could help me figure this out.

    Here are a couple of the links I’ve previously referenced when trying to get this working:
    https://buddypress.org/support/topic/sort-user-list-by-last-name/
    https://buddypress.org/support/topic/sorting-by-last-name-goes-wrong-when-having-multiple-words-as-last-name/

    #306403
    shanebp
    Moderator

    When you post complaints without any details then you will get no support.
    BuddyPress is an open-source product.
    You should hire a developer to help you.

    #306401
    shanebp
    Moderator

    I cannot duplicate your issue with a WP theme like 2019.

    Here are some basic questions to help you narrow down the issue:

    Did BuddyBoss do their tests on your site or theirs ?

    Are you trying to delete from the front-end or the back-end?
    What kind of group is it – public, private, hidden ?

    Which BP template are you using?

    Did you check your error logs ?

    Have you try deactivating other plugins?

    If you can list the steps to create the issue – be specific and include screenshots – you could open a ticket here. Be sure to reference this thread.

    warrencat
    Participant

    For Buddypress user profiles, we create user profiles in WordPress by syncing with Active Directory. This creates new WP user profiles and also syncs data over to BP XProfile fields.

    In configuring this process, I’ve learned that BP Visibility rules for XProfile fields are not set when user profiles are created via import from Active Directory; they are only set when an existing profile is manually edited and updated. Is there a way to fix or work around this, to get the Field Visibility rules applied to user profiles regardless of when/how the profiles are created (via import, etc.)?

    #306398
    imanuelgittens
    Participant

    Thanks for getting back to me. I did reach out to their support but here is what they said

    I tried to remove the members from the groups but it looks like there is nug in buddypress itself. It doesn’t remove the member from the group.

    I tested the same thing with the wordpress default theme and the same result so it is a buddypress specific issue. Can you please once contact buddypress support and report the issue.

    So I’m not 100% sure right now what is the source of the problem.

    #306390
    Nahum
    Participant

    could try
    https://codex.wordpress.org/Shortcode_API#Output
    and
    codex.buddypress.org/developer/loops-reference/the-blogs-loop/

    #306388

    On the Buddypress activity page, you can filter by All Members, Favorites, Mentions, ect…

    How do I add a filter to only show updates from a specific user id?

    #306384
    imanuelgittens
    Participant

    Hi, I’m using the buddyboss theme which uses buddypress and the groups functionality is giving me some trouble. I can’t remove members from a group – I have to ban them then add them to another group. Is this a common problem?

    #306383

    In reply to: PROBLEM IN DATA EXPORT

    shanebp
    Moderator
    #306380
    visitatore
    Participant

    Wordpress version 5.2.1
    Buddypress 4.3.0
    Twenty Twelve theme
    Link to the Blog: https://problemaesportazionedati.altervista.org/

    PROBLEM IN DATA EXPORT:
    Created ALTERBLOG account (exported data issues)
    enabled:
    1) Cache
    2) https
    3) Cloudflare
    Installed Buddypress 4.3.0
    Activated all components in “Buddypress Settings”
    Went to “Tools / Export Personal Data” and tried to download personal data.
    Data downloading was unsuccessful and produced the following warning:

    An error occurred while trying to export personal data.

    SyntaxError: Unexpected token <in JSON at position 0

    Brand new Alterblog account; Buddypress unique plugin installed; tried other Themes with the same result.

    Try the same procedure with other themes and get the same result.

    Can anyone from Buddypress solve the problem?

    Early thanks. (I’m using Google Translate, greetings from Italy)

    Claudio

    salmansaleem920
    Participant

    Hi,
    I have a community site build on buddypress. So far, all is going good but now my client wants extended profile field (Surname of user) to be shown in place of default first and last name of user. How can i do this ? Please help

    mohammedarif
    Participant

    Hello,
    I build a custom tab which url “http://example.com/members/{dynamic_user_slug}/customtab” in BuddyPress profile page. I want when user click a menu then he goes to his custom tab that is “{dynamic_user_slug}/customtab”.
    So how can I get this dynamic_user_slug in the url?

    #306362
    wasanajones
    Participant

    I’m trying to create a shortcode to replace the Site Directory page generated by Buddypress on multisite networks.

    Know of a resource to do it in functions.php or bp-custom.php ?

    Thanks

    ranjanmania
    Participant

    Hi,

    we have created buddypress profiles for some users who aren’t our regular story writers on our news media website. How can we get these users feature into the search findings of search box that we have in our homepage and other pages we have on our website. We want to search them by their names on all the pages

    Website is http://www.sportscrunch.in

    Thank you in advance.
    Ritesh

    #306353
    Nahum
    Participant

    Find the /buddypress/members/single/profile/change-avatar.php file and place a copy in your child theme’s /buddypress/members/single/profile/ folder and modify that file by removing the parts about gravatar

    or this maybe

    Loco Translate

    Nahum
    Participant

    Trying to get to the best way to avoid those flashing number counts in the activity navigation tabs when at 0 and the page loads.

    What I ended up doing is overriding the /common/nav/directory-nav.php template from:

    <?php if ( bp_nouveau_nav_has_count() ) : ?>
    <span class="count"><?php bp_nouveau_nav_count(); ?></span>
    <?php endif; ?>

    to

    <?php if ( bp_nouveau_nav_has_count() ) : ?>
    <span class="count c-<?php bp_nouveau_nav_count(); ?>"><?php bp_nouveau_nav_count(); ?></span>
    <?php endif; ?>

    then
    .buddypress-wrap .bp-navs li.dynamic a .count.c-0 { display:none; }

    Anyway to get at this via bp_nouveau_get_nav_count Rather not have to override that template.

    #306340

    In reply to: Registration page

    smiranda
    Participant

    I have the same issue. I hope BuddyPress folks are on board for support. nearly two weeks after the above post.

    #306338

    In reply to: Help with Setup

    shanebp
    Moderator

    Deactivate Youser for now.
    Get a basic BP install working first.

    Walk thru the Configure guide and the Admin guide instructions in the codex.

    Resave your permalinks after choosing any option other than the default option.

    I’m not saying that it will solve all your issues, but it will get you on the right track.

    #306333

    In reply to: Comment Blacklist

    shanebp
    Moderator

    BuddyPress does not include forums.

    If you are using bbPress, you should ask on their support forums.

    Finding out which words are triggering a filter can be difficult. The people at bbPress should be able to provide specifics re their filter.
    If the issue about WP comments rather than forum lists, you could ask on the WP support forums.

    #306332

    In reply to: BuddyPress and bbpress

    gal_Dahan
    Participant

    Unfortunately there is no answer you have knowledge WP Job Manager I want instead of apply for job will send a message to the user via buddypress

    #306331
    writersabroad
    Participant

    Not sure if this is a wordpress or buddypress issue so posting in both places. I run a writers community with buddypress and have set up forums where members can post pieces of work. We are experiencing some difficulty with the comment blacklist which prevents some words from being used even if within a word e.g. double breasted…. and one piece of work I can’t for the life of me find the word that is blocking the post… whilst I want to be able to stop spam comments, surely forum posts from members who have to be signed in to post is another thing? Any suggestions? I am useless with code :). Even if we had something which could identify the rogue word we could do something about it…

    Thank you

Viewing 25 results - 4,601 through 4,625 (of 68,986 total)
Skip to toolbar