Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,976 through 11,000 (of 68,948 total)
  • Author
    Search Results
  • #249287
    Herman Aus
    Participant

    Ay, thanks for that link. It certainly asnwers some of my questions!

    Earlier I tried taking the selected value and storing it using jQuery.post but I couldn’t figure out how to get a working URL and even if I did, how would the groups list get refreshed?

    I figured that BuddyPress has something that already does this. I looked into bp-themes/bp-default/_inc/ajax.php and saw how the bp_ajax_querystring filter is updated there with information from the browser cookies. And I assume that the directory template is reloaded using this function in the same file : bp_dtheme_object_template_loader()

    It’s possible that the value from the select form is already stored but the reason why the template isn’t updating is because this line in ajax.php :

    // Locate the object template
    locate_template( array( "$object/$object-loop.php" ), true );

    can’t locate my custom groups template?

    #249286
    Henry Wright
    Moderator

    Thanks Paul, this is a nice step forward with reference to sending email in BuddyPress.

    #249284

    In reply to: page meta

    Henry Wright
    Moderator

    This will be added by your theme. Check out the Template Hierarchy article for info on how to customise what info is displayed.

    Ref https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/

    #249269
    Paul Wong-Gibbs
    Keymaster

    It shouldn’t be doing this. I’d carry on by seeing if it’s related to any custom code in your theme or any other plugin or customisation you’ve made.

    I’m 99% sure BuddyPress does not itself send the Lost Password email (or trigger any code that does that), so my suspicion is in another plugin. Do you have anything customising wp-login.php (the log-in screen)? That’s where the Lost Password email is usually sent from.

    Paul Wong-Gibbs
    Keymaster

    So the same image can be uploaded OK to the media library, but not BuddyPress? Very odd. How big is this image? (in resolution, and file size)

    #249265
    Paul Wong-Gibbs
    Keymaster

    I don’t know how well it works, but I found https://wordpress.org/plugins/buddypress-message-attachment/ from a quick search.

    shanebp
    Moderator

    Your question pertains to bbPress, not BuddyPress.
    The bbPress support forum is here.

    Anyhow…
    The filter hook you want is in bbpress\includes\common\functions.php

    apply_filters( 'bbp_forum_subscription_mail_message', $message, $topic_id, $forum_id, $user_id );

    function jorrit_filter_forum_topic_message_email( $message, $topic_id, $forum_id, $user_id ) {
    
        $message = wp_trim_words( $message, 15 ); // change 15 to however many words you want
    
        return $message;
    }
    add_filter( 'bbp_forum_subscription_mail_message', 'jorrit_filter_forum_topic_message_email', 10, 4 );
    #249243

    In reply to: Cannot create groups

    Slava Abakumov
    Moderator

    Because of no .htaccess file (and no WordPress permalinks) BuddyPress will not be working properly. It requires permalinks enabled. On BuddyPress activation you should see this text:
    You must update your permalink structure to something other than the default for it to work.

    #249234
    Slava Abakumov
    Moderator

    Install (BuddyPress) Log in widget in sidebar. It will have both login form and logout link.
    http://screencast.com/t/J37U1SgxRb

    #249222
    lolotrgeek
    Participant

    I was having this same problem and after a long mostly fruitless search I finally found a solid/working answer. The way buddypress currently handles these tabs is quite unwieldy so removing each tab requires a different method…

    How to remove group settings tab:

    function bp_remove_group_step_settings($array) {
    	
    	$array = array(
    		'group-details'  => array(
    			'name'       => _x( 'Details', 'Group screen nav', 'buddypress' ),
    			'position'   => 0
    		)
    	);
    	
    	return $array;
    }
    add_filter ('groups_create_group_steps', 'bp_remove_group_step_settings', 10, 1);

    (reference)
    How to remove group avatar and cover photo tabs:
    1. go to Dashboard » BuddyPress » Settings
    2. untick Group Photo Uploads and Group Cover Image Uploads

    How to remove group invite tab:

    function bp_remove_group_step_invites() {
    
    	global $bp;
    	
    	unset( $bp->groups->group_creation_steps['group-invites'] );
    	
    }
    add_action( 'bp_init', 'bp_remove_group_step_invites', 9999 ); 

    How to remove forums tab:
    Disable forums for buddypress…still havent figured out a more practical answer…

    Hope this helps though!

    #249213
    shanebp
    Moderator

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

    And adjust the subject input field so that it looks for your $_GET variable.

    #249204
    kmw1130
    Participant

    It seems like any changes I make to the members-loop.php file doesn’t make a difference, so it makes me wonder if I am updating the correct file. (wp-content\child-theme\buddypress\members\members-loop.php) is the members-loop file I’ve updated. As well as my child-theme function and child-theme\buddypress\members\index.php.

    #249201
    shanebp
    Moderator

    If your customizations are theme-specific, then theme/functions.php and theme/buddypress are the places for your code.

    You can put code in bp-custom.php, but it will run regardless of which theme is active.

    #249192
    efrap
    Participant

    Thanks modemlooper. I saw a post of yours a few years back about adding a tab menu in groups directory page – this is a better solution for me , but I didn’t get it to work. I then got interested in boonebgorges Limit a bp_has_groups() loop code, but I need quite a different query for retreiving group ids found in custom posts metavalues – and that code is way above my level.

    #249189
    jazzbuzz
    Participant

    Hi there,

    I am looking for the same solution.

    Using Membership Pro and Buddypress.

    Anyone found a plugin or a coder? Willing to split costs as well.

    Thanks

    #249187
    Slava Abakumov
    Moderator

    There is such setting: http://take.ms/iD38m
    It should be checked.

    And there is also such ticket in trac: https://buddypress.trac.wordpress.org/ticket/6482
    It will allow comments syncing between activity stream item and posts (so they will appear in both places – very handy). This feature will be included into upcoming (in March) BuddyPress 2.5.

    #249173
    kmw1130
    Participant

    I added this to members-loop:

    <?php /* Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter() */ ?>
    <?php do_action( 'bp_before_members_loop' ) ?>
    
    <?php
    if ( bp_ajax_querystring( 'members' ) ==""){
    $queryString = "type=alphabetical&action=alphabetical&page=1";}
    else {$queryString = bp_ajax_querystring( 'members' );}
    ?>
    
    <?php if ( bp_has_members( $queryString) ) : ?>
    
    <strong>Index.php</strong>
    
    <select id="members-order-by">
    	<?php if ( bp_is_active( 'xprofile' ) ) : ?>
    		<option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option>
    	<?php endif; ?>
    		<option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option>
    		<option value="newest"><?php _e( 'Newest Registered', 'buddypress' 
    
    Functions.php (child theme)
    /** Sort alphabetical name listings by lastname */
    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' );

    Is that correct?

    Thanks
    Kim

    Slava Abakumov
    Moderator

    Place this code in bp-custom.php or functions.php of your theme.

    if ( ! is_super_admin() ) {
        add_filter( 'show_admin_bar', '__return_false' );
    }
    #249171
    Slava Abakumov
    Moderator

    This is a bug in BuddyPress.
    Here is a new ticket: https://buddypress.trac.wordpress.org/ticket/6846

    #249166
    Slava Abakumov
    Moderator

    Oh, and it seems there is a plugin-based solution for that: http://wptavern.com/conditionally-hide-buddypress-profile-field-groups-based-on-user-role

    #249165
    Slava Abakumov
    Moderator

    Out of the box there is no such setting.

    You can take a look at this solution: Hide Profile Field Group from Specific Member Type

    #249163
    Slava Abakumov
    Moderator

    Here is related topic: Making Youtube videos responsive

    #249150

    In reply to: Xenforo Integration?

    willywonkabar
    Participant

    Hey wonky1,

    I’m looking to do something similar. I’m currently on VB and want to move to something else. Xenforo looks like a likely candidate, but we want to be able to utilize BuddyPress.

    May I ask how you’re running user management, registration and access? Is all of that managed by Xenforo, and WP is just pulling/syncing the data? Or the other way around? Waht are you doing for member profile pages? Combine the buddypress and Xenforo pages, or running two separate ones>

    And maybe you can share some details on what you’re using for your bridge.

    Lots of questions, but answers would be a big help.

    Thanks!

    WWB

    #249147
    Slava Abakumov
    Moderator

    If you are talking about site-wide notices – there is a default widget called “(BuddyPress) Sidewide Notices” that just displays notices. You should create them on “Profile -> Messages -> Compose” page, with “This is a notice to all users.” checkbox checked. Make sure you have BuddyPress Message component activated.

    See this: http://take.ms/jSAP4

    #249140
    danbp
    Participant
Viewing 25 results - 10,976 through 11,000 (of 68,948 total)
Skip to toolbar