Support » Plugin: Simple Comment Notification » Customization Example

  • Resolved serjao

    (@serjao)


    I love plugin, but i need for a example how to personalize the title and content of the autoresponder using function. This was not clear to me.

    One feature I’d like to see in the plugin is a checkbox for users to authorize the reply

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter serjao

    (@serjao)

    Sorry, disregard doubt about personalization.

    I translated the plugin and copy the pt_BR.mo and pt_BR.po files into the languages folder, but the replies are still sent in the English language.

    Ps: The wp-config.php file has the configuration: define(‘WPLANG’, ‘pt_BR’);

    What do I need to do to have the replies send in my language?

    Thread Starter serjao

    (@serjao)

    Solved!

    I changed pt_BR.mo by simple-comment-notification-pt_BR.mo

    Plugin Author Beherit

    (@beherit)

    @serjao You are talking about default plugin functionality or about additional notification (autoresponder)? Only additional functionality have ability to personalize email title and body. If You only wanted to translate default content please add Your translations here:

    https://translate.wordpress.org/locale/pt-br/default/wp-plugins/simple-comment-notification

    Thread Starter serjao

    (@serjao)

    I talking about default plugin functionality.

    I added my translation in the plugin page.

    One question: Is possible add a checkbox for user authorize the reply in default plugin functionality?

    Plugin Author Beherit

    (@beherit)

    Thank You for translations 🙂 About Your question – yes, it’s possible. I will try to add this in next version.

    Thread Starter serjao

    (@serjao)

    This would be great. Thanks for attention!

    Thread Starter serjao

    (@serjao)

    Please, update plugin. I need this feature. How can I help you?

    Thread Starter serjao

    (@serjao)

    Hello,

    Do you have any news on this?

    Plugin Author Beherit

    (@beherit)

    @serjao I don’t have much of free time to done that, I added Your request into “to do list”.

    Plugin Author Beherit

    (@beherit)

    @serjao I just added subscription functionality (checkbox for user authorize the reply). To enable it You must use filter scn_enable_subscription and return true value:
    add_filter('scn_enable_subscription', '__return_true');
    It’s possible to change default checkbox value by filter scn_subscribe_value, example:
    add_filter('scn_subscribe_value', '_return_false');
    Please test it (You must download development version: https://downloads.wordpress.org/plugin/simple-comment-notification.zip) and let me know 🙂

    • This reply was modified 4 years, 1 month ago by Beherit.
    • This reply was modified 4 years, 1 month ago by Beherit.
    Thread Starter serjao

    (@serjao)

    Thanks for this.

    Not showed checkbox for me.

    I install development version and added the filter in functions.php:

    add_filter(‘scn_enable_subscription’, ‘__return_true’);

    Plugin Author Beherit

    (@beherit)

    @serjao what theme do You use?

    Thread Starter serjao

    (@serjao)

    It’s a personalized theme.

    Thread Starter serjao

    (@serjao)

    I tried now with Twenty Eleven theme and not worked too.

    Thread Starter serjao

    (@serjao)

    It’s possible add the code manually in comments.php?

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Customization Example’ is closed to new replies.