Indeed this is disabled in the code, but I forgot why 🙂
I’ll check
I enabled it and seems working, you can try editing cimy_user_extra_fields.php at line 437 and add in the list:
“checkbox”
Hi Cimmo
Works, thanks very much!
As a side note, I tried it for “dropdown-multi” but it didn’t work.
Sorry for the delay responding, I’ve been experiencing another issue where for some reason I’ve been seeing CUEF validation messages on the ‘Dashboard > Users > Add New’ page, even though that page doesn’t even show the CEUF fields…! I’m wondering if it’s possibly a WordPress 3.1 issue as I’ve only just started seeing it. It may be me too though!
Thanks again!
Cheers
Matt
Indeed in the same line 437 you can also add:
“dropdown” and “dropdown-multi”
divided by commas and should work out of the box.
You need to specify the exact items you want to preselect for example:
label: my label/item1,item2,item3,item4
value: item2,item4
Regarding the issue ‘Dashboard > Users > Add New’ yes WP 3.1 changed something and broke my previous fix for this, shit I hate it.
So open cimy_uef_register.php line 279 and change with this one:
if (($_POST[“action”] == “adduser”) || ($_POST[“action”] == “createuser”))
should fix the problem, let me know for everything 🙂
I fixed all bugs mentioned by you in the development version, you might want to check it out:
http://downloads.wordpress.org/plugin/cimy-user-extra-fields.zip
let me know, thanks
Marco
All the code changes look to work for me – nice one!! Must be frustrating!
Thanks a lot!
Cheers
Matt
(I’ll try the download next).
Sweet – download looks all good for these issues!
Legend!
Thanks
Matt
I’m using wordpress 3.1.4 and I can’t add extra fields from “Dashboard > Users > Add New” 🙁
What can I do?
I’m using wordpress 3.1.4 and I can’t add extra fields from “Dashboard > Users > Add New” 🙁
What can I do?
Extra fields from add new user in backend are not supported, add the user from:
1. Frontend
2. Edit/Modify an user
3. Users->Users Extended page.
Plus you are totally off topic here.
Hi Marco,
i am having kind of the same issue. I want to check a checkbox field by default.
BUT WITH URL!
The documentation says values can be passed as URL parameters:
You can use URL (only for registration page), example:
http://www.exampleofmywebsite.it/wordpress29/wp-login.php?action=register&FIELD_01=test1&FIELD_02=test2
FIELD_01 and FIELD_02 are two existing fields that will get default assignment with string “test1″ and “test2″.
I tried it with my checkbox, but it doesnt work. When i assign a value (e.g. yes) in the field definition, it works, the checkbox is checked.
But i REALLY need the URL feature, as it gives me the only opportunity to have kind of two different registration forms. I only need the default checked checkbox in a special case!
Thanks for your great plugin and help!