mb user profile

MB User Profile

MB User Profile is an extension of the Meta Box plugin that allows you to create register, login and edit profile forms in the frontend. It works similar to MB Frontend Submission, but for the user profile. These forms can be embeded anywhere using shortcode and requires no custom code.

User profile form
User profile form

Custom fields for users, but in the frontend

The MB User Profile extension includes the MB User Meta extension, which allows you to add custom fields to user profile. The disadvantage of the MB User Meta is it works only in the admin area. With the help of MB User Profile, you can create user forms in the frontend where you can edit user information easier than before.

Note that if you use MB User Profile, you don’t need to install MB User Meta.

Unlimited forms, unlimited custom fields

The MB User Profile extension includes 3 shortcodes for 3 types of form: login, register and edit user profile. In each shortcode, you can include any custom fields created by the Meta Box plugin. So, there is no limitation for number of forms or fields in those forms.

For example: you can create 2 login forms using the provided shortcode for a sidebar widget and for the header. You also can create 2 user profile forms: one for general information, one for back accounts.

You can use the shortcodes to display user forms anywhere on your website – whether inside a page content, text widget or within a custom PHP function (use do_shortcode). It’s flexible and user-friendly.

All field types are supported, including not only basic fields, but also advanced fields like wysiwyg, date time picker, slider, or file upload. You can use the MB User Profile to create a very complicated form if you want. Beside, the clone feature works!

Creating user profile form with drag and drop builder

With the help of the Meta Box Builder extension, you can create user profile form without touching a line of code. Simply go to Meta Boxes → Add New and add any fields you want to. Then go to the Settings tab and select “Show meta box for users”:

Please note that you need to purchase the Meta Box Builder first in order to use the builder for user profile. If you already purchased a bundle, then the builder is already in your account. You can just start using it for user profile.

Plugin Features

  • Creates user register, login and edit profile forms
  • Adds custom fields to register, login and edit profile forms
  • Support all custom field types provided by the Meta Box plugin
  • Embeded everywhere with shortcodes
Custom table for WordPress custom fields

MB Custom Table

MB Custom Table is an extension of Meta Box plugin that helps you to save data to custom table instead of the default post / user / term meta table. All meta values are saved in a single row, and each column will be a meta key. This reduces the number of rows in the database which can cause a performance issue when the data grows. And let you have all of your data in one place, so you can easily view, edit, import, export it.

Save custom fields in custom table
Save custom fields in custom table

Why custom table for custom fields?

By default, WordPress uses meta tables for storing the meta data (custom fields). In order to satisfy a wide range of needs, WordPress use a flexible database structure, where each custom field is stored as a row with 4 columns: meta_id, post_id, meta_key and meta_value. While it seems to be fine at first, when your data grows, the number of database rows increase very fast.

Let’s take an example: If you’re using WooCommerce, each order (a custom post type) requires more than 40 custom fields as follows:

Custom fields for WooCommerce orders
Custom fields for WooCommerce orders

Imagine if you run a flower shop, and have 20 orders per day, then WordPress will store 20 * 40 = 800 rows in your database. After 1 month, it will be 30 * 800 = 24.000 rows, for just 30 * 20 = 600 orders.

What if we can store all the custom fields in a single row? Something like in the first screenshot, where each custom field takes only 1 column in the database. Therefore, with the case of WooCommerce orders, you only have 600 rows in the database for 600 orders. Besides, all the information about a single post can be viewed at once.

What are the benefits of this method?

  • Your database size will reduce
  • As all the custom field data is on a same row, your query will be faster and simpler
  • You can view all the data at once using any database management tool
  • You can export all the data easier by exporting only one table

In order to achieve these goals, MB Custom Table extension is all you need.

MB Custom Table provides a simple API for you to create custom tables and store custom fields to custom tables. It works with all field types of Meta Box plugin as well as all meta types (post, user, term). The extension uses a simple syntax to define table and you won’t have to change your meta box definition.

Features

  • Uses WordPress recommended method to create custom tables, which allows you to upgrade table structure anytime.
  • Provides a simple API to define table structure.
  • Works with any meta types: post meta, user meta, term meta, comment meta.
  • Provides an easy way to integrate with your existing meta boxes.
