-
Nick's profile was updated 1 year, 4 months ago
-
Cacuoctructuyenvn's profile was updated 1 year, 4 months ago
-
Debtrecoveryindonesia's profile was updated 1 year, 4 months ago
-
Ưu điểm của tủ bếp gỗ óc chó là gì?'s profile was updated 1 year, 4 months ago
-
Rút tiền thẻ tín dụng's profile was updated 1 year, 4 months ago
-
Kokiri replied to the topic Display Avatar Changes in Activity Feed in the forum How-to & Troubleshooting 1 year, 4 months ago
I wasn’t quick enough to make an edit on the post above ^
However the error says:Snippet automatically deactivated due to an error on line 3:
Cannot redeclare function custom_bp_avatar_activity.
-
Kokiri replied to the topic No way of banning users? in the forum How-to & Troubleshooting 1 year, 4 months ago
Isn’t compatible with the theme I’m using since it’s highly customized and the framework is REACT.
-
Kokiri replied to the topic Display Avatar Changes in Activity Feed in the forum How-to & Troubleshooting 1 year, 4 months ago
Unfortunately that code didn’t work for a code snippet.
-
Upen Singh replied to the topic Activity shortcode on homepage in the forum How-to & Troubleshooting 1 year, 4 months ago
Hi @lanceelliott72
Try this plugin
https://wbcomdesigns.com/downloads/shortcodes-for-buddypress/ -
Varun Dubey replied to the topic Custom Development in the forum Creating & Extending 1 year, 4 months ago
First, ensure that BuddyPress is loaded and initialized before your plugin tries to call its functions. Since BuddyPress hooks its initialization to WordPress
bp_initaction, which typically fires on wp or init at a priority of 10, you should ensure your hook runs after this or directly onbp_initwith a lower priority (higher number).You can…[Read more]
-
5 pięknych sposobów łączenia spódnic maxi: od mody ulicznej po imprezę's profile was updated 1 year, 4 months ago
-
Varun Dubey replied to the topic Custom Development in the forum Creating & Extending 1 year, 4 months ago
Ensure the BuddyPress plugin is active and add custom code in child theme functions.php or a custom plugin or using the code snippet plugin. xprofile_get_field_data is a valid function https://hooks.wbcomdesigns.com/reference/functions/xprofile_get_field_data/
-
flyradar's profile was updated 1 year, 4 months ago
-
linebet's profile was updated 1 year, 4 months ago
-
PlatR's profile was updated 1 year, 4 months ago
-
goodcharlottemerch's profile was updated 1 year, 4 months ago
-
frankieromerch's profile was updated 1 year, 4 months ago
-
FINN Interior Design & Construction's profile was updated 1 year, 4 months ago
-
Abhishek Saini replied to the topic Hide own profile in the forum How-to & Troubleshooting 1 year, 4 months ago
If you want to hide currunt loggedin user from member directory you can easily use this code snippet.
`function buddyx_exclude_users( $args ) {
if ( is_admin() && ! defined( ‘DOING_AJAX’ ) ) {
return $args;
}$excluded = isset( $args[‘exclude’] ) ? $args[‘exclude’] : array();
if ( ! is_array( $excluded ) ) {…[Read more]
-
Mohammad Imran replied to the topic Display portion of user bio in membership directory in the forum How-to & Troubleshooting 1 year, 4 months 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] - Load More