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:
- at line 773, after “global $wpdb, $wp_query;” add this:
global $errors; - at line 811, before “if ( 0 == count($errors) ) {” add this:
do_action(‘register_post’); - 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 Manager – http://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!




943 Responses
« Previous 1 2 3 4 5 ... 19 Next »
Marco, I have solved my problem and have written it up on my site for others who need to have fields appear outside the Loop. This solution works in an author.php file, where the $ curauth variable has been set:
http://chocolate2code.com/wordpress/cimy-user-extra-fields-display-field-values-outside-loop
Hope that helps!
well Marci I’ve read all and some things:
1) in the example shown in pastebin your call to my function WASN’T inside the loop, so that was a problem
2) at the end to not display multiple results you can always do twice loops and inside the first use break; after using my functions that force to exit from the loop after the first iteration.
This is exactly what I have written in the example inside readme file.
So please take care to view all options and all documentation prior asking help again.
Thanx
Hi,
Where is the plugin ?? I have been trying to find it, so I can download it, but can’t find it anywhere.
Thanks
OK, I had to register I suppose in order to see the dowload link.
I tried it and it doesn’t work. I don’t think that it is compatible with the latest version WordPress 2.2.1
I hope it will be soon.
Thanks
No, it was my mistake, it works fine.
Sorry for this
Thank you
There is no need to be registered and yes it is WordPress 2.2.x compatible.
Always read instructions before posting, thanx
Marco – excellent plugin.
One additional feature I’d like to see would be the ability to associate a field with a fieldset. In v0.9.4 you can set one value for the number of fields for each fieldset – hence you can’t have fieldsets with diferent numbers of fields. one way to do this would be to provide a comma separated ‘Items per Fieldset’ setting – but it would be even more flexible to add a dropdown (e.g. to the ‘Name value area’) on the ‘Add a New Field’ and ‘Extra Fields’. I think such a feature would add evn more functionality – what do you think?
yes greg, your idea was about the same I just had
I like it, but for 0.9.5 I have planned to add a new field that will be an image displayed with a code to enter for registration, just for anti-bot registrations.
Then yes for 0.9.6 I can see this suggestion.
Also internationalization is another step, but probably will be done for the big milestone: 1.0
Hi Marco,
Your plugin is fucking great. I use it for the second time in a new site. This time is used the latest version 0.9.4 and i have something very strange.
My config is this one :
- 5 fields in the main registration page
- a lot of fields only visible on profil and A&U Extended menu. (30 fields)
When a user register on the site, all the extra fields visible on his profil page take the value of the last field of the subscription page…. ????
when i create a user by the admin panel, all the extra fields are correctly initialized (no value).
can you help me ?
You can test it by registrering on http://www.rachats-credits.info
thank you in advance.
martial
martial you found a very baaaaad bug!
I think I just fixed it, now I send to you a 0.9.4.1 with the quick fix so you can test it.
thanx!
Thanks for a very useful plugin Marco!
A couple of simple feature requests(easy enough to hack in place but I would like to see them in the code so that they keep working with new versions):
- Add id’s to the paragraph tags around the inputs. This would allow DOM-manipulation of the fields, for example to only showing certain fields when another field is set to a certain value.
- I would prefer a space between a label and a checkbox instead of the current . Maybe that could be made a configuration option, or maybe you could change the html so that it could be configured with css?
Lo m8,
First of all, great plugin! Really outstanding work!
As far as I know this only applies to version 0.9.4!!!
I ran into an weird error while using the get_cimyFieldValue(1, ‘MY_FIELD’); function. (I say weird because of the solution, still don’t get it, must be my lag of SQL knowledge):
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fields ON fields.id=data.field_id WHERE fields.name='ADSENSE' AND data.USER_ID='' at line 1]
SELECT fields.LABEL, fields.TYPE, data.VALUE FROM users as users, cimy_data as data JOIN cimy_fields as fields ON fields.id=data.field_id WHERE fields.name=’ADSENSE’ AND data.USER_ID=’2′ AND fields.TYPE!=’password’ AND (fields.TYPE!=’radio’ OR data.VALUE!=”)
My solution is to change this part of the query:
as fields ON
to this:
as `fields` ON
This had to be done in 3 queries on row 2376, 2402 AND 2428.
Is this weird or do I need to buy a SQL book?
Cheerzzz
btw. I’m running WP 2.2 on PHP 5 and MySQL 5…
Cage:
1) a space? Do you mean a br/ ?
2) this can be done, if will help yes
Dennis:
you tried your fix? Does it work? I’ve sent to you an email please check it.
thanx
I have added a checkbox field to the users profile but I can’t make it checked by default. I have entered the value of YES in the field but it remains unchecked, even for new users who sign up AFTER the field has been added.
Any ideas?
Thanks.
steve:
here it works! Just put “yes” in the value.
If still doesn’t work please send me a screenshot of the field in the options.
Note:
default value for radio and checkbox works only during registration because it is assumed that after a registration a person has decided if check or uncheck it and then a default value is not needed anymore.
Hi,
Great plug-in, just what I was after.
I am having one problem – none of the data I enter in extra fields (in the admin area or on the registration form) is being saved to the database
eg registration form at http://bmea.simonwakeman.com/wp-login.php?action=register
Am I missing something really obvious to make this work? I can’t see anything in all the commnents above
thanks very much,
sw
Simon:
I have seen that you used spaces into extra field names, this could be a problem.
Try to rename them without spaces and let me know, you can use “-” or “_” for example.
thanx
Marco,
That’s fixed it.
Thanks for the prompt response and an excellent plug-in
cheers
sw
First off, fantastic plug-in – and a fantastic feature that should be built as part of wordpress! I love wordpress it’s such a fantastic cms.
I have a couple of questions:
1> How do I remove “Check here to Subscribe to email notifications for new posts;”
2> I’ve created two new drop down menu’s, however – there appears to be a a break between the heading and drop down – how do I fix this?
Many thanks!
Sorry i forget to add the url:
http://www.ashantithisisme.com/ashanti/wp-login.php?action=register
Vanitus
vanitus thanx!
answers:
1) if you see the html code that checkbox is after “End of code from Cimy User Extra Fields” so it isn’t printed by my plug-in at all, probably you have enabled another plug-in I don’t know.
2) I haven’t understood what you mean, sorry
Hey Marco, my fault entirely.
Once again, superb plugin!
Hi I’ve downloaded this plug-in because I’ve read that this is the onli one who can ask the “Permission to use personal data”. So everithing work well but I don’t know how request the permission. How is possible to do that with this plug-in? I’ve to download another one?
Thanks to everione can help me
Lorenzo:
add a checkbox and add: name, label and check equalto rule writing “yes” in the near text field.
Ok! It works! but i’ve the problem for the lenght of the regiter screenshot, and for the position of the register button. I can’t modify the register.php file because it contains only :
“”
So I don’t know how to modify the login.php file
Thanks for help
http://www.el-nino.it/wp-login.php?action=register
Lorenzo I invite you to read README file before asking and in specific “Known bugs/behaviors”.
I spent several hours to be as detailed as I can, after you read it if you have other questions feel free to post here again.
Thanx
Hi Marco,
Great plugin! I’ve installed it and everything is working fine in the admin panel. However, I can’t get any of my extra fields to show up in a user’s profile page (eg http://vegetarianoption.org/index.php?author_name=admin). I have read the readme.txt file numerous times and gone through all the comments posted on this page, but each time I try to modify author.php to display the extra fields I have created, the page breaks and I get a PHP error.
Where exactly in the file do I have to place the PHP coding? I would like to display all extra fields for all the users in their profiles.
Thank you in advance, and I’m sorry for bothering you!
Manda:
I need more details, I cannot understand if you don’t say which version of WP, MYSQL, PHP and Cimy UEF you have.
Also you said you have a PHP error but which error?
There are at least 5 different examples and one additional example in 0.9.6 readme file we cannot provide support for the specific need of every person all for free, as you can see this is a commercial site and we just provide different plug-ins for free
Hi Marco,
The PHP errors are because I don’t know where to put the coding examples in the readme.txt file in the authors.php file. I have followed instructions as best as I can but I get parse syntax errors because I don’t know where to put the examples in the actual file. I would like to display the extra fields in the user profile but I have no idea where to put that coding in the authors.php file, which is where the PHP errors come from.
I am running WP 2.2.1, MySQL 4.1.21, PHP 4.4.7, and Cimy UEF 0.9.6.
Marco,
The plugin is super, but I’m having trouble outputing the fields. Here’s what I’m seeing:
- WordPress 2.2.1
- MYSQL 4.1.22-standard
- PHP 4.4.6
- exact error:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fields ON fields.id=data.field_id WHERE fields.name='ADDRESS_STREET' AND data.US' at line 1]
SELECT fields.LABEL, fields.TYPE, data.VALUE FROM wp_users as users, wp_cimy_data as data JOIN wp_cimy_fields as fields ON fields.id=data.field_id WHERE fields.name='ADDRESS_STREET' AND data.USER_ID=3 AND fields.TYPE!='password' AND (fields.TYPE!='radio' OR data.VALUE!='')
I know this is one you’ve seen before, and have not been able to reproduce. I have tried the suggestions made by others in these comments, but they have not worked.
I have setup a test page that shows that get_cimyFields(); is working, but get_cimyFieldValue(); produces an error. Here is the code I am running:
<h2>testing get_cimyFieldValue(3,’ADDRESS_STREET’);</h2>
<?php $value = get_cimyFieldValue($curauth->ID, ‘ADDRESS_STREET’); ?>
<?php echo $value; ?>
<h2>testing get_cimyFields();</h2>
<?php $allFields = get_cimyFields(); ?>
<?php echo print_r($allFields); ?>
You can see it in action here if you want:
http://1988saints.com/?author=3
Do you have any ideas what I should try?
Manda:
Sorry I can’t help with so few informations.
There isn’t A place where to put examples, the place is where you want to display those informations.
I suggest you to read WordPress and PHP documentation:
http://codex.wordpress.org/Theme_Development
http://www.php.net/manual/en/
for further help we provide support service but not for free, hope you can understand that we cannot support every single case that uses our plug-ins, apart for bugs or feature request.
Thanx for your interest
The addon is installed and is recording new fields and displaying them properly on the user’s profile. However, I need those fields emailed as part of the new user registration. Any time I try to use get_cimyFieldValue in the pluggables.php I’m getting the following error. This is with WP 2.2.1, MySQL 4, Php4.
Error:
”
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fields ON fields.id=data.field_id WHERE users.ID=data.USER_ID AN]
SELECT users.user_login, fields.NAME, fields.LABEL, fields.TYPE, data.VALUE FROM wp_users as users, wp_cimy_data as data JOIN wp_cimy_fields as fields ON fields.id=data.field_id WHERE users.ID=data.USER_ID AND fields.TYPE!=’password’ AND (fields.TYPE!=’radio’ OR data.VALUE!=”)”
yes JimG there are some problems with some versions of MySQL.
Can you please send me the _exact_version of MySQL4 via e-mail and I will answer with v0.9.6.1 with a possible fix to test.
The problem with my MySQL doesn’t exist so I need testing where the problem occurs.
thanx
Email sent with code snippet and version.
Thanks!
Thanx, 0.9.7 released with the fix and improved function!
how can i ask down the user picture?
i used this code:
$value = get_cimyFieldValue(the_author_id(), ‘PICTURE’);
if ($value != NULL)
echo $value;
and i only got the ID not the picture
WP 2.2.1, PHP Version 4.4.7, mysql 4.1.21
ToRokZoli:
see comment #27 or readme file under “ADDITIONAL EXAMPLES”
your code cannot work due to a wrong usage of WordPress functions.
The pluggin doesn’t save my data. I have 13 fiels. I have no spaces in the fields names. I tried with admin and edit the user data, editing the profile, etc. but nothing works.
EDIT: the problem was the image field I created. If I put an URL in that field, WordPress doesn’t save the changes.
I tried, but I can’t insert any image. How can I do that?
imendes:
if you give more details probably I can help you, but without even know if you are using picture or picture-url fields, which wordpress/php/mysql version it’s a little bit difficult.
Sorry about that. My server has PHP 5.2.2, MySQL 4.1.22 and WordPress 2.1. I want to use picture-url, but I want to know how both works, because I can“t work with both.
Thank you
imendes:
ok picture-url just make a link to the image url specified in the text field.
So now try to explain which url do you use and what does it mean “doesn’t save changes” exactly.
thanx
I am having trouble setting up the plugin for use with the registration form, I have tried looking around at all posts but can’t seem to find anything. The plugin seems to work fine, but it doesn’t show up on the registration form. I am using all the most current MySQL and PHP, and WordPress 2.2.1. I wish to have the people who register have to input their first and last names rather than do this later in the process. Also, maybe the password option.
Am I just not looking in the right place for the instructions?
Sorry, figured out the fields part. I added the Firt and last names to be extra fields that are required, but is there a was to make those extra fields fill out the first and last names of the core fields of WordPress, in the original profile settings?
I’m currently trying to make a small (I hope) change to the way this works and could use some help. I have a list of employee numbers that I will be putting into my database. When a user registers, they fill in a cimy extra field with their employee number. Right now I have it set as “exact length” to match the employee number, but spammers are filling the blank with 1111111. I need to have the registration system verify that the number exists in the list in the database before allowing them to register. Any ideas?
Curious, where do the extra fields go after they hit the register button, especially if you have the option turned off to not include in profile,
does this info get sent to you via the admin notification ?
I should also like to ask if it were possible for the extra fields to be sent to a designated email address (the whole form)
I’m looking for some help..
I’m using wp-united with phpBB forums to integrate users from wp with the users in phpBB. When i do that the extra fields i have set up in wp users profile aren’t working anymore, i.e. they’re there but they don’t save the settings i change although wp says it updated. Any chance someone can help me with this?
On WPMU I get:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in …/blogs/wp-content/plugins/Cimy_User_Extra_Fields/cimy_user_extra_fields.php on line 885
Regards, M.
i just tried installing this on WPMU, and i had to hardcore the wp table prefix on it to get it working. the thing is, that i cant add any fields. if i add one, it says “Field inserted correctly” but it’s not displayed unde Extra Fields. Do you plan on adding WPMU support?
« Previous 1 2 3 4 5 ... 19 Next »
Leave a Comment