Cimy User Manager – FAQ and comments

Q1: I got: “Fatal error: Maximum execution time of 30 seconds exceeded in [..]”, why?

Q2: I got: “Connection Interrupted The connection to the server was reset while the page was loading [..]”, why?

A: edit your php.ini search and modify these entries:
max_execution_time = 0
max_input_time = 360 ; If the CSV file is very big might be needed to be bigger
file_uploads = On
upload_max_filesize = 20M ; Or whatever is the size of your CSV file to import
post_max_size = 20M ; Or whatever is the size of your CSV file to import

After importing users you can put back original values!

Q: My CSV file doesn’t import correctly, outputs bunch of unrelated errors, why?

A: Check if your CSV file has a text delimiter and/or field delimiter and tell the plug-in to use the same, or to not use anything if not present.
Field delimiter is the character(s) that delimits every cell’s data:
for example if you have the following row in your CSV file:
"marco","cimmino.marco@gmail.com","Marco Cimmino"
then you must use double quote as text delimiter and comma as fields delimiter, failing to do so will fail the import of such row(s)!

Q: I have more than 1000 users and this plug-in does not export all of them, why?

A: edit your php.ini search and modify this entry:
max_execution_time = 0

After exporting users you can put back the original value!

Q1: I got “Fatal error: Allowed memory size of 8388608 bytes exhausted [..]”, why?

Q2: I got blank pages after activating this plug-in, why?

A1: Because your memory limit is too low, to fix it edit your php.ini and search memory_limit key and put at least to 12M
A2: If you do not have access to your php.ini you can try this workaround (might not work)
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Q: I am using WordPress MS and import feature is not available for anyone else that is not a Super Admin, why?

A: This is a feature of WordPress MS and a possible workaround can be found here:
http://thereforei.am/2011/03/15/how-to-allow-administrators-to-edit-users-in-a-wordpress-network/

Q: When feature XYZ will be added?

A: I don’t know, remember that this is a 100% free project so answer is “When I have time and/or when someone help me with a donation”.

Q: Can I help with a donation?

A: Sure, visit the donation page or contact me via e-mail.

Q: Can I hack this plug-in and hope to see my code in the next release?

A: For sure, this is just happened and can happen again if you write useful new features and good code. Try to see how I maintain the code and try to do the same (or even better of course), I have rules on how I write it, don’t want “spaghetti code”, I’m Italian and I want spaghetti only on my plate.
There is no guarantee that your patch will hit an official upcoming release of the plug-in, but feel free to do a fork of this project and distribute it, this is GPL!

Q1: I have found a bug what can I do?
Q2: Something does not work as expected, why?

A: The first thing is to download the latest version of the plug-in and see if you still have the same issue.
If yes please write me an email or write a comment but give as more details as you can, like:

  • Plug-in version
  • WordPress version
  • MYSQL version
  • PHP version
  • exact error that is returned (if any)

after describe what you did, what you expected and what instead the plug-in did 🙂
Then the MOST important thing is: DO NOT DISAPPEAR!
A lot of times I cannot reproduce the problem and I need more details, so if you don’t check my answer then 80% of the times bug (if any) will NOT BE FIXED!

236 thoughts on “Cimy User Manager – FAQ and comments”

  1. I sent an email to you as well, but thought I would write here, too. I love the flexibility of your plugin especially with the extra fields, but I need the imported users to receive a welcome email with their login credentials and no emails are generating. Yes, I have checked the boxes asking for users to be created and emails to be sent.

  2. Hi Marco!
    Happy new year and thanks for this awesome plugin!
    I’ve got a question: I created some custom fields with “Advanced Custom Fields” (not Cimy Extra Fields). Is it possible to import and export these fields as well with your plugin, maybe some minor code changes or lines in functions.php?
    Thanks and best regards

  3. Hi Marco, i have a litlle problem with plugin and i dont know if that functionality is avaible in your plugins.
    Plugin exports and import everything like it shoud be: username, custom roles and everything…but metadata wont.

    And my question is:
    – is it possible to export meta data from one site and import in another ???

  4. Hi Marco,
    I’m a very satisfied user of your plugins, but I think I found a problem with the export function.
    If a user has some manually forced capabilities, the user role is not exported.
    In the same way, if a user has more than one role, only the first role is exported.

    The solution seems to be easy, adding 1 line of code in the cimy_um_export_data() function, inside the
    foreach ($all_users as $current_user) cicle:

    $my_roles=implode( ‘|’, $current_user->roles );

    Then simply replacing the line:
    $current_user->roles[0],
    with:
    “$my_roles,”,

    and the line:
    $field_separator.$text_separator.$current_user->roles[0].$text_separator.
    with:
    $field_separator.$text_separator.$my_roles.$text_separator.

    I tried this way, and it seems to fix both the problems.
    Can you please patch it for the next release?

    Thanks in advance
    Roberto

  5. Hi, Great plugin both user manager and extra fields
    Im trying to import a 300 lines CSV file to update members extra details created with cimy extra fields,
    All works fine with a test file, but the problem I have is that my CSV has no values for member and ID so the plugin cannot find the member to update, the only filed that matches the WP database is the email address.

    I was wondering if there is a way to tell the plugin to look for the email value in the database, and then update that user with the extra fields.

    Found the foll code in the plugin that looks to validate by the ID when username is not present:

    // ID is less important than username, if importing back the CSV created username comes first
    // use ID only if username failed earlier
    if ((isset($specials[“ID”])) && (trim($all_data[$specials[“ID”]]) != “”) && (!is_object($wp_user) || $wp_user->ID == 0)) {
    $wp_userid = intval(trim($all_data[$specials[“ID”]]));
    $wp_user = new WP_User($wp_userid);

    if ($wp_user->ID != 0) {
    $username = $wp_user->user_login;
    $results[“modified”][] = “‘”.esc_attr($username).”‘”.$line_tr;
    }
    }

    I want to know if there is a way to edit that part of the code so the plugin looks for the email value instead of the ID to process my CSV, basically I want the plugin to validate the email address instead of username or userID.

    BTW, whould be an improvement to have the email as one of the required fields to check, like look first for username, then the ID and lastly the email. If none found, then show the error.

    Hope I can find a way, if not I will need to manually add the WP ID to each row of my CSV so the importer can run it

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *