-
kayart replied to the topic Group member ban and unbanned action hooks in the forum Creating & Extending 2 years, 10 months ago
The groups_unban_member hook fires before the unbanning of a member from a group and the the groups_ban_member hook fires before the banning of a member from a group.
Both hooks are defined in the bp-groups/bp-groups-functions.php file.
-
kayart replied to the topic User Likn in the forum How-to & Troubleshooting 2 years, 10 months ago
Maybe this part of the BuddyPress Codex could help you:
-
kayart replied to the topic How to use bp hooks? in the forum How-to & Troubleshooting 2 years, 10 months ago
Try this:
add_filter( 'bp_members_signup_error_message', 'function_voornaam', 10, 2 );
function function_voornaam( $value, $fieldname ) {
if ( $fieldname == 'field_1' ) {
return '<style>{font-family:bold}</style> you have to enter name.';
}return $value;
} -
kayart replied to the topic How to hide the tab 'friends' from other users in the forum How-to & Troubleshooting 2 years, 10 months ago
function hide_friend_tabs_for_other_users() {
if ( bp_is_user() && !bp_is_my_profile() ) {
bp_core_remove_nav_item( 'friends' );
bp_core_remove_subnav_item( 'activity', 'friends' );
}
}
add_action( 'bp_setup_nav', 'hide_friend_tabs_for_other_users', 10 ); -
kayart replied to the topic How to migrate to buddypress theme in the forum How-to & Troubleshooting 2 years, 10 months ago
Migrate from what? Do you use another community/membership plugin at the moment?
-
kayart replied to the topic How can I build community for shopify website? in the forum Creating & Extending 2 years, 11 months ago
You can create a subdomain and set up a WordPress website there
@kayart
Active 1 year, 4 months ago