track changes in wordpress custom fields with revision

MB Revision

MB Revision extension for Meta Box allows you to track changes of the custom fields for post revisions: saving, comparing and restoring data from revision. It supports all field types, including groups and provide an easy way to see the changes in each revision.

Compare custom fields on revision screen
Compare custom fields on revision screen

What is a revision?

As WordPress Codex states:

The WordPress revisions system stores a record of each saved draft or published update. The revision system allows you to see what changes were made in each revision – what was added, what remained unchanged, and what was removed. Lines added or removed are highlighted, and individual character changes get additional highlighting. Click the ‘Restore This Revision’ button to restore a revision.

By default, WordPress tracks the changes only for post title and post content. The MB Revision enables the tracking for custom fields as well. If you store a lot of data in the custom fields, and want to see the changes that your users made, this is the extension for you.

Why tracking revisions for custom fields is important?

Because your data is not only post title and post content! For a large websites, creating pages such as landing pages, project pages requires custom data, which are stored in the custom fields. They’re very important that modifying them carelessly might cause a big decrements of leads or sales. So you need to make sure every time you edit, you do it right.

Another situation is when you website has many users that can edit the content. What if someone changes a field while he’s sleepy or distracted? How do you know who did that when it happens?

For those reasons, to prevent unexpected changes in the website content, you need to track revisions for all kind of content you might have.

How does the extension work?

The plugin does 3 things:

  1. Automatically copies the values of the custom fields from the parent post to the new revision when the parent post is updated.
  2. Shows the changes on the revision comparison screen. You will see the changes of custom fields below the post title and post content. If the value is an array (cloneable, group field), you will see JSON-encoded of the array. We think JSON is quite good for human reading. Because we can see not only the structure, but also the real data.
  3. Restores the values of the custom fields from a revision to the parent post when users restore from a revision.

To enable revision support, all you need to do is adding 'revision' => true to meta box configuration. The extension will handle the rest.

Lifetime Bundle

This bundle contains all premium extensions of Meta Box. You only need to pay once and have access to them forever. When a new extension is released, you will have access to it immediately without paying any penny more.

submit posts in the frontend

MB Frontend Submission

MB Frontend Submission is a Meta Box extension which lets developers create custom forms so users can submit posts on the front end of a website.

The extension supports both traditional post fields and custom fields, and you can also embed forms anywhere on your site using shortcodes — with no extra coding required.

meta box frontend submission

Front-End Forms Made Easy

No matter if you’re the website owner or if you’re the user submitting content: everyone gets to breathe a little easier with Frontend Submission.

Create seamless custom forms for easy post submission.
Create seamless custom forms for easy post submission.

Your Fairy Godmother Has Arrived

When you have multiple people submitting content to a website, managing editor accounts and user permissions can be a huge hassle. Having custom details and posts submitted from the front end is a quicker and cleaner solution.

When users contribute their content via a front-end form, the submission can be reviewed from a single location before publication similar to how comments work in WordPress core.

Your contributors’ post submissions will be neatly organized for fast and fearless publication in a way that even the most finicky stickler can appreciate.

It’s all the magic with no wand needed.

Skip the Set-Up

Before MB Frontend Submission, you would have to use extensive custom code to display the form on the front end, and manually control how and where it saves vast amounts of variable data.

Now who has time for that?

With MB Frontend Submission, everything is handled: no extra redirection code.

Just insert the shortcode to add the form and let the extension do the rest.

You can use Frontend Submission to create a flawless, user-generated content system. You’ll be able to relax while details, data and documents roll right in from the front end of your site.

Down to the Last Detail

There are endless ways you can customize your forms to collect all the details you need with a light amount of effort.

Below are just a few ways you can use Frontend Submission to get organized without missing a beat.

Choose the Place and Time

Use Front End Submission to let users submit properties for rent, sale or whatever your business specializes in.

The Map, Image and Video field types are all great ways to show off some real estate – all from a single page.

Let your clients do the work for you and have them submit their property on your site.
Let your clients do the work for you and have them submit their property on your site.

