• I’ve seen many people ask questions on either how to bulk import many invitation codes, or asking the developer of this plugin to create this as a feature. In case any of you need to do this I’m going to explain my method on accomplishing this task.

    1) Access you PHPmyadmin (you can user the plugin adminer to do this if you do not have direct access.

    2) The data for register redux invitation codes is stored with the wp_options as serialized information.

    3) Format your data as such ‘variable’, (you can do this with many methods, an option is excel.

    4) Create a PHP array using that information. You can use https://www.w3resource.com/php/function-reference/serialize.php to generate that array into serialized data.

    5) Copy the serialized data into the database mentioned in step 2.

    6) Now if you look in the Register Redux plugin within wordpress (where you typically insert invitation codes one by one) you’ll notice that all codes are now there.

    I’ve done this with 11,000 codes.

    https://www.ads-software.com/plugins/register-plus-redux/

Viewing 4 replies - 1 through 4 (of 4 total)
  • works perfectly

    you have to insert the serialized data into tbl “_options” @ field “register_plus_redux_invitation_code_bank-rv1”

    Concerning plugin version 4.0.3

    Be aware that more then 1000 Codes will produce a php warning:
    PHP Warning: Unknown: Input variables exceeded 1000

    This ends up in losing the ability to save your options for this plugin via the backend.
    You can only save your options by modifying the tbl _options directly.

    You could increase max_input_vars in your php.ini but I don’t recommend this for productive systems.

    Or using a Perl script to insert codes into the table, I’ve managed to get 55000 invitation codes entered using this method, the only downside is accessing the dashboard if the invitation code widget is used, and accessing the register plus settings page, but if everything is set there shouldn’t be a reason to.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Bulk invitation code import’ is closed to new replies.