• Hello,

    I’ve asked this a while ago. There are still some problems with the captcha not displaying. If you put in a number and try to send the message, the number disappears but it is still required.

    The website is : http://www.tep3d.com/contactformulier/

    I asked the hosting and they told me they support PHP sessions.

    Hope you can help!

    Best,
    Nikos

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi Nikos,

    Are you able to edit your plugin for a test?

    Please open file vscf-form.php
    Add this directly ABOVE “// The shortcode”:

    if(!session_start()) {
      echo 'no session';
    } else {
      echo 'session started';
    } 
    

    Go to your contact page… which notice do you see?

    Guido

    Thread Starter ntenhoedt

    (@ntenhoedt)

    Hello Guido,

    If I paste this text before the shortcode the plugin deactivates itself. Maybe the code is not correct?

    Best,
    Nikos

    Plugin Author Guido

    (@guido07111975)

    Hi.

    Strange.. did test it myself before my previous response.. can you activate plugin again?

    It should like this after adding it:

    
    $_SESSION['vscf-rand'] = isset($_SESSION['vscf-rand']) ? $_SESSION['vscf-rand'] : rand(100, 999);
    
    if(!session_start()) {
      echo 'no session';
    } else {
      echo 'session started';
    } 
    
    // The shortcode
    

    Guido

    Thread Starter ntenhoedt

    (@ntenhoedt)

    hello Guido,

    I was using the code that I got in the mail as a reply, therefore it didn’t work! It now says: Session started. Is that a good thing?

    Best,
    Nikos

    Plugin Author Guido

    (@guido07111975)

    Hi Nikos,

    Dutch?

    Dat betekent dat sessies inderdaad wel ondersteund worden op je server.. dus dan is het probleem iets anders. Meestal een conflict met een andere plugin (of je thema), die ook gebruik maakt van sessies. Welke plugins gebruik je nog meer naast Yoast?

    Je zou je plugins 1 voor 1 kunnen de-activeren en telkens een test bericht sturen, om er zo achter te komen of en welke plugin het probleem veroorzaakt.

    En anders, toch maar overstappen op een andere contact plugin..

    Guido

    Thread Starter ntenhoedt

    (@ntenhoedt)

    Hello Guido,

    yes I am dutch but I figured that in english it would also be helpful for others.

    I’ve deactivated all the plugins and the one that caused trouble was the Yoast plugin, which you already mentioned. Does it happen more often with this specific plugin?

    Plugin Author Guido

    (@guido07111975)

    Hi,

    There was another user who had the same problem in the past, but I currently have no idea how to solve this. My session has it’s own unique name, so maybe Yoast closes all sessions including mine at a certain point. That’s the only explanation I currently have..

    Will keep you informed.
    But if you are able to ask Yoast yourself, please go ahead.

    Guido

    Thread Starter ntenhoedt

    (@ntenhoedt)

    All right, thank for you the help! Let me know if you find out. If I find any solution I’ll let you know!

    Best,
    Nikos

    Thread Starter ntenhoedt

    (@ntenhoedt)

    You can close the topic for now.

    Plugin Author Guido

    (@guido07111975)

    Hi Nikos,

    Are you gonna post a topic about this php sessions issue on Yoast forum?

    Guido

    Thread Starter ntenhoedt

    (@ntenhoedt)

    Hi Guido,

    yes I’ve posted something on their support forum today so I will let you know if I get any replies!

    Best,
    Nikos

    Lisa

    (@berelsonhotmailcom)

    I’m adding to this question. Is there a way to just add a text string instead of a number to the captcha. The form field that reads Enter number 835: is not going to make sense for most web visitors. Or at least change the label. I’m using this on a page and not as a widget. Is it possible to add any parameters to the shortcode that’s not used directly on page (not widget)? If more than one parameter, are they separated by commas? Thx.

    • This reply was modified 8 years, 8 months ago by Lisa.
    Plugin Author Guido

    (@guido07111975)

    Hi,

    It’s build to display a randon number. Only thing you can do is change the label. Example:

    
    [contact label_captcha="Please enter %s"]
    [contact label_captcha="Please enter %s here"]
    

    Guido

    ps. please create your own topic next time, because I don’t check old topics frequently.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Problems with Captcha’ is closed to new replies.