A Penny for Your Thoughts

Leverage crowdsourcing since it’s a great way to compile content, especially when everyone has an opinion. Use FrontEnd Submission to have users submit individual book, movie, album or other kinds of reviews that are displayed with an overall rating.

Use the Slider field type or a number system as well as a Text Area to let your users rate, rant and rave!

Users can click, hold and slide the marker to adjust the value of the field.
Users can click, hold and slide the marker to adjust the value of the field.

Craigslist Who?

The internet is such an amazing way to promote connection, and help facilitate trades and shares: why not create a platform that helps people do both?

Use FrontEnd Submission to let folks post their belongings, giveaways, and even their time or resources so you can help more people connect and get what they need.

From simple to complex meta boxes and custom fields, Frontend Submission does it all.
From simple to complex meta boxes and custom fields, Frontend Submission does it all.

Award for Supporting Role in Post Management

Although it’s built for custom fields and custom meta boxes, MB Frontend Submission fully supports post creation and management as well.

Use MB Frontend Submission to create or edit posts without any limitations.

It’s a blockbuster solution for post submission.

The extension also supports these post fields:

  • ID (in case you want to update an existing one)
  • Status (if you want to auto-publish submitted posts or put them in the review queue)
  • Title
  • Content (using a WYSIWYG editor)
  • Excerpt
  • Date (with a date/time picker)
  • Thumbnail

Need categories and tags? Post taxonomies can be handled by custom fields in the core Meta Box plugin with the taxonomy field type.

To Infinity and Beyond

All field types are supported in MB Frontend Submission.

That includes advanced fields like a WYSIWYG editor, date and time picker, slider or file upload. Even the cloning feature works like a charm.

Flaunt It ‘Cause You’ve Got It

MB Frontend Submission gives you a shortcode that you can use to display your forms anywhere on your website.

Use a handy shortcode to display everything you want without countless hours of coding.
Use a handy shortcode to display everything you want without countless hours of coding.

Whether it’s inside page content, a text widget or within a custom PHP function (by using the do_shortcode), it’s both flexible and user-friendly.

Top Features:

  • Create forms with any fields you want for a tailored fit.
  • Make forms with advanced fields like a WYSIWYG editor.
  • Users can submit the forms you create from the front end.
  • Form submissions are collected in the back end for seamless organization.
  • Users can submit content with an instant status of publish, draft or review.
  • Users can have the ability to create new posts or edit existing ones.
  • Post fields such as title, content, excerpt, thumbnail and more are supported.
  • Meta Box custom field types are fully supported.
  • Forms can be embedded everywhere using shortcodes.

What’s up, Doc?

Have any questions about using Meta Box to help create your online masterpiece?

We’ve got extensive online documentation to help you out with that: everything from examples of code to detailed tutorials.

If you’re looking for a little bit more one-on-one time, our support team will make it happen for you over in the Supports forums. Let us know how we can help you!

custom fields for users in WordPress

MB User Meta

MB User Meta is an extension for the Meta Box plugin which allows you to add custom fields to user profile like user address, user billing info or custom avatar.

user-meta-1

User Profile Made Easy:

WordPress by default offers us a very limited information of user name, email, bio. For a large website with complex data, that is not enough. For example, if you have a real estate website, then you might need more information about brokers:

  • Contact info: mobile phone, work phone
  • Testimonials
  • Real images
  • Projects that they completed

If you run an e-commerce website, the information about sellers is critical. It includes but not limited to:

  • Verification status from the website owner
  • Location: address, city, state
  • Contact info: hotline, mobile phone

Without a tool to handle user meta, developers have to spend a lot of time writing custom code to add/edit user meta. MB User Meta will help you save your time on coding and maintenance the code, keeping you focused on the logic.

Features:

  • Uses native user meta API of WordPress, which means you can query, get or edit it with other code as well.
  • Uses the same UI from WordPress
  • Lightweight
  • Uses a wide range of available fields for users with a vast amount of options.
  • Uses the same syntax of Meta Box when working with user fields. No more learning curve!

Screenshots: