Maximum Character Length Add-On for Profile Builder

How can I limit the maximum number of characters a user can type in a field?

You may find yourself in the situation where you want your users to provide a postal code that is at most 4 characters long, or a description of themselves in less than 140 characters. In these cases the Maximum Character Length Add-On for Profile Builder comes in handy.

So to answer the above question, let me walk you through the 3 easy steps of getting this feature up and running.

Download and activate

icon-150x150First of all, click on the button below to download the add-on. Unzip the downloaded file and copy the contents in the wp-content/plugins directory.

Download The Maximum Character Length Add-On

Please note: The Maximum Character Length Add-On requires Profile Builder version 2.0.5 or higher.

Once the files are moved, head over to the Plugins section of the Dashboard and activate the add-on.

maximum-character-length-1

Set the maximum character length

Once the add-on has been activated head over to the Manage Fields page in Profile Builder. If you select an input field, a textarea field or the default biographical info field you will see that a new property named Maximum Character Length appeared below the other properties. All you need to do is set the desired value, in my case it was 10. You can also modify this value when editing one of these fields.

maximum-character-length-2

See it in action

Too see your work in action head over to the page where you display the register or edit form and type something in the field that has a maximum value set. Did it stop you from typing?

Breaking the barrier

The language barrier that is. I’m sure many of you have tried to translate a WordPress plugin, some even Profile Builder or WordPress Creation Kit, just to find out at the end of the process that it was a difficult thing to do. I’m sure many of you wanted to help out with a translation and did not have the know-how in achieving this.

Moreover, as new updates from these plugins rolled out, the management of the translations would get out of control and the end result would be an incomplete translation that would make the plugins inconsistent.

At this point I’m asking. Wouldn’t it be nice to have a place where translations are accesible, easy to mantain and always up to date with the latest version of the plugins? Well, starting today, for Profile Builder and WordPress Creation Kit there is such a place and it is called CozmosLabs Translate.

CozmosLabs Translate Logo

Translate is a new tool, powered by GlotPress, that is designed as a collaborative work environment where anyone can help with the translations. It has a simple and easy to use interface, where you can edit translations and view their progress.

As certain languages get fully translated, or are close to that point, they will be added in plugin updates, but if you feel confortable using some languages before their official release you can download them in advance.

All you need to do is to register an account and have fun translating.

Profile Builder Free version 2.0 released

After the newly launched version 2 of Profile Builder PRO, we focused on releasing an update to the Profile Builder Free version from wordpress.org.

Profile Builder Free v2 comes with:

  • a completely redesigned interface, more focused on flexibility
  • manage default user profile fields (add/edit/delete)
  • drag & drop to reorder profile fields
  • set a minimum password length
  • enforce minimum password strength (using the built in WordPress strength meter)
  • email confirmation for new users
  • allow users to login with email or username

Profile Builder Free Basic Information

New to Profile Builder?

If you’re looking to have a basic front-end registration for your website, you’ll find Profile Builder Free very easy to set up. It’s shortcode based, allowing you to set up register, login and edit profile forms in minutes.

More functionality (like Extra User Fields (Avatar Upload), Front-end User Listings, Custom Redirects or Multiple Registration Forms) is available in the premium versions.

WordPress Minimum Password Length and Password Strength Meter for User Registration

I’m quite concerned for the security of my site and content if I allow users to sign up with weak passwords.

That’s something we hear a lot from website owners. Chances are, if you run a WordPress membership site that allows user registration, your primary security concern is NOT to allow users to sign-up with weak passwords.

A short or weak password is one of the most used security breach by people trying to hack your site, so you try to avoid that at all costs. Cracking one password may sometimes be enough to lose access to sections or even the whole website, which puts your content, revenue and work in danger.

After hours of research you’ve probably realized that most of the plugins available go only half way. While some offer increased security by allowing you to set a minimum password length, they do NOT posses all the features you would need from a user registration plugin.

On the other side, even though there is a significant list of plugins out there that can help you with some aspects of the user registration part, the big majority fall short when it comes to security.

Wouldn’t it be nice to have an all in one solution that can help you with both the front-end user registration part, but also be able to set security restrictions when it comes to registration forms?

Read more

