-
Ana Castillo's profile was updated 2 years, 2 months ago
-
Gracia's profile was updated 2 years, 2 months ago
-
Paola Ruiz's profile was updated 2 years, 2 months ago
-
Anna Sawyer's profile was updated 2 years, 2 months ago
-
texasglasses's profile was updated 2 years, 2 months ago
-
Karim star's profile was updated 2 years, 2 months ago
-
RP888 Slot Gacor's profile was updated 2 years, 2 months ago
-
zyog's profile was updated 2 years, 2 months ago
-
March Calendar 2024's profile was updated 2 years, 2 months ago
-
drugchurchmerch's profile was updated 2 years, 2 months ago
-
Wing138 && Situs Hoki Slot Gacor Maxwin Malam Ini Mudah JP X500's profile was updated 2 years, 2 months ago
-
apostasesportivasvip's profile was updated 2 years, 2 months ago
-
Amit Agrahari replied to the topic Disable password change in the forum How-to & Troubleshooting 2 years, 2 months ago
@mayawi Using the following code snippet, you can completely conceal the General tab in the settings.
add_action( 'bp_setup_nav', 'wbcom_custom_set_default_sub_nav', 20 );
function wbcom_custom_set_default_sub_nav() {
//Remove the general tab
bp_core_remove_subnav_item( bp_get_settings_slug(), 'general', 'members' );//Set the Email tab as…[Read more]
-
BPTP Sector 113 Gurgaon's profile was updated 2 years, 2 months ago
-
Angel Care's profile was updated 2 years, 2 months ago
-
HENG99 เกมเดิมพัน รอบเร็ว เล่นง่ายจบเกมไว's profile was updated 2 years, 2 months ago
-
Scientech Easy's profile was updated 2 years, 2 months ago
-
Varun Dubey replied to the topic Display output Xprofile checkbox in the forum How-to & Troubleshooting 2 years, 2 months ago
@agorafolk You can achieve this by customizing your theme or creating a custom plugin to manipulate the output of the xprofile field data.
// Assume $user_id is the ID of the user and $field_id is the ID of your checkbox field
$selected_options = bp_get_profile_field_data( array( 'field' => $field_id, 'user_id' => $user_id ) );// Split the…[Read more]
-
Varun Dubey replied to the topic xprofile date output in the forum How-to & Troubleshooting 2 years, 2 months ago
@agorafolk you can use the date_i18n() function provided by WordPress, which formats the date according to your WordPress installation’s language setting.
// Assume $member_birthday contains the birthday date from the member's profile in the format '1984-06-27 00:00:00'[Read more]
$member_birthday = '1984-06-27 00:00:00'; // Replace this with the actual… -
Varun Dubey replied to the topic Prevent Buddypress Rewrite Rules on Non-Buddypress pages/posts in the forum How-to & Troubleshooting 2 years, 2 months ago
One approach is to use the pre_get_posts action hook to check if the current page is a BuddyPress page using BuddyPress conditional tags like bp_is_directory() or bp_is_user(). If the page is not BuddyPress, you can remove or modify the rewrite rules.
- Load More