Forum Replies Created
-
In reply to: Buddypress tabs order
Example below, change ‘notifications’ to the tab you want to access
function bpcodex_change_notifications_nav_position() { buddypress()->members->nav->edit_nav( array( 'position' => 999, ), 'notifications' ); } add_action( 'bp_setup_nav', 'bpcodex_change_notifications_nav_position', 100 );read more here: https://codex.buddypress.org/developer/navigation-api/
In reply to: Blog subscriber vs. BP userUse something like https://wordpress.org/plugins/restrict-content/
Block off BP pages to logged in users and you dont have to do anything special.
Add users manually like danbp suggested. Non members cans still comment on blog posts.
In reply to: Profile header image sizeno setting in BuddyPress you have to add custom code https://codex.buddypress.org/themes/buddypress-cover-images/
In reply to: Password change blocks userMemory could be running out due to heavy theme, too many plugins or badly written code.If server can’t handle it all. Reevaluate any plugins, do you need them all?
Notice a memory fail with woo commerce email class. Might affect other emails. Try deactivating woo and see if password email goes through.
In reply to: Profile header image sizePeople try to upload very large images all the time. There are limits.
read here about increasing limits https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
In reply to: Profile header image sizeYou can find this information in the codex https://codex.buddypress.org/themes/buddypress-cover-images/
In reply to: Buddypress Groups: Set HOME as defaultdefine( 'BP_GROUPS_DEFAULT_EXTENSION', 'members' );change members to the slug of the extension and then that tab will load when you click a link to a group.
more configurations here https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
In reply to: Change Position of BuddyPress Buttonsuse this plugin https://wordpress.org/plugins/buddypress-custom-profile-menu/
In reply to: redirect to profile after registeruse this plugin https://wordpress.org/plugins/bp-redirect-to-profile/
In reply to: Lost Buddypress Menu ItemUnder Settings in the admin click BuddyPress. Then the tab Pages and re associate the page to the component.
In reply to: Force email for loginThis is outside scope of BuddyPress support as the login system is core WordPress. You may get better answers in the WordPress forums.
In reply to: Password change blocks userThere should be no delay. what kind of hosting do you have?
In reply to: Password change blocks userMake sure you don’t have any plugins that interfere with registration. I notice on your site you have social login.
If you do have plugins you can deactivate them and test.
Try resetting password from yoursite.com/wp-login.php?action=lostpassword
In reply to: Very Important Features For BPlook through this plugin https://wordpress.org/plugins/buddypress-notifications-widget/
The code could be reused to create a menu
This is not a BuddyPress issue. Contact PMPRO support.
I did find this, use are your own risk.
http://codegists.com/snippet/php/pmpro-buddypress-membership-protectionphp_eighty20results_php
bp_core_new_nav_item doesn’t need
‘parent_url’ => $bp->displayed_user->domain,
‘parent_slug’ => $bp->profile->slug,remove those.
create a function to redirect
function my_redirect() { if ( 'community' === bp_current_component() ) { bp_core_redirect( 'your link here ); } } add_action( 'template_redirect', 'my_redirect' );In reply to: Uploading a phot to my profilewhat error?
In reply to: the_ID = 0$component = bp_current_component(); $bp_pages = get_option( 'bp-pages' ); $page_id = $bp_pages[$component];In reply to: Very Important Features For BP* Please refrain from @ mentioning specific users in the topics.
Most of these are plugin territory. The great thing about WordPress and BuddyPress is the nature of plugins and being able to choose the functionality you need to create a custom user experience.
In reply to: Eliminate buddypress pagesIf you remove settings tab it auto removes all child pages.
function w24dr_remove_settings_nav() { bp_core_remove_nav_item( bp_settings_slug() ); } add_action( 'bp_setup_nav', 'w24dr_remove_settings_nav' );In reply to: How to make links nofollow?The only way would be to filter all content and then find each link and add it.
OR
use jQuery to add it
$('a[href^="http"]').attr('rel','nofollow');In reply to: BuddyPress REST API QuestionThis would be a lot of custom development. Read this post about consuming external API in WordPress http://ben.lobaugh.net/blog/46117/wordpress-interacting-with-external-apis
You can do this by hooking into the filter for cover image
function bp_custom_filter_cover_image() { return 'https://i.ytimg.com/vi/tntOCGkgt98/maxresdefault.jpg'; } add_filter( 'bp_attachments_pre_get_attachment', 'bp_custom_filter_cover_image' );In reply to: APP by mobile phoneYou could use:
-
responsive mobile theme such as http://www.buddyboss.com
use AppPresser app framework https://apppresser.com
developer your own app using something like http://ionicframework.comIn reply to: Buddypress pages overriding my themethat’s correct, BuddyPress filters the the_content of a BP page so anything you add to the content editor will not show. BuddyPress uses your themes page.php for all its pages so its kind moot to add content in the editor unless its something to display site wide. You are better off hooking to bp template hooks to display extra content on specific pages.