Code Monkey home page Code Monkey logo

Comments (7)

spbriggs avatar spbriggs commented on July 28, 2024

Hi Jim. Can you give me the URL where you've installed yourls?

from recaptcha-plugin.

jimlunsford avatar jimlunsford commented on July 28, 2024

http://jlink.in/ it's behaving a little differently then what I posted but
still not right.

Regards,

Jim Lunsford

Email - [email protected]
Mobile/Text - 812-344-7690
Online - http://jimlunsford.com
http://facebook.com/therealjimlunsford
http://twitter.com/jimlunsford

On Sat, Jan 2, 2016 at 1:32 AM, spbriggs [email protected] wrote:

Hi Jim. Can you give me the URL where you've installed yourls?


Reply to this email directly or view it on GitHub
#2 (comment)
.

from recaptcha-plugin.

spbriggs avatar spbriggs commented on July 28, 2024

It looks like your recaptcha is outside of the form element so it's not getting posted back to the server. If you move the closing tag after the spb_recaptcha_add_Captcha_Script(); command, it should work.

from recaptcha-plugin.

jimlunsford avatar jimlunsford commented on July 28, 2024

I've tried in and out of places inside here:

{

    $site = YOURLS_SITE;

    // Display the form
    echo <<<HTML
    <h2>Enter a new URL to shorten</h2>
    <form method="post" action="">
    <p><label>URL: <input type="text" class="text" name="url" value="http://" /></label></p>
    <p><label>Optional custom short URL: $site/<input type="text" class="text" name="keyword" /></label></p>
    <p><label>Optional title: <input type="text" class="text" name="title" /></label></p>
    <p><input type="submit" class="button primary" value="Shorten" /></p>
    </form> 

HTML;

}

I can get it to display after HTML; however all I ever get is "Sorry, but you didn't pass the reCaptcha test"

from recaptcha-plugin.

spbriggs avatar spbriggs commented on July 28, 2024

See the sample-public-index.php file. It should be like this:

echo <<<HTML
        <h2>Enter a new URL to shorten</h2>
        <form method="post" action="">
        <p><label>URL: <input type="text" class="text" name="url" value="http://" /></label></p>
        <p><label>Optional custom short URL: $site/<input type="text" class="text" name="keyword" /></label></p>
        <p><label>Optional title: <input type="text" class="text" name="title" /></label></p>
HTML;
        spb_recaptcha_add_Captcha_Script();
        echo <<<HTML
        <p><input type="submit" class="button primary" value="Shorten" /></p>
        </form> 
HTML;

It's important to get the echo, <<< and HTML in the right places.

from recaptcha-plugin.

jimlunsford avatar jimlunsford commented on July 28, 2024

Okay, using your sample index file worked. I am very sorry that I did not try it before and you had to waste your time. If you have a donate link somewhere to where I can give you a few dollars for your time I will gladly do it. Thank you!

from recaptcha-plugin.

spbriggs avatar spbriggs commented on July 28, 2024

No problem Jim. There's a donation link on my personal website if you really want to tip me :) http://www.simonpbriggs.co.uk/

from recaptcha-plugin.

Related Issues (6)

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.