• Q: Cimy User Extra Fields is not compatible with “Themed Login”, how can I do?

    A: The reality is this plug-in IS compatible with WordPress 2.1 or greater and “Themed Login” NOT, so it’s NOT a Cimy User Extra Field’s bug! However I have tried with a little success a workaround to make it works, but first please understand that this is totally untested and unsupported hack, if you want a better one ask the author of that plug-in to support new WordPress!
    If you still want *my* personal and unsupported hack edit the plug-in “Themed Login” and do these 3 modifications:

    1. at line 773, after “global $wpdb, $wp_query;” add this:
      global $errors;
    2. at line 811, before “if ( 0 == count($errors) ) {” add this:
      do_action(‘register_post’);
    3. at line 871, before “A password will be emailed to you.” add this:
      <?php do_action(‘register_form’); ?>

    Q1: I got “Fatal error: Allowed memory size of 8388608 bytes exhausted [...]“, why?
    Q2: I got blank pages after activating this plug-in, why?

    A: 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

    Q: Your plug-in is great, but when you will add support to add more than one choice in radio and dropdown fields?

    A: This feature is here since ages, for radio field just use the same name, for dropdown field read instructions in the add field area (in the plug-in).

    Q: Indeed, but for multiple choices dropdown?

    A: This feature is not supported at the moment.

    Q: Uploaded images are not resized, why?

    A: You should add php-gd module (under Ubuntu install php5-gd package).

    Q: Why big files are not being uploaded?

    A: Please check this website, tells you how to change your PHP configurations to fix this issue: http://www.radinks.com/upload/config.php

    Q: Why admin user cannot see all fields even if I set to do it?

    A: Probably you installed the first time WordPress on PHP4 and you experienced this bug: http://core.trac.wordpress.org/ticket/8317
    To fix the problem you need to create another administrator user and change admin user to another role and then back to administrator.

    Q: I’m using your plug-in on WordPress MU per-blog installation, I’m registering users on one blog but they appear on the main blog too, why?

    A: Because WordPress MU is designed like that and I can’t do anything about, however all extra fields and relative data are saved per-blog.
    Since I had already a long discussion with an user that didn’t believe this, don’t bother me to insist on this topic until you prove I’m wrong.

    Q: I’m trying to use a regular expression in the rules, but the check does not work as expected, why?

    A: Usually means your regex is wrong, please study how to properly build it: http://php.net/manual/en/function.preg-match.php

    Q1: I do not see Extra Fields under the page user-new.php can you add there too?

    Q2: How can I import new users with Extra Fields data into?

    A: Unluckily due to a WordPress limitation I can’t add Extra Fields into user-new.php but you can quickly add all the users you want using my plugin: Cimy User Managerhttp://www.marcocimmino.net/cimy-wordpress-plugins/cimy-user-manager/

    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 reach Cimy User Extra Fields, 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!

905 Responses

WP_Floristica
  1. Erum says:

    PHP 5.2.11
    MYSQL version is :5.0.89-community MySQL Community Edition

    I also tried it on my local installation and same problem.

  2. Erum says:

    Also wanted to add that the file size, format, etc is fine as the same file gets added fine when editing the profile.

  3. Erum:
    did you check your personal email (if you entered correctly) that I sent you a possible fix for the first problem?

  4. Erum says:

    Found the email – almost missed it.

    No difference with the new file. And it works perfectly when you login and update profile.

    I have emailed you the link to the register page.

  5. Katerina says:

    Dear Marco,
    I’m using wordpress mu edition and I wanted to install it as per blog registration. I uploaded all files to plugin folder and then cimy_uef_mu_activation.php to mu-plugins. Bit right after I transferred this file to mu directory I noticed that I lost my ability to edit posts (when you are clicking on “edit”, list of posts opens but you can’t edit anything, you are always on the same page with posts list, nothing happens when you are clicking on edit links). In other things everything is ok, plugin is working per blog registration. Could you advice me something? With what this problem can be connected with?

    Thanks in advance!

  6. GJames says:

    Is there any way I can list the users and their correspnding fields in a page like
    [simyusers]

  7. Katerina:
    Yes you are right, there is a bug, will be fixed for v1.5.2 thanks.

    GJames:
    your request is a bit confusing, which page? Public? Private? If public I have developed a theme to do that, but is not released, contact me privately. If private is already in the plug-in, read readme file.

  8. Katerina says:

    Marco, but could I do something to make it works now?? Any ways?

  9. Filly says:

    So far thanks for this plugin, I’m almost done with my MU-project! One last thing to tackle: If user logs in and gets redirected to (stripped) WP dashboard, only default WP userfields are shown, not Cimy fields. Also tried disabling certain standard WP-fields, but these changes are not reflected on the dashboard for the user. Any thoughts?

  10. Filly:
    I have no idea what are you talking about, read the FAQ and try again.

  11. Alvaro says:

    Hi!

    first of all, thank you for such a good plugin! secondly, I’ve a problem with date fields. I try to add a Born Date but it never shows up in the Registration form, what’s wrong? Are there some mandatory fields I’m skipping?

    Thanks again,
    Alvaro

  12. Alvaro:
    I have no idea how you manage to add a “born date” as this plug-in supports only registration-date and of course there is no need to appear under registration as is automatically filed with registration date indeed.

    If you need a generic date field maybe you can sponsor it.

  13. Jocelyn says:

    Hi – I want to be able to update the cimy fields on a custom profile form. Getting the data is not an issue. How do I enable the value to be written? My form does update the user_meta fields just not the cimy

    ID, ‘FIRSTNAME’))

    Thanks so much

  14. Jocelyn:
    Unluckily my plug-in still lack a function to write data into extra fields, you can sponsor it for sure.

  15. Ekaterina says:

    Dear Marco,
    How could I change address to where all notifications about New User Registration come? And could I make this newsletter comes not to only one admin address but as well to another one (like copy)?

  16. Ekaterina:
    I guess is the administrator’s email and I have no idea how to extend to multiple addresses.

  17. Sean says:

    using wordpress MU 2.9.2 and version 1.5.2 configured with Unique registration

    when i got to the main admin area the plugin is not active, clicking activate i get
    Plugin could not be activated because it triggered a fatal error.

    plugin is installed to /wp-content/mu-plugins/cimy-user-extra-fields
    and cimy_user_extra_fields.php is in /wp-content/mu-plugins/

  18. Sean says:

    my mistake, i needed to refresh the page and the error went away. BUT the plugin is not available for activation and does not appear in settings.

    thanks for the help in advance.

  19. Sean:
    As written in different places of the website and in the README_OFFICIAL.txt the plug-in is available under “Side Admin” when you use the Unique registration installation.
    If there was an error I need to know which one.

  20. Filly says:

    Marco, as a follow-up to my earlier comment here’s what happens.

    1. User registers and populates extra fields
    2. User receives WP confirmation mail
    3. User logs in to the site and lands on dashboard
    4. Dashboard only shows default WP fields, no Cimy User Fields in site

    Disabling certain default WP fields is also not reflected in the user’s dashboard. In other words: they’re still there and editable by the user.

  21. Debbie says:

    Hi Marco, thanks so much for this – it helps me a lot! I’m creating a unique MU situation – all blog owners will have the same extra fields e.g address, query/contact email, specific info about their career specialty etc.. Besides the usual contant fields, two things I do need is a picture of the blog owner (this gets added to the theme header), and then a mechanism to save a set of categories to which they subscribe. I have a main “account details update” form on which will sit my new cimy custom fields, but the photo and multi-select are not part of this page. Would you suggest using cimy for these 2 extra fields and do some work around showing/hiding them on different pages, or would you rather leave these two out of the user profile and somehow add them as blog fields rather than user fields? There will only ever be this one blog owner per blog so it is 1-to-1. Thanks for any advice/help!
    Debbie

  22. Debbie:
    1. Header image what has this to do with this plug-in? OT.
    2. I didn’t really understand what you want to do, but anyway this means a customization that I can’t do for free.

    Contact me only if you are interested in a donation to have this done.

  23. JayJay says:

    Hey Marco,

    Excellent work!

    I have a custom profile page outside the admin area, on the public page, where a signed in user can edit its profile. Is there a way to access these extra field inputs and have them on my custom profile page? I’d like them to be able to upload/delete the picture.

    Thanks,
    JayJay

  24. JayJay:
    no as said already different times in the comments there is no public api to update Extra Fields, nobody wanted to sponsor this, until now.

  25. JayJay says:

    Thanks.

    Would you mind shooting me an email when you get a chance?

  26. BLOGGER says:

    hello, for one of my sites I need to make one additional field for one number for every user, which can be modified by the administrator, but can’t by the users.

    So user see this field with the number in his profile, but can’t modify it, and the administrator can modify it when he want. Can I do this with your plugin? Thank you for your answer!

  27. BLOGGER:
    Yes. Check rules.

  28. Bruno says:

    Hi!

    Great plugin…

    I’m trying to validate a field content as DD-MM-YYYY, and I tried to use the ‘Regular Expression’ feature with “(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d”, but when trying to insert the date in to the field I always get “ERROR: Date isn’t correct.”.

    Can you help me out with a way to do this?

    Cheers!
    ===
    Bruno

  29. Bruno:
    Try adding ‘/’ at the beginning and at the end:
    /(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d/

    I guess would be a good idea to add a check for that.

  30. Bruno says:

    Thanks Marco!

    I still get “ERROR: Date isn’t correct.”.
    Maybe I’m doing something wrong…

    I have:
    Exact length [1-50000]: 10
    Should be equal TO: /(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d/
    Regular Expression

    Any idea/suggestion?

    Cheers!
    ==
    Bruno

  31. Bruno:
    I don’t know, I pass the string to preg_match so study the function, for sure your regex is wrong.
    http://php.net/manual/en/function.preg-match.php

  32. Bruno says:

    Once more, thanks Marco!

    The preg_match info helped me a lot…

    The correct regex is:

    format dd-mm-yyyy:
    /^(0[1-9]|[1-2][0-9]|3[0-1])-(0[1-9]|1[0-2])-[0-9]{4}$/

    format yyyy-mm-dd:
    /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/

    Cheers!
    ==
    Bruno

  33. Bruno:
    Thanks for sharing.

  34. Bruno says:

    You’re welcome Marco… ;)

    One more thing.
    Is it possible to make the extra fields show on the “Add New User” (user-new.php) page?

    Thanks!

    Cheers!
    ==
    Bruno

  35. Bruno:
    No due to a WordPress limitation, not sure on upcoming WP 3.0 but you can always use my CSV importer plugin called Cimy User Manager see the link on top-left of this website.

  36. Bruno says:

    Thanks Marco…

    I sure will use your User Manager plugin… ;)

  37. Vital says:

    The 1.5.3 download still has 1.5.2 as a version number and the warrning:
    “call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘Array’ was given in /wp-includes/plugin.php on line 339″
    is still there (upon registration).
    Just letting you know.
    This and your User Manager are great plugins.

  38. Vital:
    Thanks, I will take a look.

  39. Vital:
    I can’t reproduce the error you got, are you sure is not another plugin that works on registration too? Can you make a screenshot and send to me via email?

  40. rooyy says:

    Can not call the language

    I have translated, such as: cimy_user_extra_fields-zh_CN.mo

    However, do not display Chinese?

    My site is installed WordPressMU + BuddyPress

  41. rooyy:
    Because filename is wrong, be sure that you read and understood:
    http://www.marcocimmino.net/cimy-wordpress-plugins/how-to-translate/

  42. Vital says:

    Marco:
    Thanks for your reply.
    I sent you a detailed email.
    The website is – http://www.informationenergymedicine-association.com/
    The warnings are still there after upgrading to 1.5.3.
    Feel free to try to register in order to see them first hand.
    No, I am not sure it is not another plugin.
    Thanks

  43. I’m trying to echo the custom fields that user have inputed through the author.php file to show their field values on their “profile” pages. In author.php I have:

    (Starts Loop)
    $thisauthor = get_userdata(intval($author));

    (Displays Value)
    echo get_cimyFieldValue(the_author_ID(), ‘FILD NAME’);

    But for some reason when I load the page instead of showing the value it just shows “Array”. And if I change ‘the_author_ID()’ to ‘author_ID()’ I get “0″ instead of the value. Any ideas?

  44. Andrew Deibel:
    I can’t really understand with two lines of code, pls make a donation and send me via email the whole code.

  45. Rich Calzada says:

    Marco -
    The plugin is great!

    I have a single quick question:
    I installed this on WPMU and followed the unique install directions. This worked across all blogs as I had hoped. The extra field(checkbox) that I have added to the users is there and saves the value across the different blogs.

    The problem I’m having is when I run a query to get the users with this checkbox checked. It will only work on the main blog but not the others.

    This gives me the correct number (3) for the main blog and 0 for any other. Are you able to point me in the right direction?

    Thanks,
    Rich

  46. Rich Calzada:
    Maybe because others can’t see users list? There are permissions…

  47. Rich Calzada says:

    Marco -
    Thanks for your quick reply! I pasted in two lines of code but it didn’t carry through to my post, here is the important one of the two again:

    $users = get_cimyFieldValue(false, ‘Featured’, ‘YES’);

    This is the line that is only working on the main blog. I will check into the permissions.

    Thanks so much!

  48. Bence says:

    Hi Marco Cimmino,

    How could I show or hide a field or entire sections of the form based on a value selected in another field?

    For example, if the user checks a checkbox, a new textfield would appear automatically.

  49. Bence:
    This feature is missing. So you can’t do it.

  50. Rich Calzada says:

    Marco -
    I realize you’re very busy and apologize for bugging you – Does the solution still seem to be permissions based after looking at my follow up post?

    Thanks,
    Rich

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.