User Extra Fields

user extra fieldsUser Extra FieldsUser-Extra-Fields

Easily add extra fields to the registerd users displaying them on register , account and more! wordpress User Extra Field plugin is WooCommerce and WPML compatible!

LIVE DEMO

http://www.codecanyon.eu/wpuef/
user: demo
pass: demo

CUSTOMIZE REGISTER PAGE

wordpress User Extra Field lets site admin to easily add new fields to the user register . This can be
done using a nice visual composer. Fields that can be added are:

  • File
  • Text
  • Textarea
  • Number
  • Email
  • Site url
  • Date
  • Time
  • Multiple choice
  • Single choice
  • Dropdown menu
  • Coutry & state (available only for WooCommerce)

All fields can be optionally setted as required field during registration. Furthermore, for Date and Time
fields the plugin uses nice calendar and time jquery componets to help users in selecting right values.

FILE UPLOAD

With the file extra field, you can let you users/customers to attach files to their profile!
This can be done during registration process or even during WooCommerce checkout process!
Site admin can also limit file size and file types allowed to upload.

NOTE: In some cases you have to set LimitRequestBody max bytes value on your web server to the size you need (or the maximum allowed size). To do that, simply edit the .htaccess (or httpd.conf) on you root adding “LimitRequestBody 0” at the end of the file.

USER PROFILE EDIT PAGE

WPUEF extends the user profile adding the extra fields created. In this way
every user (or site admin) can edit his info.

DISPLAY FIELDS IN USERS TABLE / WOOCOMMERCE CUSTOMERS MANAGER TABLE

For each fiend is also possible show its content directly in the embeded Users table and in the WooCommerce Customer Manager customers table, each field in its own column.

WPML COMPATIBLE

WPUEF is wpml compatible. Create as many fields you want, then translate labels and description
using the WPML -> String translation menu

WOOCOMMERCE COMPATIBLE

WPUEF supports WooCommerce. Automatically adds extra field on the registration (optionally can be hidden).
Your customers, by default, will be able to edit extra fields on their “My Account” but, optionally, the Shop admin can configure
every field to be editable only in “Shipping Address” or “Billing Address” edit s!
Furthermore, Shop admin can also trace this extra info directly on the backend order detais .
Infact WPUEF adds a new meta box containing the extra user fields box next the customer info box. In this way you can
have all the user and order infos under controll in one place!

Furthermore, every extra field can be optionally (or ONLY) displayed and edited also on the checkout . This can be usefull
during user registration on checkout step. Extra fields will not be saved if guest checkout is allowed and for this the fields are automatically hidden if an user is not logged and are automatically showed if the ‘create account’ is checked

WOOCOMMERCE FIELD ROW SIZE

You can optionally set fild row size: half-size (left/right) or full width size!

NOTE: this option cannot be applied to the “Country & State” field. It will have the full-width size.

BUDDYPRESS COMPATIBLE

WPUEF is BuddyPress compatible. This means that fields are automatically added in the user register (optionally can be hidden to be diplayed in that ) and
will be public viable in the user profile. Every user can edit those extra fields using their own edit profile page.

FIELDS CAN BE EDITABLE ONLY BY ADMIN

Shop admin can choose to create fields to be editable only by him and visible on user profile page

WOOCOMMERCE EMAILS SUPPORT

Optionally, all the users extra fields can be reported directly into the WooCommerce emails, in this
way you can keep an eye on all the user extra info at once!

CUSTOM FORM SHORTCODE

WPUEF allows you to render custom forms with the selected extra fields on any page supporting wordpress shortcode system. To that use the [wpuef_extra_fields_custom_form field_ids=”“] where the field_ids parameter
specifies the id of the fields that will be displayed. Ex.: [wpuef_extra_fields_custom_form field_ids=”c2,c5,c6,c18,c20”]

WORDPRESS FIREST AND LAST NAME FIELDS OVERWRITE

WPUEF gives you the possibility to store text field content into the default Name and Lastname wordpress fields. To that you have just to create a text field and then check the First/Last name overwrite option.

WOOCOMMERCE FIELDS OVERWRITE

WPUEF gives you the possibility to store field content into the default WooCommerce billing and shipping fields. All the fields can be ovvewritten.
To overwrite a field you have just to create a new text/country & state field (or email field in case you would like to overwrite the billing email address field) and then on the overwrite options selction select in which field the content
has to be stored.

PASSWORD OVERWRITE AND WEAK PASSWORD USAGE

Optionally you can overwrite password field too. This can be useful if you want to allow weak password usage. Enabling this special option your customers will be able to register (and reset password on woocommerce reset password page) using any password, the plugin will override the default woocommerce password weakness check.

This special field will be visible ONLY in the register page, checkout register form and optionally in the My account page.

OTHER SHORTCODES

Would you like to display a field value for the current or a particular user? You can just using the [wpuef_show_field_value field_id=”” user_id=”“] shortcode.

A “field_id” must specified and optionally can also specified a “user_id” paramenter. The “user_id” will let you to display a field value for a particular user, if left empty will show field value for current user.

