-
Mohammad Imran replied to the topic Remove @username from profile url in the forum Installing BuddyPress 4 months, 4 weeks ago
@aboutm2 please paste this code snippet and check it as per your requirement.
[Read more]
// Hide user name from BuddyPress profile
function hide_user_name_from_profile() {
if ( bp_is_active('xprofile') ) {
?>
<style>
.user-nicename{
display:none;
}
</style>
<?php
}
}
add_action( 'wp',… -
Mohammad Imran replied to the topic How to change the text of these three submenu texts on groups page? in the forum How-to & Troubleshooting 5 months, 1 week ago
@neighborhoodnurturers0 These strings will be translated with the help of Loco Translation plugin.
https://prnt.sc/DXGWPwAhVAIm -
Mohammad Imran replied to the topic If current user is seeing another user profile then we have to remove setting in the forum Ideas 5 months, 1 week ago
The settings tab is also not visible if the user is viewing another user’s profile. This is the default functionality in BuddyPress.
https://prnt.sc/UKnd4pO7_sjY -
Mohammad Imran replied to the topic Display portion of user bio in membership directory in the forum How-to & Troubleshooting 5 months, 1 week ago
@stephunique with the help of this code snippet, you can display the user bio on member directory.
/**
* User Bio on member directory.
*
* @return void
*/
function display_user_bio_on_member_directory() {
if ( ! bp_is_members_directory() ) {
return;
}
global $members_template;
$member_id = $members_template->member->id;
$bio =…[Read more] -
Mohammad Imran replied to the topic Fatal error in the forum Installing BuddyPress 5 months, 1 week ago
@serranospc Please paste the error log that are help which type of issue you are facing and it is also help how to replicate the issue.
-
Mohammad Imran replied to the topic XProfile Custom Field Types in the forum How-to & Troubleshooting 9 months, 3 weeks ago
-
Mohammad Imran replied to the topic Redirect after registration in the forum How-to & Troubleshooting 9 months, 3 weeks ago
function redirect_after_registration() {
return home_url( ‘/your-page-name’ ); // Replace ‘/your-page-name’ with the URL of the page you want to redirect users to.
}
add_filter( ‘registration_redirect’, ‘redirect_after_registration’ );
@imranmd
Active 1 month ago