• Resolved james215

    (@james215)


    Hello,

    Is there a way to change the email setting. For example instead of the subject being New Guestbook Entry it could be something like New disability question. Also is there a way to change guestbook entry in the form to say something like disability question. Please let me know.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi!
    Can you show some example of this method?
    THX

    Thread Starter james215

    (@james215)

    So with the form you have

    Name *

    Email *

    Guestbook Entry *
    Inside the entry box it says guestbook entry

    I want to have the flexability to change the words guestbook entry to (Disability Poll Entry. I have provided a link to my page with the form, so you can get a visual.

    Disability Poll Page of my website

    When the form is submitted and an email is sent to the submitter. I would like to change the subject of the email from New guestbook entry to courtesy disability poll confirmation email.

    I hope this helps.

    I with I could attach screenshots to give more of a visual, but the wordpress forum doesn’t seem to have that capability.

    Plugin Author Marcel Pol

    (@mpol)

    Hi,
    This plugin is really meant as a guestbook, and all GUI configurations are built around that. If you want to use it for reviews or polls or anything else, you are required to change it in code.

    You can use WordPress filters for it. They are documented inside the zipfile, under /docs/filters/. Take a look at an example here:
    https://www.ads-software.com/support/topic/change-button-text-20/

    Every documentation file has example code as well. You want to take a look at the gwolle_gb_mail_**_subject filters as well as the gwolle_gb_write filter.

    The code you add can be placed in functions.php of your theme or in your own plugin.

    Thread Starter james215

    (@james215)

    I have asked about changing code in the past about a different plugin I believe it was contact form 7 which I am certain is not yours and the creator of that plugin said that he wouldn’t advise changing the code because when he would do an update to the plugin it would default back to the original settings. I just want to make sure with your plugin that that won’t happen.

    Plugin Author Marcel Pol

    (@mpol)

    No, that is what WordPress filters and hooks are all about. You add code into your own files (not in this plugin) that hooks into this plugin. It is a way to change behaviour or output and is quite common in most plugins and themes.

    Thread Starter james215

    (@james215)

    Thank you.

    I was able to find the gwolle_gb_mail_**_subject filters area to change the subject of the email, but I can’t find gwolle_gb_write filter and funtions.php function. Is it in the same area as the gwolle_gb_mail_**_subject filters? Please let me know. Also I appreciate your help. My coding experience is in html not php, and java script.

    Thread Starter james215

    (@james215)

    Found the portion I was look for and was able to change it.

    Thread Starter james215

    (@james215)

    Ok now another issue.

    How can I change the subscribed user email address. It is defaulting to my personal email address instead of my business email address. Please help.

    Plugin Author Marcel Pol

    (@mpol)

    Hi, good to see that you managed.

    About subscribing to email notifications, that is done per user account. It will use the email address from the WordPress user account.
    At Dashboard > Guestbook > Settings > Email-tab you can subscribe the user that you want to receive the notifications.

    Thread Starter james215

    (@james215)

    Thank you so much for your help. I will mark this as a resolved case. Hope you have a wonderful new year.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Change settings’ is closed to new replies.