New update for Profile Builder Pro available!

The first major update since the launch of Profile Builder has finally arrived!

For those who just met up with WordPress, Profile Builder is WordPress registration done right; it lets you customize your website by adding a front-end menu for all your users, giving them a more flexible way to modify their user-information or to register new users.

This update-pack was long awaited by a lot of users, especially since it took us a while to code it, test it and release it; so from now on we will focus mainly on more, smaller updates rather than fewer and bigger ones. But enough with the technicalities, let’s see what we got:

1.) New custom fields:

  • Datepicker
  • Country Select
  • Timezone Select
  • “I agree to terms and conditions” Checkbox

2.) Addons:

New features (from now on) will come as an addon pack, meaning they are present in the plugin core, but not active until you activate the one(s) you need. They can be found in a side-tab named “Addons” (intuitive, isn’t it?). Here you can activate whichever you need, and once active it/they will be listed in the side-tab also. This is done so for those who don’t need it, so it won’t complicate their experience with Profile Builder.

The addons added this update are:

  • User-Listing
  • Custom Redirects

The User-Listing feature is basically a short-code, [wppb-list-users]. Once added, head over to the back-end and activate the addon (if you haven’t done so already). There, under the User-Listing tab you will find some settings, regarding user-listing options. These set by an administrator will become the default settings in the front-end for every visitor/user to see. They can be temporarily overwritten by the visitors (locally), if they wish to do so, but they will revert to the settings the administrator saved once they close and reopen their browser.

The Custom Redirects are just that: you can set up the pages a visitor sees after he registered or logged in or if he tries to access the wordpress login page or the wordpress register page. Besides the fact that you can activate the “Custom Redirects” addon, you can also chose which of these four “actions” to activate (individually).

3.) Register a user with a certain role:

The old register shortcode was [wppb-register], and after registration the user created was (by plugin default) subscriber. I used the expression “plugin default” because it didn’t use the settings set up in the back-end of your wordpress installation, it just registered the user as subscriber.

But now this downside was taken care of: when placing the register shortcode, be sure to add the role=”user_role_name” parameter next to it, like so:
[wppb-register role="user_role_name"].

Thus, to register every new user as an editor, just use the following shortcode:
[wppb-register role="editor"]

Don’t worry in case you get it wrong, this won’t create a new user-role. Instead it falls back to the wordpress role set up in the back-end, and in case something should happen (not set up, or what not) it falls back to subscriber.

4.) More translations:

  • norvegian (thanks to Havard Ulvin, [email protected])
  • czech (thanks to Martin Jurica, [email protected])
  • dutch (thanks to Pascal Frencken, [email protected])
  • spanish (thanks to redywebs, www.redywebs.com)

We would also like to thank for anyone else who sent their version of the localized Profile Builder, and apologize we didn’t mention them here, but fear not: they are still listed in the readme file!

Last but not least thanks to all our users, who suggested really cool ideas, that were implemented in these new features, with the rest to come in the next update(s).

UPDATE:
Apparently there were some hidden bugs, one where the user tried to register and kept getting the “you need to agree to the terms and conditions before signing up” message even though there was no active Terms and Conditions checkbox. The second one was in the redirecting process after registration; it didn’t redirect all the cases (both when a user signs up and when an admin creates a new user). Both of them are fixed and version 1.1.5 was issued.

Profile Builder Beta

There’s a new version of Profile Builder WordPress plugin. It features the following new features:

  • New interface
  • Create Extra User Fields (like birthdate or education level)
  • Add avatar upload for users and automatic integration with any theme that uses get_avatar()
  • Shortcodes for login, register and edit profile to use in pages and widgets.
  • Select what fields appear in the register and edit-profile pages.
  • Select if the admin bar should be present on the front end for user-groups.
  • Select if to use the default css or not.

You can sign up for the beta from this page: Profile Builder beta

The new interface was borrowed from the awesome plugin OptionTree created by Derek Herman

SVN EOL and the WordPress.org repository

As you might now we’ve recently released Profile Builder e front-end registration, login and edit profile plugin.

All went well and we’ve got proper feedback. Apparently people liked the idea.

However, when the time came to put it on the repository things started to get weird. For reasons beyond my understanding, the profilebuilder.php and uninstall.php files were converted to Mac EndOfLine style once uploaded to the Repository (I’m a PC user). Because of this the plugin install would fail and didn’t even appear in the plugin listing in the backend, which is to be expected since the lines were all scrambled up.

After a bit of digging around I found about a SVN property called svn:eol-style that, when set to “native“, allows automatic conversion of end-of-lines, depending whether you are on Linux or Windows. Apparently this isn’t setup by default when you install Turtoise SVN.

To get is sorted you need to add some code to the config file in subversion.

