Title: sdenec's Replies | WordPress.org

---

# sdenec

  [  ](https://wordpress.org/support/users/sdenec/)

 *   [Profile](https://wordpress.org/support/users/sdenec/)
 *   [Topics Started](https://wordpress.org/support/users/sdenec/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sdenec/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sdenec/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sdenec/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sdenec/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sdenec/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Invitation Codes] Max number of codes](https://wordpress.org/support/topic/max-number-of-codes/)
 *  [sdenec](https://wordpress.org/support/users/sdenec/)
 * (@sdenec)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/max-number-of-codes/#post-6723561)
 * Hi,
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Invitation Codes] Delete INVITATION code?](https://wordpress.org/support/topic/delete-invitation-code/)
 *  [sdenec](https://wordpress.org/support/users/sdenec/)
 * (@sdenec)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/delete-invitation-code/#post-6544724)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy Invitation Codes] Only two issues i found](https://wordpress.org/support/topic/only-two-issues-i-found/)
 *  [sdenec](https://wordpress.org/support/users/sdenec/)
 * (@sdenec)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/only-two-issues-i-found/#post-7114388)
 * Hi,
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Polylang] Polylang custom Language Switcher names](https://wordpress.org/support/topic/polylang-custom-language-switcher-names/)
 *  Thread Starter [sdenec](https://wordpress.org/support/users/sdenec/)
 * (@sdenec)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/polylang-custom-language-switcher-names/#post-7197760)
 * That is perfect! Thank you for your quick help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Problems with prices](https://wordpress.org/support/topic/problems-with-prices/)
 *  [sdenec](https://wordpress.org/support/users/sdenec/)
 * (@sdenec)
 * [13 years ago](https://wordpress.org/support/topic/problems-with-prices/page/2/#post-3154696)
 * [@leandro](https://wordpress.org/support/users/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.

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