Search Results for 'buddypress'
-
AuthorSearch Results
-
May 4, 2011 at 3:13 pm #111575
tsankuanglee
MemberWonderful, Tom. A minor tweak to your solution:
The original remove_action may not always work
remove_action( ‘bp_adminbar_menus’, ‘bp_adminbar_login_menu’, 2 );
since we can’t guarantee that buddypress plugin is parsed before this fix plugin. A slight modification I made works for me:I change
add_action( 'bp_adminbar_menus', 'custom_bp_adminbar_login_menu', 2 );
to
add_action( 'bp_adminbar_menus', 'custom_bp_adminbar_login_menu', 1 );
so it will run before the original bp_adminbar_login_menu runs, but after the plugins are parsed and hooks are registered, and then in custom_bp_adminbar_login_menu, I added
remove_action( 'bp_adminbar_menus', 'bp_adminbar_login_menu', 2 );Therefore, the whole thing looks like:
function custom_bp_adminbar_login_menu() { global $bp; remove_action( 'bp_adminbar_menus', 'bp_adminbar_login_menu', 2 ); if ( is_user_logged_in() ) return false; $redirecturl = $bp->root_domain . '/wp-login.php?redirect_to=' . urlencode( $bp->root_domain ) . esc_url( $_SERVER ); echo ' ' . __( 'Log In', 'buddypress' ) . ' '; // Show “Sign Up” link if user registrations are allowed if ( bp_get_signup_allowed() ) { echo ' ' . __( 'Sign Up', 'buddypress' ) . ' '; } } add_action( 'bp_adminbar_menus', 'custom_bp_adminbar_login_menu', 1 );I agree with fbutera101, though — I am having a hard time imagining a use case where users want to leave where they already are after logging in.
May 4, 2011 at 6:44 am #111563In reply to: BP Fatal Error?
JamieWade
MemberThe problem appears to be theme related, as the error does not show on the BP-Mobile theme. @cnorris23 My WP_DEBUG is set to false.
May 4, 2011 at 6:21 am #111562In reply to: BP Fatal Error?
Brandon Allen
Participant@JamieWade Are you running the site with WP_DEBUG set to true?
May 4, 2011 at 4:28 am #111561In reply to: activity stream content
ARHistoryHub
Participant@Brooker Maybe this could help you come up with something custom… http://blog.etiviti.com/2010/02/buddypress-hack-remove-new-member-registration-from-activity-stream/
May 4, 2011 at 4:25 am #111560In reply to: activity stream content
ARHistoryHub
Participant@Brooker Hmm, I’m running wp3.1.1/bp 1.2.8 and it seems to still be working fine. I’m blocking blog posts and new member registration without a problem. Obviously the plugin won’t continue to be supported and hasn’t been updated in some time.
May 4, 2011 at 1:18 am #111554In reply to: Can You Disable A Plugin On Mobile Theme Only?
@mercime
Participant@JamieWade, I would ask this at the plugin dev’s site, whether BP Chat is set up to sniff out whether user is browsing from mobile device or not.
May 4, 2011 at 1:14 am #111553In reply to: BP Fatal Error?
Virtuali
ParticipantDon’t deactivate, because the problem is in the buddypress plugin

Seems you have a broken install. Try removing the buddypress plugin, and re-install it.
May 4, 2011 at 1:07 am #111551In reply to: Only Admin Account can Login to Buddypress
@mercime
ParticipantDeactivate BuddyPress and plugins. Check if you as test user can register and log in with WordPress. If you can’t then you have to resolve this in WordPress.org forums before activating BuddyPress.
May 4, 2011 at 1:03 am #111550In reply to: Buddypress version number .. where is it?
@mercime
ParticipantStable tag: 1.2.8
https://buddypress.trac.wordpress.org/browser/tags/1.2.8/readme.txtMay 3, 2011 at 11:35 pm #111547In reply to: Language Wont Change.
israelwebdev
ParticipantStopped being lazy and read the code.
Firstly, I wasn’t paying attention to the “domain” of the strings I was translating, which seemed to be in both buddypress and the theme.
BuddyPress language file had to be under wp-content/plugins/buddypress/bp-languages/, and be named buddypress-%locale%.mo (and .po) where %locale% is the configured locale, such as en_US
The theme (from WPMUDev) had its own language files/domain, and those had to be in the theme’s language directory, and called %locale%.mo (and .po), and then a comment in the theme’s functions.php instructed me to:
`/* uncomment if using custom mo / po file
function init_theme_localization( $locale ) {
return “en_US”; //must be same mo or po name in theme languages folder..it could be en_US or bp-en_EN etc
}
add_filter(‘locale’,’init_theme_localization’);
*/`Phew!
May 3, 2011 at 10:21 pm #111543In reply to: activity stream content
Brooker
Member@ARHistoryHub it doesnt seem to work with wp 3.1.1 and bp 1.2.8
May 3, 2011 at 10:21 pm #111542In reply to: Only Admin Account can Login to Buddypress
lewiscornwell
MemberSame problem. Any luck anyone?
May 3, 2011 at 10:02 pm #111540In reply to: Nav Bar Help
danbpfr
ParticipantCreate first a child theme
insert a copy of template file ->bp-default /header.php
in header php, insert some html for your button – included with your the forum url – in the menu (take exemple from within the existing code to do that)After that activate your child theme in buddypres theme. Done !
May 3, 2011 at 9:32 pm #111538ARHistoryHub
ParticipantNoooo, it’s still very much wanted. Well, I wasn’t using buddypress back when this topic first started, but this could be a powerhouse of a plugin for lots of communities. I’ve been working on a teacher resource site for some time as part of my job with a state history agency and this plugin (and the extended features) would be verrry valuable. I’ve spent hours and hours trying to extend other plugins myself without too much success. Since the community I’m building is focused around user submitted documents – that ability to rate those documents through coordination with BP Forum Attachments, BP Group Docs, and BP Media would be awesome.
May 3, 2011 at 9:05 pm #111536Dwenaus
Participanthmm. I guess no one wants this anymore!
May 3, 2011 at 7:54 pm #111532chrisjscott
ParticipantAny luck on this? It’s possible to get video to display inline using the “oEmbed for BuddyPress” plug-in, but I have yet to figure out a way to do the same for images.
May 3, 2011 at 7:36 pm #111531In reply to: Mashable running BP?
Paul Wong-Gibbs
KeymasterNot aware, but hopefully it gives an idea of what anyone else could recreate with a bit of time, a pinch of expertise, and BuddyPress.
May 3, 2011 at 7:32 pm #111529In reply to: Can’t access a group I created
Paul Wong-Gibbs
KeymasterAh, yes; you’ve run into a known issue when if WordPress is in a subdir, the BuddyPress URL can’t share any of the same words. In this case, you need to rename the mentors group to something else.
May 3, 2011 at 4:43 pm #111521In reply to: Mashable running BP?
May 3, 2011 at 3:35 pm #111517In reply to: email notifications on blog posts
question_man
Member@whitneygreer thank you but I can’t seem to find a plugin that does that. Would you be kind and throw a link at me? Thank you.
May 3, 2011 at 11:23 am #111510In reply to: How To Remove Sub-Reply Button?
James
Participantthanks @cnorris23 ,
but did not work for me again, don’t know, maybe I have some other function, which does not allow this one to work correctly. probably, will have to change core file and put it in some reminder.May 3, 2011 at 11:21 am #111509@mercime
ParticipantYes, this is a know issue https://buddypress.trac.wordpress.org/ticket/3096.
It’s a WordPress bug and reported by DJPaul https://core.trac.wordpress.org/ticket/16744May 3, 2011 at 5:12 am #111502In reply to: [Resolved] problem with resize pictures from profile
@mercime
Participant@sienteastu glad you resolved your cropping issue and thanks for coming back and letting us know about the plugin conflict.
May 3, 2011 at 2:41 am #111496ARHistoryHub
ParticipantHave you tried re-installing bbPress in the Forums Setup menu (under the buddypress menu) in the dashboard? What versions of WP/BP are you using?
May 3, 2011 at 2:31 am #111495In reply to: activity stream content
ARHistoryHub
ParticipantEasiest way is using the BuddyPress Block Activity Stream Types plugin by Rich Fuller – https://buddypress.org/community/groups/buddypress-block-activity-stream-types/
-
AuthorSearch Results
