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.

WordPress 4.0, What You Need to Know

wordpress-4.0-benny
WordPress 4.0 “Benny” is now officially out and available for download.

As with every major WordPress release it’s a good idea to first get a glimpse at all the new features added to make sure you use them at full potential.

In that sense here’s what you need to know about WordPress 4.0:

Read more

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.

Show Custom Fields in WordPress

Show Custom Fields in Theme

How to show custom fields in WordPress is one of the hardest thing to understand by non-technical users.

By default, WordPress gives you the possibility to add custom fields directly from the UI.

There are also a lot of plugins that let you add advanced custom fields like inputs, check-boxes, selects, etc.

However, almost all of those solutions fall short when it comes when you want to show custom fields in your template.

Show Custom Fields Using Code

The default way to show custom fields in WordPress would be to:

  1. Open the single.php or page.php template file from your theme (via FTP or locally)
  2. Find the_content function so you can list your custom fields after the actual content of the post or page
  3. Use the get_post_meta function to list custom fields

It doesn’t sound to complicated, but you’ve lost a non-technical user at opening single.php

This is how your page.php could look if you wanted to show two custom fields, book title and book ISBN code.

< ?php
/**
 * The template for displaying all pages
 *
 * This is the template that displays all pages by default.
 * @subpackage Twenty_Thirteen
 */
 
get_header(); ?>
 
	<div id="primary" class="content-area">
		<div id="content" class="site-content" role="main">
 
			< ?php /* The loop */ ?>
			< ?php while ( have_posts() ) : the_post(); ?>
 
				<article id="post-<?php the_ID(); ?>" < ?php post_class(); ?>>
					<header class="entry-header">
						<h1 class="entry-title">< ?php the_title(); ?></h1>
					</header><!-- .entry-header -->
 
					<div class="entry-content">
						< ?php the_content(); ?>
 
<!-- Let's show our custom fields here -->						
 
< ?php 
 
	$my_book_title = get_post_meta( get_the_ID(), 'book_title', true);
	$my_book_isbn = get_post_meta( get_the_ID(), 'book_isbn', true);
 
	if( ! empty( $my_book_title ) ) {
		echo '<h3>Book Title: ' . $my_book_title . '<h3>';
		echo '<p>ISBN: ' . $my_book_isbn . '</p>';
	}
 
?>
 
<!-- End showing our custom fields here -->						
						< ?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
					</h3></div><!-- .entry-content -->
 
					<footer class="entry-meta">
						< ?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '' ); ?>
					</footer><!-- .entry-meta -->
				</article><!-- #post -->
 
				< ?php comments_template(); ?>
			< ?php endwhile; ?>
 
		</div><!-- #content -->
	</div><!-- #primary -->
 
< ?php get_sidebar(); ?>
< ?php get_footer(); ?>

It’s no rocket science and really simple to pull off.

The problem starts when you try to do more complicated stuff, like groups of custom fields (metaboxes), repeaters fields and groups, connect posts using custom fields.

Show custom fields using Swift Templates without code

Listing your custom fields in WordPress is one of the simplest way to transform your website from static pages to a proper CMS. You can use it for:

  • Adding extra information on your posts and pages
  • Showcasing your team
  • Listing testimonials
  • Simple property listing
  • Custom product pages
  • Custom landing pages
  • Listing company services
  • And pretty much anything that might require some extra information

It’s possible to create all of the above without being a developer in three steps.

Read more