Giter Club home page Giter Club logo

recaptchacontact's People

Contributors

aradianoff avatar bartoszbartniczak avatar bernhardschlegel avatar jessemaxwell avatar ktaranov avatar msdundar avatar perlkonig avatar sommerregen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

recaptchacontact's Issues

Translation help wanted

We were excited to release version 2 of this plugin this morning. It brings many enhancements that will hopefully increase it's usage. Part of that, however, was the addition of some admin panel integration. With that, we are need some additional translations done.

Take a look at the updated file and notice that the RECAPTCHACONTACT.ADMIN needs to be done in German, French, Spanish, Italian, and Russian.

@iusvar, @Sommerregen, and @ktaranov: are you willing to take a minute to help with this?

Compile Error

Error after latest update. See attachment screenshot.
screen shot 2015-10-14 at 2 29 01 pm

Thank you message never disappears...

Hey there:

Thanks for your work on this plugin. I have noticed, once I submit a message, the thank you message appears. And then never disappears no matter how many times I reload the page.

Also, I have a one page modular site, and it was incredibly difficult to set up and confusing. You might want to add some documentation on modular pages as the "contact form" tab does not appear on modular pages, and I had to manually edit the .md file to get it to show up.

Thanks again...

Error! Woops. Looks like this page doesn't exist.

On a brand new site, the plug-in sends out the e-mail message properly, but I then get a message:

Error!
Woops. Looks like this page doesn't exist.

When I use the Chrome browser "back" button, I see:

Thank You! Your message has been sent.

Has this plugin been tested on a multiple language site? My guess is that the after the successful send, the browser isn't returning to mysite.com/base/en/contact#contact-form

reCAPTCHA keys, v2 or v3?

Which version of reCAPTCHA do I need to use?

I've tried both v2 and v3 but I'm getting an error "invalid site key".
Copy/Pasted in Admin panel.

No name in email body

Hello. I configured plugin and now I'm receiving comments by email but there's no name field in email bu form has this field. Other fields I receive correctly

Form overrides From Address in Email settings, causing failure

Setting the From: address to the email from the web form, instead of using the default From address in the Email plugin settings, causes failure to send. For my SMTP server, and I suspect a great many others, sending is rejected with the message,

Expected response code 250 but got code "550", with message "550 Invalid From address."

This helps reduce spam sent through the server. The data that the web visitor enters should be included in the body of the message only.

Redirect after processFormAction() is not correct?

Hi there,

i am using the mamp stack for local development and installed grav in a subfolder
of my htdocs directory. I am accessing my installation via http://localhost:8888/grav.

When i submit the form on a modular page that lies under:

http://localhost:8888/grav/de/viewneo-for-partners

I will be redirected to:

http://localhost:8888/grav/de/grav/viewneo-fuer-partner

Any idea what causes the problem?

Any help is welcome.

Kind regards

Sebastian

Placeholder doesn't work anymore in latest RC5 release

Hi There,
After upgrading to latest Grav CMS release I've just found out that the placeholder attribute in each of the form field doesn't work anymore. It seems it is striped out.

Here's the HTML output of the form now

 <form class="form-horizontal" action="contact-us" method="post" id="recaptchacontact">
        <fieldset><h3>
                <legend class="legend">Contact me</legend>
            </h3>

                            <div id="recaptchacontact-messages"></div>

            <div class="form-group">
                <label class="control-label" for="name">Name</label>
                <input id="name" name="name" type="text" ="Add your name" class="form-control"></div>

            <div class="form-group">
                <label class="control-label" for="email">Email</label>
                <input id="email" name="email" type="text" ="Add your email" class="form-control"></div>

            <div class="form-group">
                <label class="control-label" for="message">Message</label>
                <textarea class="form-control" id="message" name="message" ="Add your message" rows="5"></textarea></div>

            <div class="g-recaptcha" data-sitekey="6Le0JRETAAAAAKPRdtxgV4R2UL_w8OD-abISpHJW"></div>

            <div class="form-group antispam-div">
                <label class="control-label" for="antispam">Antispam</label>
                <input id="antispam" name="antispam" type="text" ="Please leave this field empty for Antispam" class="form-control"></div>

            <div class="form-group">
                <div class="text-right">
                    <button type="submit" class="button">Submit</button>
                </div>
            </div>
        </fieldset></form>

RECAPTCHACONTACT Header in YAML

I followed your instructions to create a custom languages.yaml file in the user folder. However, in oder for the site to work and not generate an error I had to add the following line in the header of the file just like the original file in the plugin ...

"RECAPTCHACONTACT:"

So, your example given in the instructions is missing the header (see sample below) ...

RECAPTCHACONTACT:
FORM_LEGEND: "Contact me" // Form Legend
SUBJECT: "New contact from Grav site!" // Subject for email.
RECIPIENT: "[email protected]" // Email address.

FIELDS:                     // Default fields, you can translate the text.
  NAME:
    LABEL: "Name"
    PLACEHOLDER: "Add your name"

  EMAIL:
    LABEL: "Email"
    PLACEHOLDER: "Add your email"

  MESSAGE:
    LABEL: "Message"
    PLACEHOLDER: "Add your message"

  ANTISPAM:
    LABEL: "Antispam"
    PLACEHOLDER: "Please leave this field empty for Antispam"

  SUBMIT:
    LABEL: "Submit"

