enable / disable mail-log?


  • Sven
    Newbie 1 points
    January 17, 2020 at 5:59 pm

    hello,
    it is possible to switch the mail log on or off. I didn’t find anything about it. maybe that would be an idea for an update. normally you don’t need it. and if you can, you can activate it.

    the possibility to activate or deactivate the storage (in database) of the form on the listingpage. Usually this can happen with the deactivation of the message function. if the message is sent to the user via email, that’s enough.

    i solved the storage of the message. but after an update that is gone.

    in DT9/framework/new_class/ppt_9_ajax.php near row 1646:

    $POSTID = wp_insert_post( $my_post );

    // ADD SOME EXTRA CUSTOM FIELDS
    add_post_meta($POSTID, "username", $user_info->user_login );
    add_post_meta($POSTID, "userID", $user_info->ID);
    add_post_meta($POSTID, "status", "unread" );
    add_post_meta($POSTID, "ref", get_permalink($_POST['pid']) );*/

    changed to

    // $POSTID = wp_insert_post( $my_post );

    // ADD SOME EXTRA CUSTOM FIELDS
    // add_post_meta($POSTID, "username", $user_info->user_login );
    // add_post_meta($POSTID, "userID", $user_info->ID);
    // add_post_meta($POSTID, "status", "unread" );
    // add_post_meta($POSTID, "ref", get_permalink($_POST['pid']) );*/

    about the “new_classes directory?”
    i have a childtheme but the files in the directory “framework \ new_class” are always fetched from the main topic. Where can I change that?

    thank you for reply

  • Mark Fail
    Mark Fail
    Super Guru 12,968 points
    January 22, 2020 at 4:27 am

    I can add an on/off option into a later update but the logs can be cleaned with the button on the email page and most users iv spoken to find the logs useful.

  • Adnan
    Adnan
    Elite Member 466 points
    January 22, 2020 at 1:32 pm

    By the way, private messages are also written to the wp_posts & wp_postmeta tables where listings are also saved.

    It would be a big performance plus (for websites having thousands of users & listings) if private messaging has dedicated tables.


  • Sven
    Newbie 1 points
    January 23, 2020 at 8:54 pm

    hello mark,
    yes i know this log cleaning button.
    My thought was, as an admin, to get no knowledge of user messages in the normal case. if there are complaints, switch on the log. otherwise not. some users are very sensitive if you know you can also read everything as admin.
    Therefore I would personally prefer to have only emails sent without messages in the wp system.
    but is just an idea.
    I know. that’s paranoid 😉

Viewing 4 posts - 1 through 4 (of 4 total)

New Business Themes for WordPress 2020

Build your WordPress Business today with our WordPress Business themes.