Coder Social home page Coder Social logo

tukutoi / tukutoi-contact-form Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 113 KB

Simple Contact Form for ClassicPress and WordPress Websites.

License: GNU General Public License v2.0

PHP 95.70% CSS 1.07% JavaScript 3.23%
classicpress-plugin contact-form

tukutoi-contact-form's People

Contributors

smilebeda avatar

Watchers

 avatar  avatar

tukutoi-contact-form's Issues

Feature Request: Submit when multiple contact forms on page or post

I tested a page with two contact forms:

[tkt_cntct_frm_contact_form  id='contact-us']

[tkt_cntct_frm_contact_form  id='question']

When I submitted one, both forms showed the success message:

Thanks for your e-mail! We'll get back to you as soon as we can.
Thanks for your e-mail! We'll get back to you as soon as we can.

Change From and Subject to be admin email and default subject, put dynamic From and Subject into mail body

@ozfiddler had a probably very wise idea to use WP Admin Email as the "from" and a Default Subject, instead of the user input, when sending the mail.

The user-mail and user-subject instead should go into the mail body.

This ensures that mails are recognised as "known" and do not get unsent or spam-foldered as de-facto, the way it is implemented now is also known as the spoofing approach :(

This should be fairly easy to change, and I consider it a minor feature, as it wont break anything.

Allow several forms on same page

Requires an ID to be set and error management classes have to target just the form submitted.

likely this will have to break existing instances although I could fallback to a default ID if none provided in the shortcode โ€ฆ

Support for predefined Subjects

I'd like the ability to provide a predefined list of Subjects for a message form.

For example, on one of my sites, people can submit errata for a book by selecting the book name from a drop down list.

Feature request: Message footer

I'd like to be able to have a custom footer appended to the bottom of sent messages.

I use contact forms to email both myself and my employer depending on which form is used and I'd like to be vey clear when a message has come from my site to my employer.

Test, merge and release 2.2.0

Test with https://github.com/TukuToi/tukutoi-contact-form/tree/develop

[Added] Added "Prospect" Email and Name to the Mail Body
[Added] Filter to allow changing the "From" email
[Added] Filter to allow changing the Subject of the mail sent (the "internal" subject, the "message" subject filter stays the same)
[Added] Confirmation message to prospect when form is submitted
[Added] Filter to stop Confirmation message to prospect from being sent
[Added] Filter to change the Confirmation message content to prospect
[Fixed] Do not send the email from the "Prospect" Email, instead, use the Blog Admin Email
[Changed] Updated Readme with new filters

Special testing attention needed when SMPT is used.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.