Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 27,876 through 27,900 (of 68,915 total)
  • Author
    Search Results
  • #140213
    Roger Coathup
    Participant

    You can also look at the original plugin that Shawn has copied his code from: http://wpmu.org/create-a-better-community-experience-with-the-new-buddypress-friends-only-activity-stream-plugin/

    There are also some earlier posts on here about how to achieve this.

    #140212
    meg@info
    Participant

    I think buddypress dont accept multi scope :) just only one scope,

    try this shortcode, it work for me


    /**
    * comparator
    */
    function cmp($a, $b) {
    return strtotime($a->date_recorded) date_recorded);
    }

    /**
    * show friends+groups+mentions actitivity in stream
    */
    function bp_get_interests_activity($atts, $content = null){
    $activities = null;
    if ( is_user_logged_in() ) :
    extract(shortcode_atts(array(
    'max' => '20'
    ), $atts));

    do_action( 'bp_before_activity_loop' );
    global $activities_template;

    //get last friends activity ( default 20)
    bp_has_activities( 'scope=friends' );
    $friends_activities = $activities_template->activities;

    //get last groups activity ( default 20 )
    bp_has_activities( 'scope=groups' );
    $groups_activity = $activities_template->activities;

    //get last mentions ( default 20 )
    bp_has_activities( 'scope=mentions' );
    $mentions_activity = $activities_template->activities;

    $intersting_activity = array_merge($friends_activities, $groups_activity, $mentions_activity);
    usort($intersting_activity, "cmp");

    $activities_template->activities = $intersting_activity;
    $activities_template->activity_count = $max;
    $activities = '
      ';
      ob_start();
      while ( bp_activities() ) : bp_the_activity();
      do_action( 'bp_before_activity_entry' );
      ?>
      <li class="" id="activity-">

      <a href="">









      <a href="" class="view" title="">













      <?php do_action( 'bp_after_activity_entry' );
      endwhile;
      $activities .= ob_get_contents();
      ob_end_clean();
      $activities .='
    ';
    do_action( 'bp_after_activity_loop' );
    endif;
    return $activities;
    }
    add_shortcode('interests', 'bp_get_interests_activity');

    and you can call it with this


    echo do_shortcode('[interests max=20]');

    this code, will join the friends + groups + mentions of the current user.
    the only problem, it not a join from database, because the code do a join with last activiy from each scope ( i mean mybe we lose the chronologic order of some activity).

    hope this help.

    #140211
    9087877
    Inactive

    Try my plugin here: https://buddypress.org/community/groups/buddypress-friendpress/ see this is what your after. After installation, and activation go to dashboard/settings/ bp friendpress and change the setting to current user / friends activity. Just be aware it also make buddypress specific pages private so only members can view them. make sure to read the readme.txt regarding group forums or sitewide forums and make changes appropriately. If you do not want the buddypress specific pages private you can go in the bp-friendpress.php file and comment out the part that says “The walled garden.” Hope this helps!

    shanebp
    Moderator

    Not sure if this works with BP 1.6.
    And you’d need to extend it to do what you want.

    https://buddypress.org/community/groups/bp-profile-search/

    #140208

    In reply to: BuddyPress 1.6.1

    johnnymestizo
    Participant

    I usually have to do the following to upgrade buddypress:

    – Full instance backup with my host
    – Deactivate all BP plugins (not deact BP itself as it crashes my server)
    – Replace via SFTP the buddypress folder with the new version
    – Reactivate all BP related plugins
    – Pray that the server does not fall over in the next 5 minutes….

    It works :)

    Johnny

    radiusj
    Participant

    Not a single reply yet. Can someone point me in the right direction?

    Here’s a little more info that further clarifies:

    I’m hoping to use the S2 Member and Buddypress plugins for WordPress to manage volunteers and members at our arts cooperative and website.  S2 Member seems well suited for registering both paid members and volunteers (free users) while Buddypress adds the social features needed to help our people work together.

    S2 Member had me convinced of easy integration with Buddypress, but this has not exactly been the case. S2 Member Registration fields appear in the Buddypress registration form, but I’m having the following issues

    1. Buddypress profile fields allow users to choose if fields should be visible in their profile, or allow admins to set a default visibility for each field.  Can I implement this for fields created in S2?

    2. Buddypress profile fields are linked to a search for other users that share the value of that field.  I had originally thought this would be perfect for a membership directory that categorizes member and volunteer skills, but not sure how to implement a search that works with both types of fields.

    3. S2 does not come with it’s own Member Directory, a feature that should be essential.  It is a known issue and common complaint, for which the developers have provided some pointers in the right direction, but no comprehensive code that would integrate options into Buddypress.  A membership directory is the most essential aspect to our site, but I’m confused as to how proceed, given the limitations of both plugins.

    @mikey3d
    Participant

    Yes, it did helps. Thanks, @boonebgorges

    gamebug
    Member

    uh, anyone?

    Boone Gorges
    Keymaster

    It sounds like this is a filter order problem. In BP 1.6, some sanitization routines were added for security purposes, and it looks like there’s a conflict with the CPF plugin.

    In the …bp-functions.php file, try changing

    `add_filter( ‘bp_get_the_profile_field_value’, ‘cpfb_add_social_networking_links’, 1 );`

    to

    `add_filter( ‘bp_get_the_profile_field_value’, ‘cpfb_add_social_networking_links’, 100 );`

    and see if that helps.

    #140196

    This lets you change the default tabs (tab that is open when clicking on a profile link etc.).

    https://buddypress.org/community/groups/buddypress-extended-settings/

    #140192
    Robert
    Member

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? Deactivating all plugins had no effect on the issue. —- by this i mean all plugins except for buddypress

    #140191

    In reply to: Is this possible?

    @modemlooper, You tha Man, Thumbs Up.

    Thanks for the great work.

    #140190

    In reply to: Admin bar code.

    @designnz, for notification use : “

    and for account menu use :“

    #140185
    danbpfr
    Participant

    Thank you @mercime, but i already tested your advice with only BP and SH activated. I also deactivated my functions.php and i have the same problem.
    Can you give me a link to an example on your site, to see how it looks on your config.
    Perhaps it has to do with some server config.

    #140183
    mumbaipav
    Participant

    @mercime Thank you for all help and support! This has fixed the issue. I really appreciate the help.

    I have question regarding sidebar – if I am not wrong it is showing Default sidebar. Is it possible to select which sidebar to show on BP pages ?

    Thank you once again!

    #140182

    In reply to: Templates

    @mercime
    Participant

    @blg002 based on the link you gave, you should be looking at wp-plugins/bbpress/bbp-themes/ for the forums with tables or in wp-plugins/bbpress/bbp-theme-compat/ with table-less forums for the single-topic template files

    For further assistance, https://bbpress.org/forums/

    #140181
    @mercime
    Participant

    @chouf1 I use Syntax HIghlighter Evolved as well and it’s working well in my BP 1.6.1 installation. I think it is a plugin conflict with other BuddyPress-component-dependent plugins which I see are in your installation but not in my install – e.g. the group documents plugin and the buddy-bbpress support topic plugin – which you should deactivate to see if issue is corrected.

    #140179
    @mercime
    Participant

    == . I really don’t know if this is a BuddyPress issue or a Theme issue, but I sense the former. ==

    @pescholar there’s a way to settle this. Change to bp-default theme and see if issue is resolved.

    #140178
    @mercime
    Participant

    B. COPY your theme’s sidebar.php file and Save As > sidebar-buddypress.php

    Open up the blank sidebar-buddypress.php file and at the very TOP of the file above other code, add this:
    `

    ‘;

    `

    Save file.

    C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/snapwire/ in the same directory where your regular header.php and sidebar.php files are

    D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.

    #140176
    @mercime
    Participant

    @mumbaipav Based on the HTML structure of your theme, you will be only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.

    If you’ve revised any of the BP template files transferred to your snapwire theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your snapwire theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

    A. COPY your theme’s header.php and Save As > header-buddypress.php

    Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:
    `

    <div id="post-” >`

    Save file.

    #140174
    hornets2002
    Participant

    I too would like to display author archives in a BuddyPress tab. This is something I have been looking for for a while now. It seems like something that should be a main feature of buddypress since so many people use it in conjunction with some sort of blog.

    #140173

    In reply to: BP Capability

    Thank you @mercime. I was going to try that step first but I did not see those files in either the WP Editor nor in my hosting files. At this point I am either just going to ditch this or perhaps pay someone to fix it for me real quick.

    #140172

    In reply to: BP Capability

    @mercime
    Participant

    @peppermintmochapatty if you are using this theme, https://wordpress.org/extend/themes/first-lego-league-official , you cannot use the second method (creating xxx-buddypress.php) for Step 3 of the BP Compatibility process. Because of the HTML structure of your theme, you’d need to revise 16 template files from the 6 BP folders transferred to your theme’s folder in server.

    If you still want to proceed with the instruction, let me know.

    @mikey3d
    Participant

    It does happen to me also with BuddyPress Twitter plugin.

    brianglanz
    Participant

    Aye, same here @lwaltzer and we have @boonebgorges to thank for the heavy lifting here :) http://teleogistic.net/code/buddypress/custom-profile-filters-for-buddypress/ … my workarounds have also failed, equivalently with Twitter et al. as for example at http://scienceonlinevancouver.com/members/genegeek/profile/ …Boone?

Viewing 25 results - 27,876 through 27,900 (of 68,915 total)
Skip to toolbar