Search Results for 'buddypress'
-
AuthorSearch Results
-
August 25, 2012 at 9:33 pm #140213
In reply to: Filtering Activity Stream
Roger Coathup
ParticipantYou 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.
August 25, 2012 at 9:21 pm #140212In reply to: Filtering Activity Stream
meg@info
ParticipantI 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.
August 25, 2012 at 8:56 pm #140211In reply to: Filtering Activity Stream
9087877
InactiveTry 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!
August 25, 2012 at 7:52 pm #140210shanebp
ModeratorNot sure if this works with BP 1.6.
And you’d need to extend it to do what you want.August 25, 2012 at 7:31 pm #140208In reply to: BuddyPress 1.6.1
johnnymestizo
ParticipantI 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
August 25, 2012 at 6:57 pm #140205radiusj
ParticipantNot 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.
August 25, 2012 at 2:24 pm #140199@mikey3d
ParticipantYes, it did helps. Thanks, @boonebgorges
August 25, 2012 at 1:32 pm #140198gamebug
Memberuh, anyone?
August 25, 2012 at 1:16 pm #140197Boone Gorges
KeymasterIt 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.
August 25, 2012 at 12:21 pm #140196In reply to: Change Link on Profile Menu
Austin Nichols
MemberThis 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/
August 25, 2012 at 11:51 am #140192In reply to: Missing Sidebars from Profile Pages
Robert
Member8. 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
August 25, 2012 at 11:44 am #140191In reply to: Is this possible?
Prince Abiola Ogundipe
Participant@modemlooper, You tha Man, Thumbs Up.
Thanks for the great work.
August 25, 2012 at 11:33 am #140190In reply to: Admin bar code.
Prince Abiola Ogundipe
Participant@designnz, for notification use : “
and for account menu use :“
August 25, 2012 at 10:03 am #140185danbpfr
ParticipantThank 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.August 25, 2012 at 6:33 am #140183In reply to: Theme issue – Page alignment
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!
@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/
August 25, 2012 at 4:15 am #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.
August 25, 2012 at 3:56 am #140179In reply to: [Resolved] Cannot Upload Avatar
@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.
August 25, 2012 at 3:49 am #140178In reply to: Theme issue – Page alignment
@mercime
ParticipantB. 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:
`‘;
`Then at the very BOTTOM of the same file below all 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.
August 25, 2012 at 3:49 am #140176In reply to: Theme issue – Page alignment
@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.
August 25, 2012 at 1:21 am #140174In reply to: [Resolved] Display list of author’s articles
hornets2002
ParticipantI 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.
August 25, 2012 at 1:10 am #140173In reply to: BP Capability
PeppermintMochaPatty
MemberThank 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.
August 25, 2012 at 12:27 am #140172In 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.
August 25, 2012 at 12:10 am #140170@mikey3d
ParticipantIt does happen to me also with BuddyPress Twitter plugin.
August 25, 2012 at 12:04 am #140169brianglanz
ParticipantAye, 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? -
AuthorSearch Results