BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 903
    Tosin on in reply to: [Resolved] Branded login script #49431

    please note that I changed the button ID from wp-submit to bl-login-submit in my child theme

  • Participant
    Level: Guru
    Posts: 903
    Tosin on in reply to: Tweak and disable buddypress notifications #49278

    Alternatively how can I disable all internal recording of notifications in database while leaving the notification component enabled, so now all email notifications settings would be enabled

  • Participant
    Level: Guru
    Posts: 903
    Tosin on in reply to: Tweak and disable buddypress notifications #49277

    I want to disable the notification component from the settings but still enable email notifications for the following

    ENABLE EMAIL NOTIFICATIONS FOR
    1. Private messages
    2. Activity – @mentions
    3. Activity – A member replies to an update or comment you’ve posted

    Please note that I still want users to have access to the email notification settings. I noticed that disabling the notification component would also remove the email notification settings for the 3 items stated above

  • Participant
    Level: Guru
    Posts: 903
    Tosin on in reply to: Buddyblog reorganise form fields #49050

    Gentle reminder

  • Participant
    Level: Guru
    Posts: 903

    Thank you Brajesh

    this is now resolved

  • Participant
    Level: Guru
    Posts: 903
    Tosin on in reply to: Buddyblog text change on edit #48865

    ok thanks Brajesh,

    I have disabled it, please kindly let me know if there will ever be a replacement or update for the medium editor.

  • Participant
    Level: Guru
    Posts: 903
    Tosin on in reply to: Buddyblog text change on edit #48850

    Hi Brajesh

    After further testing I noticed that the encoding issue only occurs when publishing or editing with the buddyblog medium editor.

    After deactivating the buddyblog medium editor, everything works fine and there are no more encoding issues.

  • Participant
    Level: Guru
    Posts: 903
    Tosin on in reply to: Buddyblog text change on edit #48837

    I just found out its an encoding problem that can occur on old post when database has been migrated,

    I tried this code but it did not work

    function fix_weird_characters() {
        global $wpdb;
        $replacements = array(
            '“' => '“',
            '”' => '”',
            '’' => '’',
            '‘' => '‘',
            '—' => '–',
            '–' => '—',
            '•' => '-',
            '…' => '…'
        );
        foreach ($replacements as $key => $value) {
            $query = $wpdb->prepare(
                "UPDATE {$wpdb->posts} SET post_content = REPLACE(post_content, %s, %s)",
                $key,
                $value
            );
            $wpdb->query($query);
        }
    }
    add_action('wp_loaded', 'fix_weird_characters'); 
  • Participant
    Level: Guru
    Posts: 903
    Tosin on in reply to: Buddyblog reorganise form fields #48831

    Thanks Brajesh

    Illbe looking forward to the next update

  • Participant
    Level: Guru
    Posts: 903

    Thanks for the feedback

    So if this is not scalable, then its better I stick to your advise as am planning or a large community platform