MESSAGES:                   // Default messages, you can translate the text.
  SUCCESS: "Thank You! Your message has been sent."
  ERROR: "Oops! There was a problem with your submission. Please complete the form and try again."
  FAIL: "Oops! Something went wrong and we couldn't send your message."

Cosmetic issues with Bootstrap theme

horizontalformissue

The form-horizontal class applied to the form causes negative padding to the fieldsets and displays 15px left of the container. This is only an issue if the Bootstrap theme is used or Bootstrap css is included in the page.

Consider removing class="form-horizontal" unless you actually want a horizontal form.

Error in Admin UI

Hey guys,

I get an GRAV.FORM.VALIDATION_FAIL grecaptcha_callback is not defined in blueprints error right after installing and clicking save for the first time. What am I doing wrong?

recaptcha: v.2.1.2.
Grav v1.6.21
Admin v1.9.12

Thanks!

Please use email plugin

Hi,
I would like to use your plugin, but since I have grav in a docker container, it simply can't work with a local sendmail.
I installed the email plugin and configured it correctly (I tried the "test via cli") and everything works, but I noticed that recaptcha contact doesn't use it, and instead sends emails via the php "mail" function.
Could you please use the email plugin instead?
This would really add a lot of flexibility, since you can configure a huge variety of smtp servers with it.
Thanks
Marco

Form Does Not Show

Greetings,

I've followed the instruction very closely, but the contact form doesn't show at all. I am using the latest version of GRAV with the Admin plugin and have copied the YAML file appropriately to the user folder.

Suggestions?

Undefined index: name

Whether I complete the captcha or not, when I submit:

  • I get the email
  • I get an error message: Undefined index: name

My server has PHP 7.3.4 and grav v1.6.16

Note: Screenshot features a fake email address.

recaptcha-error

Replaced \n with <br>

I don't know if it really is an issue or if it is intended. In the sendEmail() process, you used the new line tags \n. What I experienced was that that it doesn't make a new line but rather Name: ... Email: ... and Message: ... was written in one line on Outlook and Gmail (didn't try different ones).

My suspicion was that the content of the email isn't handled as text but as html, so the email client does not detect the new line tag. I replaced all new line tags with <br> in the plugin php file and resent an email through the contact form and it suddenly worked, I had new lines for each part.

Just wanted to let you know.

Reecaptcha crashed accessing pages in Grav admin plugin when enabled

Using Grav 1.7.43 and admin 1.10.43 and recaptcha 2.1.2

When recaptcha enabled I get this error accessing pages in admin

An exception has been thrown during the rendering of a template ("Cannot load blueprint blueprints://flex-objects/pages.yaml: Failed to read /home/basicsta/new.coridium.us/user/plugins/recaptchacontact/blueprints/default.yaml: Non-string keys are not supported. Quote your evaluable mapping keys instead at line 26 (near "false: PLUGIN_ADMIN.DISABLED").")

Workaround, normal site functioning and recaptcha contact works. But if you need to change a page content recaptcha has to be disabled

Problem after Email plugin upgrade

Hi there,
I have had this plugin and the contact form working perfectly on my site up until now.

I today did an upgrade of the "Email plugin" to version v2.7.1, and now when submitting a contact form I get the following error:

Swift_TransportException
Unsupported sendmail command flags [/usr/sbin/sendmail]. Must be one of "-bs" or "-t" but can include additional flags.

I first got this problem on one site, and when upgrading Grav and plugins one by one, I found that this upgrade of the Email plugin was resulting in this error.

By the way, I am using the Clean-Blog Theme and my testsite is: https://www.gaatec.net/contact

Any ideas?

Swift Error

Swift_TransportException
Expected response code 220 but got code "", with message ""

Followed install instructions, put keys in, etc. Added new page with form. Tested form. Added pertinent info (name, email, test text), hit recaptcha, hit submit. Got the above error.

Form not sending

I have installed the module through the admin console. When i submit the form it doesnt check the reCaptcha form or send an email. The email to and email from fields are filled out. Is there something I am missing?

Feature requests

  1. Default Sender: I am not sure if it's possible but the plugin would be much more useful if a default sender could be set. Because my spam filters could not be set to allow the mail in since it always was coming from a different user.

  2. Redirecting to a thank you page would be nifty

  3. Sending a copy to the submitter might be cool too.

Thanks for your hard work!

how add data-callback to my captcha

Hello!...I need disable the submit button until the user fill the captcha, this is solved using data-callback

<div class="g-recaptcha" data-sitekey="############-#####" data-callback="enableBtn"></div>

how could pass this data-callback in my form markdown?

also would be interesting in integrate this more deeply with the form plugin, right now I'll write the js code in the template, would be great a more simple solution, thank you!!

Contact Form Doesn't Display on Modulars

I have been able to successfully add and use the contact form on standard pages, but it does not display on pages with modular content. In looking through the code, it looks like this may simply be not-yet-implemented. If that is the case, would this be a feature that is currently on the roadmap? If not, is there a technique that I can apply to add that to my modular page?

I haven't spent a huge amount of time with Grav, but am quite sure I will be spending more time with it, and may be able to develop this myself. However, due to my current schedule, I suspect it would be awhile.

Form not showing

Since Grav 1.1.16 the contact form is not shown. Tested also with clean install, but nothing.

Edit: Workaround -> set up a manual position

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.