-
modemlooper replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
Mika and John were just pointing out you didn’t need to load that extra file to check for BuddyPress. The code you were using has been copy & pasted over the years from some early plugins.
-
modemlooper replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
not a requirement. my suggestion is just another possible way to check if BP is active.
-
modemlooper replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
/*** Make sure BuddyPress is loaded ********************************/
if ( class_exists( 'BuddyPress' ) ) {
add_action( 'bp_include', 'private_community_for_bp_lite_init' );
} else {
add_action( 'admin_notices', 'private_community_for_bp_lite_install_buddypress_notice' );
}function private_community_for_bp_lite_init() {
require( dirname(…[Read more] -
modemlooper replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
It all depends on how the plugin functions. if you have WP options saved and then use bp_include to load plugin your settings won’t load fast enough for BuddyPress to use options.
bp_include is used for code that accesses BuddyPress code. So you know that BuddyPress is loaded before you execute code. It should not be used to detect if BuddyPress…[Read more]
-
modemlooper replied to the topic [Resolved] Feel Like I need to beg to get some help…im close to despair! in the forum Installing BuddyPress 11 years, 5 months ago
glad it worked out!
-
modemlooper replied to the topic [Resolved] Feel Like I need to beg to get some help…im close to despair! in the forum Installing BuddyPress 11 years, 5 months ago
if ( !bp_current_component() ) {
//anything here will show on non BuddyPress pages
}
So you could wrap you nav code with that statement
-
modemlooper replied to the topic [Resolved] Feel Like I need to beg to get some help…im close to despair! in the forum Installing BuddyPress 11 years, 5 months ago
copy page.php and rename it buddypress.php
copy header.php and rename it header-buddypress.php
inside buddypress.php change get_header() to get_header(“buddypress”)
remove the header image from header-buddypress.php
-
modemlooper replied to the topic Join a Private Group by Password? in the forum Creating & Extending 11 years, 5 months ago
Don’t think that exists but sounds like a good plugin.
-
modemlooper replied to the topic buddypress.org themes page in the forum Miscellaneous 11 years, 5 months ago
Almost any theme is BuddyPress compatibly so singling out a few themes isn’t required.
-
modemlooper replied to the topic Stop page going to top when menu item is clicked(activity/profile/messages etc?) in the forum How-to & Troubleshooting 11 years, 5 months ago
Header images an every page only satisfies the designer of a site and does nothing for a site user. for usability sake remove it or create and trimmed down header image for user pages.
-
modemlooper replied to the topic Login widget not showing in sidebar in the forum Installing BuddyPress 11 years, 5 months ago
download a login widget plugin from wp.org
-
modemlooper replied to the topic Designing BuddyPress in the forum Installing BuddyPress 11 years, 5 months ago
s2member works well with BuddyPress. When you use BP with multisite only one site on the network contains BP. However, any member of any site on the network is added to BuddyPress. BP consolidates blog postings from the entire multisite into a list.
Alot of WP plugins work with BP. Search BuddyPlug in wordpress.org repo. Also bpinspire.com to…[Read more]
-
modemlooper replied to the topic >>> Any "DIY" app creation services that plug into BuddyPress api? in the forum Ideas 11 years, 5 months ago
BuddyPress core has no API for external communication.
There are however, a few 3rd party API plugins.
https://github.com/tweichart/JSON-API-for-BuddyPress
https://github.com/modemlooper/BuddyData
https://wordpress.org/plugins/buddypress-xml-rpc-receiverBuddyPress Android app:…[Read more]
-
modemlooper replied to the topic Help with action variables and catching a URL in the forum Creating & Extending 11 years, 5 months ago
try hooking to bp_init instead of bp_actions
-
modemlooper replied to the topic Replace BuddyPress profile with custom profile in the forum Creating & Extending 11 years, 5 months ago
You can hide fields from being edited easy. You wrap the if ( ‘textbox’ == bp_get_t…. statements in members/single/edit.php with a if statement:
<?php if( bp_get_the_profile_field_name() != 'test') : ?>
// all the profile fields code here. replace test with the field title you want to hide from the edit form.
<?php endif ; ?>
full code…[Read more]
-
modemlooper replied to the topic [Resolved] Remove oEmbed from activity in the forum How-to & Troubleshooting 11 years, 5 months ago
Try these:
remove_filter( 'bp_get_activity_content_body', 'autoembed', 8 );
remove_filter( ‘bp_get_activity_content’, ‘autoembed’, 8 );In the future, please refrain from replying to a 3 year old topic. Create a new one. 🙂
-
modemlooper replied to the topic Using BuddyPress for Personnel Data in the forum How-to & Troubleshooting 11 years, 5 months ago
BuddyPress profile fields are searchable.
-
modemlooper replied to the topic How to use remove_filter? in the forum How-to & Troubleshooting 11 years, 5 months ago
Try these:
remove_filter( 'bp_get_activity_content_body', 'autoembed', 8 );
remove_filter( ‘bp_get_activity_content’, ‘autoembed’, 8 );In the future, please refrain from replying to a 3 year old topic. Create a new one. 🙂
-
modemlooper replied to the topic Buddypress Mobile Not Working in the forum Installing BuddyPress 11 years, 5 months ago
Version on codex is not fully working on BuddyPress 1.7. Also, it may not work on your device. And, you need to read the setup instructions.
-
modemlooper replied to the topic Multiple profiles under 1 email address in the forum Creating & Extending 11 years, 5 months ago
That plugin won’t allow same user account to use multiple profiles.
- Load More
@modemlooper
Active 10 months ago