Forum Replies Created
-
The developer has said “We don’t have any other reports of this and weren’t able to reproduce it.”.
@troopleader
Make sure to make a ticket so they can get this fixed.You can find the ticket system here: https://odindesignthemes.ticksy.com/submit/
How’d you manage? I can’t even get mine to even do that.
It sounds like you’re experiencing issues with the same theme, but the theme’s developer believes there’s no problem. I have not come up with a solution yet.
How would I go about using the Loco Translate plugin? When I go to click Overview on each plugin it keeps saying there is no .pot files or any if that.”No translations found for such and such”.
Got a link to the plugin?
Still didn’t work. After changing the settings and clearing the cache it still takes me to https://website.com/username/settings/bp-member-messages/ instead of correct URL.
Still not working after changing it to that.
Thanks for your input! It’s just the way we have our website procedures set up, and we prefer to keep it consistent across all user-related functions. Requiring the actual username is part of how we want things structured for better clarity and tracking on our end.
I’d rather keep the username in the link instead of “me” and we did rid of “members” in the link besides the member directory.
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.
Isn’t compatible with the theme I’m using since it’s highly customized and the framework is REACT.
Unfortunately that code didn’t work for a code snippet.
I tried writing this code however no luck.
<?php
// Add action to show new avatar in activity stream
function custom_bp_avatar_activity($user_id, $args) {
// Get the user data
$user = get_userdata($user_id);
$user_link = bp_core_get_userlink($user_id);// Create the activity entry
bp_activity_add(array(
‘user_id’ => $user_id,
‘action’ => sprintf(__(‘%s has updated their avatar.’, ‘buddypress’), $user_link),
‘component’ => ‘profile’,
‘type’ => ‘new_avatar’,
‘item_id’ => $user_id,
));
}
add_action(‘xprofile_avatar_uploaded’, ‘custom_bp_avatar_activity’, 10, 2);// Add action to show profile update in activity stream
function custom_bp_profile_update_activity($user_id, $posted_field_ids, $errors, $old_values, $new_values) {
// Get the user data
$user = get_userdata($user_id);
$user_link = bp_core_get_userlink($user_id);// Create the activity entry
bp_activity_add(array(
‘user_id’ => $user_id,
‘action’ => sprintf(__(‘%s has updated their profile.’, ‘buddypress’), $user_link),
‘component’ => ‘profile’,
‘type’ => ‘updated_profile’,
‘item_id’ => $user_id,
));
}
add_action(‘xprofile_updated_profile’, ‘custom_bp_profile_update_activity’, 10, 5);
?>