Forum Replies Created
-
In reply to: Cannot Crop Avatars
not sure how they do the set up but sometimes if its an auto install of WP file permissions are off and the crop can break
In reply to: Cannot Crop AvatarsDid you use a one click installer from your host to install WordPress?
In reply to: Dependant field in registrationNothing in BP core, you can try this plugin http://buddydev.com/plugins/conditional-profile-fields-for-buddypress/
Put a php variable instead of a string and then create a function that tests if you are on a profile or main activity and then return the appropriate response
Threaded is on by default
This might help http://pastebin.com/j3n17CVe
In reply to: Blog & Forum CommentsIn reply to: lots of username crazinessare you on multisite?
In reply to: Hide Profile Field Group from Specific Member Typefind the template file edit.php in members/single/profile
locate
if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) :
change to
if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() . bp_custom_filter_xprofile_fields() ) ) :then add your function for field IDs
function bp_custom_filter_xprofile_fields() { $member_type = bp_get_member_type( bp_displayed_user_id() ); if ( 'member_type_here' === $member_type ) { return '&exclude_fields=3,5,9' ) ); } }you will have to find the IDs of the profile fields
In reply to: Sub Navigation renamingtab names not right or priority off
add_action(‘bp_setup_nav’, ‘jm_move_group_activity_tab’, 999);
In reply to: Sub Navigation renamingtry bp_setup_nav instead of bp_init
In reply to: Auto Join Groupswhat about this one? https://wordpress.org/plugins/buddypress-groupomatic/
the way to do it is to get letter clicked, access db and collect user ID’s and then filter the loop with those IDs
You would need to hook into the avatar save with something like xprofile_avatar_uploaded. Then from the cache docs wp_cache_post_change( $post_id )
function uncache_bp(){ $page_array = get_option('bp-pages'); wp_cache_post_change( $page_array['members'] ); } add_action('xprofile_avatar_uploaded', 'uncache_bp');Not sure this will work as not tested
In reply to: Please help!Sounds like front end submission might help https://wordpress.org/plugins/frontend-uploader/
Not sure that plugin would work. Its that or a custom BuddyPress component. https://codex.buddypress.org/plugindev/creating-a-custom-buddypress-component/
In reply to: Sub Navigation renamingThis is for the admin bar:
function custom_adminbar_titles() { global $wp_admin_bar; $wp_admin_bar->add_menu( array( 'id' => 'my-account-groups-memberships', 'title' => 'new title here', ) ); } add_action( 'wp_before_admin_bar_render', 'custom_adminbar_titles' );This is for profile menu:
function change_profile_submenu_tabs(){ global $bp; $bp->bp_options_nav['groups']['my-groups']['name'] = 'new name here'; } add_action('bp_setup_nav', 'change_profile_submenu_tabs', 999);In reply to: Registration Form ShortCodeThis might help http://buddydev.com/plugins/bp-ajax-registration/
In reply to: Profile menu!There are BuddyPress menu items in the admin menu page
In reply to: Auto Refresh Private MessangesSure, look in the plugin code
In reply to: Load NewestIf you add filters into the loop then the Ajax load won’t get those. Search on how to add filters in a plugin
In reply to: Users collection trackerIs it a button they click? How are these items displayed?
In reply to: Load NewestMaybe I’m confused about “making it optional”
In reply to: Dear developers: Testing data and tools, please!You can remove bp css and then add your own style sheet
if ( !function_exists( ‘bp_dtheme_enqueue_styles’ ) ) : function bp_dtheme_enqueue_styles() { wp_enqueue_style( ‘my-stylesheet’, WP_CONTENT_URL . ‘/themes/my-theme/style.css’ ); } endif;Hmm, bp doesn’t save Ajax pagination to history api and doesn’t use any type of hash url scheme to manage it
In reply to: Auto Refresh Private Messanges