By default, myCRED comes with three built-in importers. This allows you to import balances and log entries using CSV files. Just like other WordPress importers, you can find them on the Tools > Import page in your admin area.
The balance importer can help you import points from a properly formatted CSV file. Each row in the import file is treated as a balance adjustment of a specific users account. This user can either be identified using their numeric ID, username or an email address. If the user is not found, the row is skipped.
You can either just import balances or also add in a log entry for the import.
Figure 1. Import CSV file columns.
||Yes||The user who's balance to adjust|
||Yes||The amount to import. Can be negative or positive and must be formatted according to your point type setup.|
||Yes||The point type to import. If left empty, your default point type is used.|
||No||Optional log entry to add with the import.|
Importing Log Entries
You can import log entires you have exported as a form of backup or import your own log entries. The CSV import file for log entries must follow the format of your log. This means that if you selected to use for example two decimals in your points format, the log entries must also use two decimals for the point amount.
The CSV file must use the same column structure as your log.
Finally myCRED offers a Cubepoints importer which allows you to transfer point balances and / or log entries from Cubepoints to myCRED.
The new export module in 1.7 allows you to enable exports from the admin area as well as from the front end of your website. Front end exports are done using the mycred_history shortcode.