Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter Tony Bellardi

    (@chitarristiorg)

    maybe:

    $args = array(
    ‘tokens’ => apply_filters(‘bp_better_messages_notification_tokens’, array(
    ‘messages.html’ => $messageHtml,
    ‘messages.raw’ => $messageRaw,
    ‘sender.name’ => $bm_user[‘name’],
    ‘thread.id’ => $thread_id,
    ‘thread.url’ => esc_url( Better_Messages()->functions->add_hash_arg( ‘conversation/’ . $thread_id, [], Better_Messages()->functions->get_link($user_id) ) ),
    ‘subject’ => $subject,
    ‘unsubscribe’ => esc_url(bp_email_get_unsubscribe_link(array(
    ‘user_id’ => $user_id,
    ‘notification_type’ => ‘messages-unread’,
    ))),
    ‘manual_unsubscribe’ => ‘

    Per cancellare la tua sottoscrizione automatica agli avvisi per nuovi messaggi in chat, visita questo link.’
    ), $ud), // userdata object of receiver
    $sender, // userdata object of sender
    $thread_id
    );

    Thread Starter Tony Bellardi

    (@chitarristiorg)

    don’t work ??

    Thread Starter Tony Bellardi

    (@chitarristiorg)

    finnaly

    <?php echo $messageHtml; ?> <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-top: 20px; Margin-bottom: 15px;"> <?php echo sprintf(__('<a href="%s">Vai alla discussione</a> per rispondere o aggiornarti sulla conversazione.', 'bp-better-messages'), $thread_url); ?> <hr> <a >Clicca qui per accedere alle impostazioni e cancellare l'avviso dei nuovi messaggi in chat.</a> </p> </td> </tr> </table> </td> </tr> <!-- END MAIN CONTENT AREA -->

    Thread Starter Tony Bellardi

    (@chitarristiorg)

    can we hope that this very simple change will be introduced? so that I don’t have to enter it manually or with snippets? thank you very much for your precious work.

    Sorry. I am not really undertsand how it relivent with our plugin. Could you please explain?

    Thread Starter Tony Bellardi

    (@chitarristiorg)

    I simply included the option in the email notification of new comments to UNSUBSCRIBE to the notifications. I think it is truly absurd that this option is not already contemplated.

    Thread Starter Tony Bellardi

    (@chitarristiorg)

    now fortunately the user can click directly from within the email to arrive at the page where he can unselect the alerts.

    I have always asked for this change from a certain andji of a similar name. In response, telling me that he didn’t have time to make this change which I made in a few minutes with chatgtp, he offered me a paid subscription, only then would he find the time! this is not nice.

    • This reply was modified 3 months, 4 weeks ago by Tony Bellardi.
    Thread Starter Tony Bellardi

    (@chitarristiorg)

    sorry the plugin is better message

    OK. Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.