WordPress Multiple User Registration Forms with Profile Builder 2.0

I’ve set 2 new roles for my site – “sellers” and “buyers”. Each role should have its own registration page with different fields.

I’ve searched for hours for a plugin that will give me the option to do this, but couldn’t find one. Does a plugin like this even exist?

This sounds like a pretty common configuration in membership websites with different role registrations. However, finding a user registration plugin that does this out of the box is where things get hard.

Plugins authors try to offer you workarounds, but the truth is you shouldn’t be required to mess around with the code trying to filter the fields that aren’t relevant on a specific form. Nor be advised to use CSS to hide fields, which of course can break stuff if you need some kind of validation for the extra fields.

Shouldn’t multiple user registration forms with different profile fields for certain roles be more easy to set up using a plugin that was designed exactly for this, to handle the front-end user registration part?

That’s the main reason we made sure that this process is really straight forward in Profile Builder 2.0.

Read more

Profile Builder Pro 2.0 is out! See Full List of Features and Improvements.

pb2.0-logo-red
We’re happy to announce that Profile Builder 2.0 is officially released!

The 2.0 version includes important new features and improvements we know you’ll love:

Profile Builder 2.0 has been rebuilt from scratch into a more flexible and user friendly user registration and management plugin.

1-pb2.0-basic-info-small

Upgrading to Profile Builder Pro 2.0 (from 1.3.x)

All current Profile Builder 1.3.x customers will find the new Profile Builder 2.0 update available in their account page.

You will be able to update to 2.0 without losing any existing information or settings. However we won’t offer it as an automatic update for 1.3.x.

The main reason is that in 2.0, because of the restructuring we had to drop some of the filters from 1.3.x, therefore some of the plugin customizations may not work in 2.0.

However, most of the custom functionality that was added through filters in 1.3 can now be easily achieved using the UI of 2.0.

You will have to manually upgrade to Profile Builder 2.0 following the steps below:
Note: Make sure to create a full database backup first.

Steps to Manually Upgrade to 2.0

  • Access your account page and download the Profile Builder 2.0 zip file
  • Unzip the plugin files
  • (Via FTP) Delete the existing profile-builder-pro folder from the plugins folder on your server (which contains Profile Builder version 1.3.x files).
  • (Via FTP) Copy the new profile-builder-pro folder (containing Profile Builder 2.0 extracted files) to your plugins directory

This way, all your previous Profile Builder 1.3.x settings and data will now be recognized by version 2.0.

Get Profile Builder Pro Today!

People have been pretty excited about this release, so make sure you check out the most comprehensive WordPress user registration plugin, Profile Builder.

Profile Builder 2.0 is Coming! Sneak peak at New Features & Enhancements

Profile Builder is about to get even better. The past couple of months we’ve been working hard to improve and extend its functionality.

profile-builder-2.0-logo
Most of the architecture and UI of the plugin has been rebuilt from scratch for increased usability, focusing on the most essential tasks you would need from an all in one user registration and management plugin.

Since the official release is approaching soon, we thought we’d give you a sneak peak at some of the new things in Profile Builder 2.0.

Read more

WordPress has_term Conditional Tag Shortcode

has_term checks if the current post has any of given terms. The first parameter can be an empty string. It expects a taxonomy slug/name as a second parameter and you can also pass a post ID or object as the third parameter.

It can be useful if you need to list a different message or apply a different css class to your post.

However, if you want to use this inside your content, it won’t work simply because you don’t run PHP code inside the WordPress content area.

has_term shortcode

This is where a simple shortcode can come a long way.

It’s a simple mapping of the has_term conditional tag to the [has-term] shortcode.
It gives you access to:

  • [has-term term=”term-name” taxonomy=”tax-name” value=”true” id=””]
        List this if post has term-name
    [/has-term]
  • [has-term term=”term-name” taxonomy=”tax-name” value=”false” id=””]
        List this if post doesn’t have term-name
    [/has-term]