You can also automatically generate html links using the field content. For example, using a field with id c2:

[wpuef_show_field_value field_id="c2"]Test link[/wpuef_show_field_value]

You can also use html code like:

[wpuef_show_field_value field_id="c2"]<img src="http://example.com/example.png" alt="example" /><strong>Test</strong>[/wpuef_show_field_value]

RETRIEVE AND SAVE FIELDS DATA PROGRAMMATICALLY

WPUEF exposes two function:

  • wpuef_get_field($field_id, $user_id = null). The function will return an object containing all the field data (label, values, etc.). To know the object structure you can user
    the special wpuef_var_dump() function as follow:
    $result = wpuef_get_field('c13', 16669);
    var_dump($result); 
    

    The result will be:

    object(stdClass)#803 (7) {
      ["label"]=>
      string(6) "My custom dropdown field" 
      ["field_type"]=>
      string( 8 ) "dropdown" 
      ["required"]=>
      bool(false)
      ["field_options"]=>
      object(stdClass)#807 (2) {
        ["options"]=>
        array(3) {
          [0]=>
          object(stdClass)#782 (2) {
            ["label"]=>
            string(2) "Label string for option 1" 
            ["checked"]=>
            bool(false)
          }
          [1]=>
          object(stdClass)#757 (2) {
            ["label"]=>
            string(2) "Label string for option 2" 
            ["checked"]=>
            bool(false)
          }
          [2]=>
          object(stdClass)#758 (2) {
            ["label"]=>
            string(2) "Label string for option 3" 
            ["checked"]=>
            bool(false)
          }
        }
        ["include_blank_option"]=>
        bool(false)
      }
      ["cid"]=>
      string(2) "c6" 
      ["woocommerce_edit_on_my_account_page"]=>
      bool(true)
      ["value"]=>
      string(1) "1" 
    }
    

    To get the specific user selected value, use the “value” variable. Example:

    $result = wpuef_get_field('c13', 16669);
    var_dump($result->value); //Will print the user selected value for that field.
    
  • wpuef_set_field($field_id, $value, $user_id = null)

that lets you to read/save a field in your theme or plugin (field id value can be read in the visual editor after field creation).

KEEPS YOUR SERVER CLEAN

On user deletion, every file attached is deleted too.

VISUAL COMPOSER

Create and edit all the field you want
WPUEF user extra fieldsUser Extra Fields1477341081_788_User-Extra-Fields

WPUEF user extra fieldsUser Extra Fields1477341083_296_User-Extra-Fields

REGISTRATION PAGE

Registration page example (using Theme my plugin that lets using site theme for registration page instead of the default one)
WPUEF user extra fieldsUser Extra Fields1477341083_400_User-Extra-Fields

Example using the default wordpress page
WPUEF user extra fieldsUser Extra Fields1477341083_503_User-Extra-Fields

MY ACCOUNT EDIT PAGE (FRONTEND)

WPUEF user extra fieldsUser Extra Fields1477341084_644_User-Extra-Fields

WOOCOMMERCE REGISTRATION PAGE

WPUEF user extra fieldsUser Extra Fields1477341085_414_User-Extra-Fields

WPUEF user extra fieldsUser Extra Fields1477341087_171_User-Extra-Fields

WPUEF user extra fieldsUser Extra Fields1477341087_987_User-Extra-Fields

WOOCOMMERCE EDIT ACCOUNT PAGE (FRONTEND)

WPUEF user extra fieldsUser Extra Fields1477341088_305_User-Extra-Fields

WOOCOMMERCE ORDER DETAIL PAGE (ADMIN)

WPUEF user extra fieldsUser Extra Fields1477341088_637_User-Extra-Fields

Extra field displayed on checkout page
WPUEF user extra fieldsUser Extra Fields1477341088_898_User-Extra-Fields

WPUEF user extra fieldsUser Extra Fields1477341089_600_User-Extra-Fields

BUDDYPRESS USER PROFILE PAGE

WPUEF user extra fieldsUser Extra Fields1477341090_585_User-Extra-Fields

WPUEF user extra fieldsUser Extra Fields1477341093_882_User-Extra-Fields

CUSTOM FORM

WPUEF user extra fieldsUser Extra Fields1477341095_960_User-Extra-Fields

OPTIONS TO overwrite FIRST AND LAST NAME WORDPRESS FIELDS

WPUEF user extra fieldsUser Extra Fields1477341096_517_User-Extra-Fields

WPML TRANSLATION STRING PAGE WITH WPUEF DATA

WPUEF user extra fieldsUser Extra Fields1477341097_730_User-Extra-Fields

CHANGE LOG

= 6.5 - 24.10.16 =
* Added new "Country & State" field
* Added option to position extra fields form before the standard fields form on WooCommerce registration page

= 6.4 - 12.10.16 =
* Is now possible use weak password also in woocommerce reset password page

= 6.3 - 29.09.16 =
* Improved "required" managment for already uploaded files on edit pages

