Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Smidefix

    (@smidefix)

    Hi Jaap,

    I’ve installed Version 7.0.08.002 in the way described and the problem is fixed.

    Many thanks and best regards,

    Soeren

    Hi Nikola,

    I would like such a feature also.

    Testing the plugin for our NPO right now. It looks very promising.

    rgds. Soeren

    Thread Starter Smidefix

    (@smidefix)

    My fault.
    For all non-plain-URL sources it looks identical to your example.
    INSERT from a URL seems to work per default in the “Add from URL” feature, so that there is just the IMPORT feature added.
    Thanks and sorry!

    Thread Starter Smidefix

    (@smidefix)

    Hi minnur,

    sadly, still no change.
    Deactivated and reactivated the plugin, just to be sure, that it’s properly initialized. The interface still looks like this:
    http://i64.tinypic.com/bfrib6.jpg
    http://i65.tinypic.com/2vt8owg.jpg
    and in indeed imports the entire file to the media directory.
    Anything, which might interfere with my localization (de_de)?
    rgds. Soeren.

    Thread Starter Smidefix

    (@smidefix)

    😉 noticed just now 😉 will try again after dinner.
    Thanks meanwhile!

    Thread Starter Smidefix

    (@smidefix)

    Hi Jacob,

    just looked it up. Cloudinary would work.
    No hurry, though.

    Thank you for the fast response, Soeren.

    Thread Starter Smidefix

    (@smidefix)

    Hi Jacob,

    now I know the secret meaning of I-A4 😀
    This works out really well.
    Very good and a huge thank you!

    Hi cksong,
    as soon as you have the .po and .mo files, you only need to get WP to scan for these files. I’ve put them into a subdirectory named “languages” underneath this plugin’s directory.
    Add a function to captcha_bank.php:

    function captcha_bank_init()
    {
    	load_plugin_textdomain( 'captcha-bank', false, CAPTCHA_BK_PLUGIN_DIRNAME . '/languages/' );
    }
    add_action('plugins_loaded', 'captcha_bank_init');

    This makes the textdomain “captcha-bank” available to WP.

    There’s a bit more to do, if you want a complete translation, because a number of lib functions is not yet written for i18n. As I was only interested in adding a captcha to the comment form, I’ve modified this particular function only.
    For example, in captcha_bank_class.php’ function function captcha_bank_form() search for the code around “refresh” and modify the lines to

    <a id="Refresh" style="border-style: none;" href="#" title="<?php _e('Refresh Image','captcha-bank');?>" ><img src="<?php echo CAPTCHA_BK_PLUGIN_URL ."/refresh.png"?>" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0" /></a><br />
    			<strong><?php _e('Enter Code*:','captcha-bank');?></strong><br />

    You can then localize ‘Refresh image’ and ‘Enter Code*:’ as well.
    I was yet unable to find, where the textdomain variable was set, so I hardcoded it to ‘captcha-bank’ in the code.

    Feel free to rewrite as many functions as you wish according to your needs. Caution: You’ll lose all of this, once you update the plugin, until the developers include such code in the original files (I’m not too familiar with code management systems, yet so I would rely on the guys to add it.)

    HTH!

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