<?php
/*
Plugin Name: WCK - Conditional Shortcode Based on has_term
Plugin URI: http://www.cozmoslabs.com
Description: Gives you access to the [has-term term="term-name" taxonomy="tax-name" value="true" id=""] List this if post has term-name [/has-term]  AND [has-term term="term-name" taxonomy="tax-name" value="false" id=""] List this if post doesn't have term-name [/has-term]
Author: Cristian Antohe
Version: 0.1
Author URI: http://www.cozmoslabs.com
*/
add_shortcode( 'has-term', 'wck_has_term_shortcode' );
function wck_has_term_shortcode( $atts, $content = false ){
	extract(
		shortcode_atts(	array( 'term' => '', 'taxonomy' => '', 'value' => true, 'id' => null,  ), $atts )
	);	
 
	if ( $value === 'true' ) $value = true;
	if ( $value === 'false' ) $value = false;
 
	if ( !$content || $term == '' || $taxonomy == '' ){
		return;
	}
 
	if ( has_term( $term, $taxonomy, $id ) && $value ){ 
		return $content;
	} elseif ( !has_term( $term, $taxonomy, $id ) && !$value ) {
		return $content;
	} else {
		return;
	}
}

You can also download it from here: Has Term Shortcode Plugin

Limitations

Currently there is no support for multiple term names to be passed inside term=”term-name” (similar to the actual has_term function), although that should be easy enough to implement in the plugin if you want to.

WordPress Creation Kit 2.0.6 and WordPress 3.9

Due to an overconfidence on our part regarding WordPress updates and compatibility issues with our plugins, we failed to test WordPress Creation Kit 2.0.5 with WordPress 3.9 before the official launch of WordPress 3.9.

We are sorry. We should have known better and we will make a habit out of testing our plugins with future versions of WordPress before they are released.

WYSIWYG Bug

Since WP 3.9 updated TinyMCE to the latest version (v.4) and our WYSIWYG editor was still using v.3, trying to initiate the two together causes JavaScript errors and the WordPress Editor and our own WYSIWYG Editor stopped working.

Also, due to the way WordPress loads TinyMCE v.4, we’re not able to use it any longer for our own WYSIWYG editor (the main reasons it took us a full day to issue the update). That is the reason why from version WCK 2.0.6 we’ve switched to CKEditor for the WCK WYSIWYG editor.

You can download the latest version of WordPress Creation Kit from:

  • wordpress.org
  • Your Account page
  • Or wait for an automatic update to be available for both the Free or the Pro, Hobbyist & Lifetime versions

New improvements in WCK 2.0.5 and Profile Builder 1.3.23

We’ve just released an update for both WordPress Creation Kit and Profile Builder plugins. This update adds a couple of improvements and bug fixes listed below.

WCK 2.0.5

wck-pro-icon

Upload Field now uses the Media Manager added in WP 3.5

WCK 2.0.5 release was focused on improving the upload field as well as fixing the bugs reported by our users.

Now uploading media files via the Upload Field from the back-end or front-end (using WCK Front End Posting) of your WordPress sites will be really straight forward.

Features:

  • Upload Field now uses the media manager added in WP 3.5
  • Added progress icon on forms in WCK Front End Posting
  • Now we prevent “Meta Field” and “Field Title” to be named “content” or “action” in Custom Fields Creator to prevent conflicts with existing WordPress Fields

Hotfixes/Bugfixes:

  • Fixed bug in Front End Posting where a filter for posts_where wasn’t removed correctly
  • Fixed bug in Custom Fields Creator that didn’t display “0” values
  • Fixed bug in Front End Posting that didn’t display the right values if the Taxonomy had the label “Categories” (regardless of it’s slug). Now it won’t list the default Categories in WP.

Profile Builder 1.3.23

pb_pro_icon

Profile Builder 1.3.23 is a minor update focused on improving the Admin Approval performance when dealing with large number of users.

We also fixed existing bugs related to the hidden input field and “Remember me” checkbox that wasn’t displaying correctly on the Login page.

Improvements/Bugfixes:

  • Improved Admin Approval performance for large number of users
  • Fixed hidden input field on front-end
  • Fixed “Remember me” checkbox on the Login page

*The latest versions of WCK and PB will be available via automatic updates or you can download them from your account page.

If you’re new to Profile Builder or WordPress Creation Kit, there is a fully functional FREE version you can play with to get a feel of how they can help with your next WordPress project.