WordPress.org

Ready to get started?Download WordPress

Forums

Really Simple CAPTCHA
tmp folder (7 posts)

  1. Marcus
    NetWebLogic Support
    Posted 3 years ago #

    great plugin, one suggestion, how about using wp-content/uploads/tmp instead of the tmp folder in the plugin folder?

    you'll have a much greater chance of this working out of the box.

    http://wordpress.org/extend/plugins/really-simple-captcha/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    You can change it. For example Contact Form 7 uses wp-contents/uploads/wpcf7_captcha/ by default.

  3. Marcus
    NetWebLogic Support
    Posted 3 years ago #

    had a quick browse through code and looked at the readme. where can I change this setting?

    strangely, this started happening when updating versions. it failed, and the plugin was deleted. after re-installing, the tmp folder lost it's permissions (assuming that's where it previously used, can't remember).

  4. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    So what plugin are you using? Really Simple CAPTCHA is a framework, it doesn't work alone. If you use Contact Form 7 with it, it uses wp-contents/uploads/wpcf7_captcha/ by default, as I wrote, so you don't need to change the setting.

  5. Marcus
    NetWebLogic Support
    Posted 3 years ago #

    I'm using it in a private plugin. I had look at the source again and I notice the ReallySimpleCaptcha::tmp_dir property. I suppose if I modify that after instantiation that'll work?

  6. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 3 years ago #

    OK. Yes, that's right. Check how Contact Form 7 initializes ReallySimpleCaptcha object in it and assigns tmp_dir property.

    http://plugins.trac.wordpress.org/browser/contact-form-7/tags/2.4.3/modules/captcha.php#L297

  7. Marcus
    NetWebLogic Support
    Posted 3 years ago #

    i see it. thanks for pointing that out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic