Forum Replies Created
-
In reply to: How to use hooks like bp_nouveau_signup_hook?
Hi,
Please try this snippet:
function my_custom_register_msg_title() { echo '<h3>My custom text</h3>'; } add_action('bp_before_register_page', 'my_custom_register_msg_title' );Thanks
In reply to: User IDHi,
The code bitboy provided works fine with the nouveau template, if you are using the legacy template then try this code:
function ps_show_displayed_user_id() { if ( bp_is_my_profile() || is_super_admin() ) { echo 'ID: ' . bp_displayed_user_id(); } } add_action( 'bp_profile_header_meta', 'ps_show_displayed_user_id' );Please try to mention your template pack when asking for such kind of help in the forum, because the hooks differ in both the templates, that will also help us to help you better.
Thanks
In reply to: Extended Profile Fields Under PhotoHi,
You can find it in your theme kleo/buddypress/members/single/cover-image-header.php and the code is
<?php bp_displayed_user_avatar( 'type=full' ); ?>You need to echo your profile field just below this one.
Thanks
In reply to: How do I change members permalink?Hi,
This will only be possible if your users have random numbers as their username.
Thanks
Hi,
This is hardcoded in bbpress plugin here bbpress\includes\extend\buddypress\groups.php.
Find the line
$this->slug = 'forum';but I think changing this may create some issues but you can check if it works fine for you or not. Also changing anything in core file is never recommended because on the next update you will lose it and then have to redo again.One recommendation is that always take a backup of your site when you are doing such core changes.
Thanks
Also, it seems to a coding customization to me that is done on your site. Because BuddyPress does not provide that home link in profile, it always starts from view.
Thanks
/profile/classic/ this is for view tab correct?
In reply to: Extended Profile Fields Under PhotoYou need to create buddypress/members/single folder in the child theme and then copy paste the file from plugin to this location and there you can see the code for the avatar.
Thanks
Hi,
This topic already exists here: https://buddypress.org/support/topic/trigger-function-on-submitting-edit-profil-form-filter/
Please do not repost again.
In reply to: Remove Name HeaderHi,
In nouveau template home.php is the file that you need to override in your child theme and then wrap this code: `
<div id=”item-header” role=”complementary” data-bp-item-id=”<?php echo esc_attr( bp_displayed_user_id() ); ?>” data-bp-item-component=”members” class=”users-header single-headers”><?php bp_nouveau_member_header_template_part(); ?>
</div><!– #item-header –>`
in the condition :
if(!bp_current_component('your_comp_name') || !bp_current_component('your_comp_name') || !bp_current_component('your_comp_name'))Thanks
Hi,
Please use this action hook ‘xprofile_updated_profile’ to do so.
Thanks
In reply to: Turn off admin notification for each subscriptionHi,
Please check this link: https://wordpress.stackexchange.com/questions/90311/turn-off-admin-emails-for-new-user-registrations
You can paste the code in your child theme’s functions.php or can use code snippets plugin.
Thanks
In reply to: Member map in learndash websiteIf you want to remove the rest of the members from member directory then it can be done using custom code otherwise I don’t think that plugin have the option to show only specific type member.
Thanks
What’s the last part of URL it takes when you are going on view and what’s on home?
ok, great 🙂
Please do not create duplicate posts in the forum.
Hi,
With the legacy template you need to write this line
define('BP_DEFAULT_COMPONENT', 'profile' );in your wp-config.php file just afterdefine('DB_COLLATE', '');Thanks
In reply to: Hide some users from members directoryHi,
Normally it should work in bp-custom.php but if you are not able to run the code you can use this plugin https://wordpress.org/plugins/bp-custom-functionalities/. Using this plugin you can easily exclude any user role(administrator. subscriber etc.) from members directory.
Thanks
In reply to: Remove the signup confirmation.In reply to: Private Message restrictions by member levelDo you know how much can it cost this kind of customization?
It always depends on freelancer’s rate.
In reply to: Remove Name HeaderHi,
You have to check current component using the function
bp_current_component()and you can find the component list here https://codex.buddypress.org/developer/bp-is-active/Thanks
In reply to: Extended Profile Fields Under PhotoHi,
You need to find the file cover-image-header.php and override it in your child theme then just after the avatar code you have to call the function https://buddypress.org/support/topic/bp_get_profile_field_data-2/
Thanks
In reply to: Friend request not showingThis is strange because this works for me really well with twenty-seventeen and BuddyPress.
In reply to: Private Message restrictions by member levelHi,
This functionality requires customization and cannot be done using default settings.
Thanks
In reply to: Change order of Group tabsWelcome 🙂