Note: this is an add-on. You must have at least PrivateContent v4.02 to use it.
Collect additional user dataUser Data boosts your PrivateContent plugin allowing you to create and use unlimited fields to store unlimited data of your customers.
Just enter the field name, choose its type and you’re read to store and let your users insert their own data.
Each field is dinamically validated, so if you set a field as en “US date”, this field will always contain a valid date. Of course you can seat each of them as required in each custom form.
A datepicker is included with date fields and you can use placeholders for textual fields.
Finally custom fields can be added in main users list, giving you the best overview possible to work better and faster!
Create custom formsOnce custom fields have been created, you’re ready to use them to create custom forms. User Data comes with a visual builder, making it very easy!
Create the form and choose which fields to use among ones available. Sort them and choose if each of them has to be required.
You can also use the default PrivateContent fields. Letting users change their password and e-mail autonomously.
New fields can be also used in the PrivateContent registration form.
The add-on seamlessy integrates in it, helping you managing data easily and fastly.
Import system integrationPrivateContent gets once more flexible with import support for custom fields.
Procedure can’t be easier: starting from standard CSV file you’d use for standard import, you’ll add just fields you want to import.
Wizard automatically tells you which CSV column needs to match selected fields. Data will be validated and automatically saved.
Manage and export dataOf course you can manage any new data collected in the PrivateContent admin panel. Editing an user an additional interface will show new fields and you’ll be free to manage them.
Finally, export everything: User Data extends PrivateContent exporting system including every custom fields for each user.
Creating complex user database has never been so easy!
Conditional data restriction shortcodeNeed one more way to restrict things in pages? With this shortcode you can hide/show contents basing on data stored for each user.
Everything is about conditions: contents will be shown is user’s data will be: equal, different, bigger, lower than value set. Finally “contains” option, to search occurrences in data.
But how does it work precisely?
Let’s make a quick example, suppose you want to create create two hidden blocks: one show contents to user having username = test1 and the other one to user containing “test” string in username.
[pcud-cond-block f="username" cond="=" val="test1"] <em>Content shown to user having "test1" as username</em> [/pcud-cond-block] [pcud-cond-block f="username" cond="like" val="test"] <em>Content shown to users having "test" in their usernames</em> [/pcud-cond-block]
Give a try logging in with these two users and discover how is easy to create complex patterns!
User data shortcodeThe simplest way to display the info stored in the database is using the shortcode provided by the add-on. Once logged, users will see their data as plain text.
It’s a great way to create welcome messages or print summary diagrams.
Plus now you can use it also in the Mail Actions e-mails
Walkthrough videosTo make this add-on easy for everyone there are videos explaining each step necessary to setup and use it:
Add-on APIUser Data extends PrivateContent’s API giving you the possibility to retrieve a specific field or all the data of the current logged user.
Just use the related function anywhere in your theme.
See the changelog here