Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • This is a simple fix to get it working for both Apache 2.2 and 2.4. In the file really-simple-captcha.php, change lines 304-308 from:

    fwrite( $handle, 'Order deny,allow' . "\n" );
    fwrite( $handle, 'Deny from all' . "\n" );
    fwrite( $handle, '<Files ~ "^[0-9A-Za-z]+\\.(jpeg|gif|png)$">' . "\n" );
    fwrite( $handle, '    Allow from all' . "\n" );
    fwrite( $handle, '</Files>' . "\n" );

    to

    fwrite( $handle, '<IfModule !mod_authz_core.c>' . "\n" );
    fwrite( $handle, '    Order deny,allow' . "\n" );
    fwrite( $handle, '    Deny from all' . "\n" );
    fwrite( $handle, '    <Files ~ "^[0-9A-Za-z]+\\.(jpeg|gif|png)$">' . "\n" );
    fwrite( $handle, '        Allow from all' . "\n" );
    fwrite( $handle, '    </Files>' . "\n" );
    fwrite( $handle, '</IfModule>' . "\n" );
    fwrite( $handle, '<IfModule mod_authz_core.c>' . "\n" );
    fwrite( $handle, '    Require all denied' . "\n" );
    fwrite( $handle, '    <Files ~ "^[0-9A-Za-z]+\\.(jpeg|gif|png)$">' . "\n" );
    fwrite( $handle, '        Require all granted' . "\n" );
    fwrite( $handle, '    </Files>' . "\n" );
    fwrite( $handle, '</IfModule>' . "\n" );

    You will probably have to manually delete the .htaccess file out of the wp-content/uploads/wpcf7_cpatcha folder to force it to regenerate the new one.

    It is supposed to show up under Settings->Reading

    That is where it has been appearing for me in 3.7.1

    Plugin Author Joshua Hyatt

    (@jwhyatt)

    It was originally a quick hack to help out one of my clients, but I figured it would be useful enough to share with the community. It would be nice to have this integrated with the ckeditor plugin, but it will stay like this until that happens.

    Adding a posts button should be fairly straight-forward, I can definitely look at that.

    As for opening it in a panel instead of a new window, it is something that I might do if I get time to look at it, but it isn’t a high priority at the moment, as the plugin does work as it is.

    Thanks for your suggestions, though.

    Plugin Author Joshua Hyatt

    (@jwhyatt)

    Version 1.0.2 should resolve this issue.

    Plugin Author Joshua Hyatt

    (@jwhyatt)

    Just to let you know, I am working on an update that should make it so you don’t have to modify the js code if you install wordpress in a subfolder.

    Hey

    For using the svn repo, I have basically just been following this guide: http://ww.wp.xz.cn/extend/plugins/about/svn/, and it seems to be working.

    I took a look at your plugin in the repository, and the only thing that looks wrong with it is the readme.txt still references trunk as the stable version.

    I originally was getting the “This plugin does not have a valid header” error, but I noticed that your plugin uses the old Mac-style line endings (\r). If I convert the file to use unix-style (\n), without changing anything else, the plugin starts working.

    One more comment regarding szawil’s helpful fix above:

    I was having issues allowing users to register on the phpbb side as it was trying to call wordpress’s validate_username function. To fix this, you have to edit the includes/ucp_register.php file, and change the line
    array('username', '')),
    to
    array('username_phpbb', '')),

    It was line 203 for my install (phpbb 3.0.8)

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