• 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. mrdthomas:
    I guess the solution could be iterating the display of one field for the fields you want to display.

  2. rendom says:

    User photos url is “mydomain.com/wp-content/Cimy_User_Extra_Fields/username/picturename”.

    Can i change it to “mydomain/userphotos/username/picturename” ?

  3. rendom:
    you have to change the code, cimy_user_extra_fields.php as for now there is no options to specify a custom path.

  4. rendom says:

    I can do it.
    Can you point what i need to change?

  5. rendom:
    I think $cuef_upload_path and $cuef_upload_webpath at lines 142 and 143 of cimy_user_extra_fields.php but I suggest you first to test it in a test environment ;)

  6. rendom says:

    I’m working on my localhost, so no probs)

    can i change it to something like this?
    $cuef_upload_path = bloginfo(‘siteurl’).”/userphotos/”;

  7. rendom:
    first of all you are requesting a ‘feature’ and usually I’m not giving any ‘feature’ info for free.
    Second: no, one is the WEB url and one is the SERVER PATH, so change accordingly.

    Do not ask more help without a donation, won’t answer anymore, sorry life is not for free.

  8. cinco says:

    Hi Marco,

    How do I add cimy fields to user register page in admin panel (user-new.php)?

  9. cinco:
    can’t do it due to an old limitation of WordPress have to check if they changed it.

  10. cinco says:

    thanks Marco.

  11. Michi says:

    How can i put the new fields from the author.php?
    Whats the function to call, like
    thanx

  12. Kurt says:

    Marco – you’re the man!

    Working good on 1.5 beta 1 -
    WP version 2.8.4 –

    Of course I have a question already! Wish I could move the custom fields to the top of the profile page! What WP file would need to be modified to make this happen? I’ll go break some stuff and let you know how I did it.. not a noob but not good enough to write my on plugs..

    Would u like me to list all my plugins so you know what beta is compatible with?

  13. Kurt says:

    Ah shot.. just ran into something. When you add more than one custom Fieldset titles the second one created shows up in the registration page. Even with this not being assigned to any fields.

  14. Kit says:

    how can i create a page on my site that looks like a member directory with all my extra fields?

  15. Chris says:

    I’m having problems with the image uploader on the new beta version and would like to send some money and have you help me with it and want to make sure you have time to do this in the next few days.

    thanks

  16. Kurt:
    to show extra fields _before_ I think you need to move lines 310-316 on /wp-admin/user-edit.php a little bit earlier (based on WP 2.8.4), but I’m not 100% sure.
    I don’t suggest to move those lines anyway, at every WordPress update then you have to do it again probably.

    regarding the bug report I have to test it and check.

    Kit:
    reading readme files and trying with examples or donate a bit and I can do it for you.

    Chris:
    answered personally.

  17. Kurt says:

    /wp-admin/user-edit.php that works.. wil try to add this to functions and let you know

    How much would you charge to have the system email me each time the fields are changed? I need to keep up with the changes via a remote system. Can’t seem to get time stamps from when the last field changed so perhaps emails would be the next best thing. Actually we would much prefer the time stamp but..

  18. Kobby says:

    Marco want to pay you to do a feature for me. How do i contact you.

    Have done what I need manually (CSS & HTML), need you to hook it into Cimy-Extra-Fields with PHP to make it automatic

    Its similar to Kit’s Member Directory request in a way.

  19. Please email me ASAP. I have a new feature I would like to see if you can add for a donation of course.

    Thanks.

  20. Uwe says:

    Some problems with version 1.5 and WPMU 2.8.3.

    1 .You use the mu-plugins – dir. That dir is deprecated since WPMU 2.7. You should only use plugins.

    2. From line 170 – 175 you allways use a slash at first character (/cimy-uef-db-php). The leading flash couses a load error. You should leave it.

  21. Uwe:
    Thanks I will take a look for 1.5.0 beta2

  22. Leanne says:

    Hi Marco,

    Trying to implement your plugin using the function
    $values = get_cimyFieldValue(1, false);

    Tested outside the loop in the author template and it did not display the three fields that I’ve added and filled with content. I am looking specifically to return all fields for the $curauth on the author template. Can I pull in the fields in the same method of WP core fields or have I missed something in the readme?

    Using WP2.8.4 and Cimy 1.4.0

    Thank you!

  23. Leanne:
    Unluckily I have no idea what is the author template nor the method of WP core fields, usually I need to see the code, can’t guess what have you done and where.

  24. Leanne says:

    Here is the chunk of the author template that comes before the loop begins:

    ID;
    ?>

    first_name); ?> last_name); ?>

    E-Mail: user_email); ?>
    Website: <a href="user_url); ?>">user_url); ?>
    Twitter:
    Facebook: xxxxx); ?>
    LinkedIn: xxxxx); ?>
    Profile: description); ?>

    With your plugin, I’ve attempted to add fields to the user profile, to pull in three extra fields (Twitter, Facebook, LinkedIn) into the display of profile information on the author template. I’ve replaced the Twitter code with yours to show what I’m using and how I’m using it. Facebook and LinkedIn is not valid code at this time.

    Outside of the loop, the $curauth variable is set so that the information can be displayed, so I’d like to display those three items using the $curauth so that the one template can apply to all authors.

    I hope that’s enough info? Let me know.

    Thank you!

  25. Leanne says:

    my apologies – the code field did not apply. :/

  26. Leanne says:

    <-- code follows

    ID;
    ?>

    first_name); ?> last_name); ?>

    E-Mail: user_email); ?>
    Website: <a href="user_url); ?>">user_url); ?>
    Twitter:
    Facebook:
    LinkedIn:
    Profile: description); ?>

    -- >

  27. Leanne:
    please send me a personal email with the code, comments are not the best solution.
    Also try to understand I can’t fix your code without at least a donation, can’t support everyone with all the custom solutions.

  28. Leanne says:

    Happy to donate once you have a look and let me know if it’s possible! Will drop you an e-mail.

    Thanks!

  29. Trying to the get file option working useing the beta. Useing most current version of WP. I am trying to get an MP3 upload file type with 5MB limit. Here is a screen shot of my settings.

    http://www.husar.us/blog/wp-content/uploads/2009/09/screen-shot-2009-09-08-at-72553-pm.png

    I don’t get any error. Message says “user updated” but filed is blank when profile loads again. The MP3 I am uploading is 4.3MB. Also I noticed that the “file” directory is created under the particular user’s with permissions of 777. No file is in the directory.

    Cheers,
    Ed

  30. Doing some more testing and adding other file types. I did a txt file just fine. Then I did a very small mp3 on a few k. That worked as well. Hmm, I am wondering if there is a server side limit to file uploads not related to your plugin or wp in general. Anyone know? Will test more….

  31. The House of Husar:
    of course there is a server limit, check your php.ini under these values:
    upload_max_filesize
    post_max_size

    both they need to be increased probably.

  32. Yep, found that out last night. I have my .htaccess set to php_value upload_max_filesize 20M now.

    After more testing I still can’t upload any file over 2MB with file option. Looking at my max time out setting now.

    If anyone else had to adjust their .htaccess to allow larger fiiles please post your .htaccess example. There are tons on the web but finding many of them are inaccurate.

    I could have a custom php.ini. Problem there is that php.ini is directory specific and doesn’t do anything for sub-directories. Copying one into every “file” user directory is not an option.

    More to come…

  33. Just in case one else has the same issue. I could not increase my server file size limit in my .htaccess. I had to use the php.ini to set it. Might save someone some time in the future.

  34. Tim says:

    I’m using the Cimy User Fields plugin and am impressed. However I’m having trouble showing the default gravatar for users who have not uploaded an image though. It shows up great in their login page, but when I try to show it on their profile page I get an image not found.

    Can you help with this? I’d be happy to pay you for your time. Below is the code that is not showing the default values if a user has not uploaded an image:

    $values = get_cimyFieldValue(false, ‘PHOTO’);

    foreach ($values as $value) {
    $user_id = $value['user_id'];
    $image_url = cimy_uef_sanitize_content($value['VALUE']);
    $thumb_url = cimy_get_thumb_path($image_url);

    echo ‘‘;

    echo ”;

    echo ‘‘;
    }

  35. t7 says:

    Hello,
    i have WP 2.8.4 – and CImy 1.5 – i instaled plugin, run it and nothing – create some fields etc – still nothing… what is wrong? :(

  36. Tim:
    sent an email.

    t7:
    what does it mean nothing? Have you checked your profile? Fields are there?

  37. Gr3fweN says:

    Hi, I’ve installed 1.5b1 and I can enable wordpress hidden fields but I can’t add my own fields. I also can’t change properties on wordpress hidden fields. Please help. Thanks.

  38. Gr3fweN
    pls read FAQ and provide more info, I can’t help ppl that doesn’t read FAQ!

  39. Gr3fweN says:

    Plug-in version: 1.5b1
    WordPress version: 2.8.4
    MYSQL version: 5.0.67
    PHP version: 5.2.9
    exact error that is returned (if any): No error codes.

    As I wrote, I can’t add my own fields. I fill in every field that’s required and hit “add field button”. The page reloads but no new field added.

    I can enable wordpress hidden fields but after I cannot change them like surname, firstname. Whatever I change and hit “update”, the page reloads and nothing.

    Thanks.

  40. Gr3fweN says:

    I’ve done some testing. If I manually add the fields using phpmyadmin they show up both in the backend and frontedd so the problem is that your plugin can’t save to the database. Why, I don’t know.

  41. Gr3fweN:
    adding manually just does not pass any of the checks I do, are you sure that there is no error message? Maybe you missed it.

    Like:
    1. name not inserted
    2. label not inserted
    3. for some fields you need to set also: max length rule

  42. Plug-in version: 1.5b1
    WordPress version: 2.8.4
    MYSQL version: 5.0.67
    PHP version: 5.2.9

    Profile page looks awesome, well formatted, purty looking.
    Registration page is unformatted, bland and amateurish.

    Go ahead and register, then check your profile to see the difference.

    Should they not look the same?

    Also, how do I get rid of those wordpress hidden fields on the profile page? I’ve tried deselecting the option to show them on both the registration and the profile pages but with no luck on the profile page.

    I love your plugin and will be making a donation as soon as my paycheck clears the bank.

  43. I also seem to be encountering a bug with the hidden fields. If I select to show all of the hidden fields in the admin screen, one of the fields is missing. For example, the wordpress field options skips from field #6 to field #8, usually the last field does not show. In one instance, it showed field #4 twice and would not accept any changes to the field’s options.

  44. Edward Kelley:
    no, it is formatted as WordPress wants it to be formatted, I use WordPress’ css. If it looks amateurish complain with them.

    There are some issues with hidden fields, I hope fixed on beta2 released soon, I will send the beta version privately so you can test it.

  45. Thanks Marco! I’m using beta 1 now and look forward to the beta 2.

    Is there a way that the registration can be formatted to matach your formating of the profile page? Is that something you might do for a fee?

  46. Vlad says:

    Hi Marco, i got a little problem. When i upload a picture with the picture field, the picture is not showing up. I can see the picture in the created folder, but not on the page. in the source i see: mydomain.com/wp-content/Cimy_User_Extra_Fields/username//picturename. As you see it’s two slashes before the picture name, like folder is missing. When i use avatar field everyting is working perfect.

    Thanks in advance for your help, Vlad.

  47. Edward Kelley:
    you can edit the cimy_uef_register.css present in the plugin.

    Vlad:
    the double // is due to the fact you added an extra / in your wp-config.php but I do not think is that the issue.

    To try it copy/paste the url in your browser with and without the double / and let me know.

  48. Al says:

    Hey can you give examples?

    I made a field called Position in the Cimy control panel and I want to display it on the author page.

    How should I do this?

    This does not work:

    Position:

    Am I doing it right?

  49. Al:
    code is snipped, pls send me an email, but before read README file and FAQ.

Leave a Comment

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