Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)

  • Kokiri
    Participant

    @kokiri

    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/


    Kokiri
    Participant

    @kokiri

    @troopleader

    How’d you manage? I can’t even get mine to even do that.


    Kokiri
    Participant

    @kokiri

    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.


    Kokiri
    Participant

    @kokiri

    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”.


    Kokiri
    Participant

    @kokiri

    Got a link to the plugin?


    Kokiri
    Participant

    @kokiri

    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.


    Kokiri
    Participant

    @kokiri

    Still not working after changing it to that.


    Kokiri
    Participant

    @kokiri

    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.


    Kokiri
    Participant

    @kokiri

    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.


    Kokiri
    Participant

    @kokiri

    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
    Participant

    @kokiri

    @vapvarun

    Isn’t compatible with the theme I’m using since it’s highly customized and the framework is REACT.


    Kokiri
    Participant

    @kokiri

    @abhishek6394

    Unfortunately that code didn’t work for a code snippet.


    Kokiri
    Participant

    @kokiri

    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);
    ?>

Viewing 13 replies - 1 through 13 (of 13 total)
Skip to toolbar