sdenec
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Invitation Codes] Max number of codesHi,
it has been a long time since you posted your question but maybe you are still searching for a solution. Have you tried editing the “fields.php” file?
you could change the function
function baweic_field_howmany() { ?> <input type="number" size="3" min="1" max="10" name="baweic_field_howmany" value="5" /> <em><?php _e( 'How many codes do you need?', 'baweic' ); ?></em> <?php }to
function baweic_field_howmany() { ?> <input type="number" size="5" min="1" max="10000" name="baweic_field_howmany" value="5" /> <em><?php _e( 'How many codes do you need?', 'baweic' ); ?></em> <?php }this way you can generate up to 10000 keys with the “generate codes” form. For me it generates the set number of keys.
Hope it helps (you or others)!
Forum: Plugins
In reply to: [Easy Invitation Codes] Delete INVITATION code?Hi,
regarding the ability to delete the pregenerated “INVITATION” and random gernerated keys. There is a solution by correcting the code on your own. But it may be worth the trouble for managing the keys in the future without erasing everything.
I just explored the plugin code. There is a bug in the “back-end.php” on line 201.
the line
$code = isset( $_GET['code'] ) ? sanitize_key( $_GET['code']) : false;
should actually be
$code = isset( $_GET['code'] ) ? strtoupper(sanitize_key( $_GET['code'])) : false;It seem there are a few places where the “strtoupper()” is missing and causing trouble.
Forum: Plugins
In reply to: [Easy Invitation Codes] Only two issues i foundHi,
regarding the ability to delete the pregenerated “INVITATION” and random gernerated keys.
I just explored the plugin code. There is a bug in the “back-end.php” on line 201.
the line
$code = isset( $_GET['code'] ) ? sanitize_key( $_GET['code']) : false;
should actually be
$code = isset( $_GET['code'] ) ? strtoupper(sanitize_key( $_GET['code'])) : false;It seem there are a few places where the “strtoupper()” is missing and causing trouble.
Forum: Plugins
In reply to: [Polylang] Polylang custom Language Switcher namesThat is perfect! Thank you for your quick help.
Forum: Plugins
In reply to: [WooCommerce] Problems with prices@leandro Martins Guimarães
You sir, are a real genius. I think it is essential to be able to put prices with country-specific separators, especially for client websites. So thank you very much.