Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 10,176 through 10,200 (of 68,948 total)
  • Author
    Search Results
  • sharmavishal
    Participant
    #253529

    In reply to: WordPress 4.5

    danbp
    Participant

    Of course !
    https://codex.buddypress.org/releases/ > see latest… 🙂

    #253525
    danbp
    Participant

    Perhaps this can help you to go further.

    For point 2, maybe this snippet can do the job. Give it a try ! Add it to bp-custom.php

    function custom_display_xprofile_fields() {
    
    // single field item
    if ( $data = bp_get_profile_field_data( 'field=Industry' ) ) : // change field name to yours
    	echo '<div class="industry">'. xprofile_get_field_data( 'Industry', bp_displayed_user_id() ) .'</div>';
    endif;
    }
    add_action( 'bp_after_profile_loop_content' , 'custom_display_xprofile_fields' );
    #253524
    danbp
    Participant

    Hi @subairtc,

    see bp_activity_get_where_conditions filter in bp-activity-classes.php ~L. 418

    Here a similar question with more details.

    Also, maybe you can do something based on this snippet, with a different approach.

    /**
     * Change order of activities query string.
     * @param string $query Query string.
     * @return string $query Modified query string.
     */
    function bpfr_filter_activity_default( $query ) {
    	if ( empty( $query ) && !empty( $_POST ) ) {
    		$query = 'order=ASC';
    	}
    	return $query;
    }
    add_filter( 'bp_ajax_querystring', 'bpfr_filter_activity_default', 999 );

    Apologize if i’m wrong. 😉

    #253523
    shanebp
    Moderator

    BP recently added the BP Email API which uses its own methods.

    You can place the code in bp-custom.php rather than your theme/functions.php

    #253520
    shanebp
    Moderator

    Try this in your theme/functions.php

    add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_from( "you@yoursite.com", "Your Site" ); }, 10, 2 );

    See codex page.

    #253518
    Jerry101
    Participant

    Yes, they are all checked / enabled

    BuddyPress -> Components & BuddyPress -> Settings

    Can not add groups, not as Admin , Not as User. Neither can I as Admin via Admin panel Groups.

    but i still can’t see the “create group tab appear next to invitation tab.

    #253516
    subair.tc
    Participant

    I have added the ‘include’ argument with ‘bp_has_activities’ function as

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&action=activity_update&include='.$sorted_ids  ) ) : ?>

    where the ‘$sorted_ids’ the comma separated activity id’s in sorted order. But unfortunatly the BuddyPress Core will sort the activities in ASC or DESC order.

    I fount the Query used in core file ‘class-bp-activity-activity.php’ inside ‘plugins\buddypress\bp-activity\classes’ on line number : 585 as

    // Query first for activity IDs.
    $activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY a.date_recorded {$sort}, a.id {$sort}";
    

    and i have replaced it as

    if($in)
    $activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY FIELD(id,$in)";
    else
    $activity_ids_sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} ORDER BY a.date_recorded {$sort}, a.id {$sort}";
    
    

    Now it’s working fine for me, But it’s not recommended to modify the core file

    So please let me know if any one know the filter hook used for modifying the Query from the file itself.

    #253514
    sharmavishal
    Participant

    check this but its a paid plugin

    Introducing BuddyPress Message Privacy Plugin

    #253513
    sharmavishal
    Participant

    google “buddypress portfolio” and you will find couple of options…

    #253505
    sharmavishal
    Participant

    my bad…i got confused..i was talking about another user blog plugin for buddypress…so u need to ask sbrajesh then…

    #253504
    sharmavishal
    Participant

    this has been asked many times on this forums….check the avatar related in the following article

    Getting Started

    #253495

    In reply to: Heavy resource load

    sharmavishal
    Participant

    install Query Monitor and Query Monitor bbPress & BuddyPress Conditionals this 2 plugins..figure out what is hogging your resources

    #253482
    jclark1234
    Participant

    I have spent 20 hours on tech support to figure this out.

    My host tech support at WP Engine went through and we tested every plugin and isolated that the capitalization appears only when buddypress plug in is activate.

    As I wrote in my original post “I am using wp 4.5.2 and the ispirit 1.1.2 and it replicates with the
    standard themes. It happens in safari, chrome and on iphone browser.”

    When I stay standard themes I mean the three that come with the wp install.

    We (wpengine and I) did redirects so that when the bp system generates the odd capitalization issue it redirects to the page with the caps.

    Go here and watch it redirect http://www.championcollegeservices.com/register to http://www.championcollegeservices.com/Register

    We did that redirect as a temporary solution so that people could at least sign on.

    The bug needs to be found and fixed.

    #253481
    Joost abrahams
    Participant

    I,m am very sorry but… You did make those changes somehow, wordpress and buddypress only outputs lowercase slugs.

    You are not typing internet adresses directly into your browser? Those links in your chase are generated by your theme? Did you try a different theme? Did you try to change the page slug?

    #253480
    jclark1234
    Participant

    Joost…do you see? We did not make those changes they just POODF! magically appeared thanks to buddypress. Nothing we did. It is a bug.

    #253473
    mlwilkerson
    Participant

    Well, what do you know: I just found a fix for my problem here:
    https://buddypress.trac.wordpress.org/ticket/4824#comment:4

    (I had seen that recent fix from @pareshradadiya previously, but hadn’t noticed that it was a recent update to a 3 year old thread. So, figuring it might actually be current and relevant, I gave it a try and it worked.)

    #253464
    pjbarry21
    Participant

    Did you find a solution to this? We’re running into this on a clean install. I’ve seen a post about possibly a clean install, but making sure to enable “anyone can register” before installing BuddyPress, but was hoping to find a solution that didn’t require that (and no idea if it would fix it).

    #253463
    name
    Participant

    A little more info – When I enable the setting in bbpress to allow buddypress forums, I still don’t see any forum options on the front end when creating a new group (the option is only on the backend for groups)

    I confirmed that the group creates a forum_id in database: value of a:1:{i:0;i:21901;}
    And that forum 21901 exists in wp_posts

    I also confirmed that the enable_forum value is set to 1 for the group ID in wp_bp_groups

    #253457
    manicexpression
    Participant

    Are there any ways to separate the Buddypress Private Messages system into pages? A long conversation can become daunting to scroll through. Also is it possible to set the newest messages to appear at the top?

    danbp
    Participant

    For readers curious about the answer, autoembed does not run on meta items unless the dev runs it manually themselves ( @r-a-y ).

    More details on BuddyPress Slack.

    #253449
    danbp
    Participant

    Hi Julia,

    it’s a bbPress bug, patched a while ago, but still in. Maybe a day it will be repaired definetly.

    For the moment, you can repair yourself. Open activity.php in wp-content/plugins/bbpress/includes/extend/buddypress/

    Replace following code block at line 277/279:

    $existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ) );
    if ( empty( $existing['total'] ) || ( 1 !== (int) $existing['total'] ) )
    return null;

    by

    $existing = new BP_Activity_Activity( $activity_id );
    if ( empty( $existing->component ) ) {
    return null;
    }

    Save and reload to to your site by FTP and you’re done.

    danbp
    Participant

    Private group options are

    1. Only users who request membership and are accepted can join the group.
    2. This group will be listed in the groups directory and in search results.
    3. Group content and activity will only be visible to members of the group.

    To modify option 3, you can code something.
    Read from here.

    #253443
    megin
    Participant

    Hi @danbp,

    Thank you for your reply.
    I wrote bp-custom.php inside the folder( wp-content/plugins/).

    I would link to add extra field inside the file( buddypress/bp-themes/bp-default/activity/post-form.php) and need to insert that value on the table (wp_bp_activity_meta). I wrote the function for this purpose. Unfortunately its not working. please help.

    function add_meta_to_activity( $content, $user_id, $activity_id ) {
    
        bp_activity_update_meta( $activity_id, 'option1', $_POST['option1'] );
    
    }
    add_action( 'bp_activity_posted_update', 'add_meta_to_activity', 10, 3 );
    danbp
    Participant

    ?????
    Some details perhaps ?

    Groups

Viewing 25 results - 10,176 through 10,200 (of 68,948 total)
Skip to toolbar