Read more

Professional WordPress Plugin Development review

It’s been a while since I’ve reviewed books on this blog and I think it’s about time to start doing that again. And I couldn’t have chosen a better book to start with then “Professional WordPress Plugin Development” written by Brad Williams, Ozh Richard and Justin Tadlock.

This is the book I’ve been waiting for ever since I started to work with WordPress 3 years ago. As a theme designer and developer you really have a lot of documentation online. However, the instance you need to do some wild things with WordPress you realize there just isn’t enough information to go on. I’m talking about stuff like plugin security, proper way of handling plugin settings, ajax in WordPress, cron, the rewrite API and developing for multisite.

Read more

wp_nav_menu shortcode

Along with WordPress 3.0 we now have access to the really useful wp_nav_menu functionality. We can now create our own menus without resulting to several plugins or tricks.

Another cool thing we can do with this new menu is build the sitemap. I was in need the other day of a plugin that would generate a sitemap page (something like an archive page). Not an xml sitemap, just a standard page from where the visitors of the site could navigate more easily. The best solution appeared to be an WordPress menu shortcode.

Since I couldn’t find something like this I realized that I could use the wp_nav_menu function and built a shortcode to insert it into my page.

Read more

The new Smarter and WordPress 3.0

As you all know, WordPress has made the 3.0 transition, which brings the long-awaited merge of MU and WordPress and a lot of new features to the table.
Trying to keep up with the goodies we developed a new version of Smarter, which runs smooth on 3.0 and takes advantage of the new feature list.

A Smart WordPress 3.0 Theme

As mentioned before Smarter theme was designed as a powerful CMS for company websites. It’s a business wordpress theme, with a SEO friendly structure.

This being said, here are some of the new things that Smarter 2.0 has to offer.

The News Items was implemented using the custom post type feature from WP 3.0. Now, adding and editing news is simple and straight forward, leaving no room for confusion.

The custom navigation menu has been set as the theme default menu, so now you will be able to insert and organize things like pages, categories, news or custom links in your theme menu.

Smarter also comes with a big package of different color child themes, giving you the option to choose the right color range for your business.

In case you’re aiming for a multilingual website, Smarter 2.0 has been tested and works great with WPML plugin.

Smarter Theme Options, which let you customize your site looks, comes with a lighter interface which includes all the options from the previous version. So you have options like: selecting between multiple theme layouts, uploading a header image, editing the featured slider page etc.

To find out more about Smarter 2.0 and it’s new features check out the screencast below:

Pricing

For 25$ you can purchase Smarter 2.0, which includes all the functionality of the old version, plus the new features mentioned before. The zip also includes the psd files and the color child themes. Being released under a GPL license, Smarter can be used on an unlimited number of websites.

previewAdd to Cart

Support

If you have any suggestions or questions regarding the new version of this theme, please visit our forums (http://cozmoslabs.com/forums/).

Cozmoslabs forums

It’s been really difficult to keep track of bugs and requests for the free Themelets I’ve released. There are over 380 comments related to the free themes and since I have plans in the future to release more a forum sounded as a good idea.

Besides support for the themes I hope to discuss any issues you might have with the code snippets found on the site.

So without further ado I here by present you the Cozmoslabs Forums.

jEdit – Programmer’s Text Editor

jedit

Since version 2.0 Aptana stopped supporting their own fork of the Eclipse PDT I’ve been searching for another editor. I got feed up with how slow it is, all the bloatware, installing the PDT was made me loose an entire day and I honestly believed there had to exist a better editor for Windows.

I must have lost several days searching and testing different editors!

Read more

How To Create a WordPress Theme – a tutorial series by Ian Stewart

Have you ever wanted to create your own WordPress theme? If yes then you must know of all the tutorials out there. The problem is that most of them are incomplete. But not any more!

Ian Stewart from ThemeShaper released, what I consider, the best step-by-step tutorial series for those who want to learn how to build their own WordPress theme from scratch.

In only 11 individual lessons this WordPress Themes Tutorial is going to show you how to build a powerful, up-to-date, WordPress Theme from scratch. As we go along I’ll explain what’s happening including (for better or worse) my thinking on certain techniques and why I’m choosing one path over another.

Here’s the list of features your finished theme will have:

  • All the search-engine optimization you’ll really need
  • Including google-supported Microformat markup
  • Valid and logical semantic markup structure than can be used to create ANY layout
  • Smart default CSS layouts
  • Dynamic Body, post and comment classes
  • Separated trackbacks and threaded comments
  • 2 widget areas coded to disappear when they’re empty
  • And all the typical WordPress stuff you expect from a theme

If you’re still not convinced… well…you should still read them. Here are all the links to the tutorials!