= 6.2 - 25.09.16 =
* Added woocommerce password overwrite option

= 6.1 - 20.09.16 =
* Added new option to set field row size insiede woocommerce forms

= 6.0 - 19.09.16 =
* Added new options to overwrite WooCommerce field content. 
  NOTE: If you have configured some fields to overwrite WP first/last name, please reconfigure them.

= 5.9 - 05.09.16 =
* Fixed an issue that may prevent the checkout to be properly completed

= 5.8 - 29.08.16 =
* Added new buddypress options menu on field configurator

= 5.7 - 26.08.16 =
* Added option to store text field content on wordpress First/Last name field 

= 5.6 - 25.08.16 =
* Bugfix on checkout field visibility 

= 5.5 - 25.08.16 =
* Buddypress hide option: Fixed an issue that prevent field to be hidden in edit page
* Field configurator has been sempliefied

= 5.4 - 24.08.16 =
* Improved "required" check on chebkoxes field

= 5.3 - 23.08.16 =
* Fixed an issue that with dropdown menu and blank option 
* Fixed an issue that prevent field to be setted invisible in buddypress profile page

= 5.2 - 20.08.16 =
* Buddypress: prevented an issue that caused multiple fields printing on profile and edit pages

= 5.1 - 18.08.16 =
* Minor bugfix

= 5.0 - 15.08.16 =
* Added the [wpuef_extra_fields_custom_form] that allow custom form rendering

= 4.9 - 13.08.16 =
* WooCommerce: added option to position extra fields before/after billing/shipping address
* Minor bugfix

= 4.8 - 10.08.16 =
* Minor bugfix

= 4.7 - 21.07.16 =
* Fixed black site pages when the plugin was used in wordpress installation without woocommerce

= 4.6 - 21.07.16 =
* Extra fields are automatically hidden on checkout page if an user is not logged. They are automatically showed if the 'create account' is checked.

= 4.5 - 21.07.16 =
* Fixed an issue on Customer Details page (WCCM)

= 4.4 - 18.07.16 =
* Added Chinese (semplified) translation file

= 4.3 - 14.07.16 =
* Added new Settings menu (Settings -> User Extra Fields) to set date format in input text fields

= 4.2 - 06.07.16 =
* Fixed an export issue

= 4.1 - 04.07.16 =
* Minor bugfix

= 4.0 - 01.07.16 =
* Improved shortcode system 

= 3.9 - 27.06.16 =
* Fixed a small issue in the formbuilder.js

= 3.8 - 21.06.16 =
* Dates are now printend according to the selected wordpress date format selected

= 3.7 - 20.06.16 =
* Is now possible show extra fields in WooCommerce Customer Manager customers table, each field in its own column

= 3.6 - 19.06.16 =
* Added compability with WooCommerce 2.6.1

= 3.5 - 13.06.16 =
* Added BuddyPress compatibility

= 3.4 - 07.06.16 =
* Added new option to show fields in admin users table

= 3.3 - 05.05.16 =
* Bugfix on radiobox requirement check in register page

= 3.2 - 02.05.16 =
* Bugfix

= 3.1 - 06.04.16 =
* Improved registration required field check

= 3.0 - 24.03.16 =
* Added "placeholder" for html tags which support it

= 2.9 - 28.02.16 =
* Improve date selector

= 2.8 - 16.02.16 = 
* Samll bugfix

= 2.7 - 22.01.16 = 
* Added option to hide a field in the register page

= 2.6 - 21.01.16 = 
* Added [wpuef_show_field_value] shortcode

= 2.5 - 19.01.16 = 
* Added new "Invisible" field option

= 2.4 - 30.12.15 = 
* Added new "Visible only in register page" field option

= 2.3 - 14.12.15 = 
* Added Month and Year dropbox menu on date field javascript selector

= 2.2 - 10.12.15 = 
* Bugfix

= 2.1 - 02.12.15 = 
* Added some funtions to grant support to WooCommerce Customer Manager plugin

= 2.0 - 01.12.15 = 
* Bugfix on "My account" form submission

= 1.9 - 21.11.15 = 
* Removed "Extra info" title

= 1.8 - 20.11.15 =
* WooCommerce: added option to make extra field editable only on Shipping Address or Billing Address edit pages

= 1.7 - 12.11.15 =
* Https bug fix

= 1.6 - 02.11/15 =
* Added option to set fields to be editable ONLY on Checkout page

= 1.5 - 15/10/15 =
* Bugfix
* WooCommerce: is now possible to edit extra info directly in my account page

= 1.4 - 13/10/15 =
* Bugfix
* Is now possible to include extra fields in WooCommerce Emails

= 1.3 - 05/10/15 =
* Added extra checks on file upload (size and type)

= 1.2 - 02/10/15 =
* Added file extra field

= 1.1 - 22/09/15 =
* Feature added: Is now possible specify if a field can be edited in checkout page

= 1.0 - 19/09/15 =
* Release

Source

Facebook Comments