Community

Connecting WordPress People

Duplicate private message entry

BBiker 5 replies 0 views 2 readers

  1. New
    #1

    Hi there,
    after installing the plugin I got a double entry in my Asgaros forum.

    The site is in German.
    Private Nachricht means English translated into English Private Message.

    And that is now double in there.

    I would like to have only the original (in red) with the letter icon.

    The one in blue was added by “BP Better Messages”.

    up.picr.de/42655989hn.jpg

    How can I do that?

    I use BuddyPress, the Asgaros Forum and “BP Better Messages”.

    Thanks and best regards

    Reiner

    More reactions: press the Down arrow
    views
  2. New
    Admin
    #2

    Hi there!

    You can use this PHP snippet.

    add_action('init', function(){
    remove_action('asgarosforum_after_post_author', array( BP_Better_Messages_Hooks(), 'asragaros_thread_view'), 10, 2);
    });

    More reactions: press the Down arrow
  3. New
    #3

    Hi Andrij,

    Thank you for your help

    Where does that go in?

    in the function.php?

    Many greetings

    Reiner

    More reactions: press the Down arrow
  4. New
    Admin
    #4

    yes, functions.php works

    More reactions: press the Down arrow
  5. New
    #5

    After pasting it at the end of function.php, I get a critical error on the page.

    More reactions: press the Down arrow
  6. New
    #6

    Thank you for your help

    came up with it myself. 😉

    remove_action('asgarosforum_after_post_author', array( BP_Better_Messages_Hooks(), 'asragaros_thread_view'), 10, 2);

    More reactions: press the Down arrow
0