Bulk Manage WordPress Sites From 1 Location

Just came across the excellent FREE software “InfiniteWP” via a Yoast post on Facebook. I’ve got WordPress Service Contracts setup with some web design clients of mine whereby for a small yearly fee I keep their core WordPress systems and installed plugins up to date. This helps keep their sites secure, fast and modern. Previously, I would have had a plugin on their sites that notified me via email whenever there was a new version of WordPress or any of the plugins installed on a site and I’d have to go login and upgrade or sometimes manually upgrade via FTP. With 24 sites (currently) to manage that turns into a fair bit of work.

Installing InfiniteWP (as a PHP application on my own local server) and adding my clients sites to it now enables me to bulk update plugins, themes and WordPress core from one location right on my own PC in pretty much 1 click! The system requires the InfiniteWP Client plugin to be installed on all sites too which is a bit of hassle but only needs to be done once to create the connection.

The software also handles Backups, Groups and other functionality via paid add-ons..

Leon

WordPress Gravity Forms Plugin Case Study

The WordPress Gravity Forms plugin for constructing complex forms easily on WordPress based sites has been my forms plugin of choice for a few years now ever since I graduated from the clunky and under-powered Contact Forms 7. The value of Gravity forms was highlighted to me on a recent job when I had to rebuild an existing old site with WordPress. The only catch on an otherwise straightforward project was that the client needed to keep his elaborate Quote form.

This quote form basically asked the website visitor for the number of windows in their premises and the dimensions of each one before supplying a quote live on the form page and for 3 different styles of shutter! It also gave quotes for optional extras for each style… Finally the visitor had the choice of emailing the whole quote to themselves. A lot of dynamic field creation based on user choices and some live calculating to be done too. Lots to do!!

I knew the power of Gravity Forms and was kinda confident but it turned out to be a big job that needed all of the plugins power and some revisiting of maths formulas from my school days! I also needed to contact Gravity Forms support for advice and as usual they were quick and helpful. Kudos to Rob there.

Here’s what I needed to do:

Inches to Millimeters Conversion

My client needed dimensions in (mm) so the form needed to provide a way for visitors to easily convert their inch measurements if that’s all they had. I added a converter which was simply a ‘number’ field which allowed inputting of inches then another corresponding number field that automatically calculated the (mm) as below. I also added a Radio field above this that asked whether people needed help converting or not and if they did, only then would the converter show. This was made possible by Gravity Forms’ excellent ‘Conditional Logic’ function:

conversion

Number of Windows

The visitor can pick their amount of windows from a drop down list. That’s the easy bit. But this form had to then dynamically create both Width & Height fields for whatever number they chose. I achieved this using a pile of number fields and some more Conditional Logic. Basically, show 3 width & height number fields if the number of windows chosen is greater than 2, etc.. Here’s an example:

window-number

The Main Quote

After gathering all the window dimensions, it’s time to provide the total of the quote, live on the page. For this I used a Gravity Form Product Pricing field with Field Type = ‘Calculation’ which basically takes all the window dimensions and multiplies them together then ads each window area then divides by 10, multiplies by a pricing unit and divides the whole lot by 100 to get the quote in euros! Same process for the other style windows. See below and take special note of the length of that Formula box:

total

Extras Calculation

There were some extras offered on the main quote above. I done that by adding another Pricing field and doing something similar to the above. It takes the total from above and multiplies it by a percentage pricing unit to give the additional extra amount.

Email Quote

This was the final and easiest bit. Back to simple form functions and asking for basic visitor details, ie – name, email etc so that the quote details could be sent to the visitor’s email address.

Notifications

Normally I don’t bother formatting the Gravity Form notification emails. The default ‘All Fields’ option is usually adequate but this lengthy form required a bit of attention to detail. Both the visitor and client needed to get the quote results in a tidy email they could easily refer to and understand and the default notification options just didn’t cut it. See below for the visitor’s notification format I came up with using headings and merge fields:

notification

The final live Quote Form is available to view here for anyone interested in seeing it in action:

www.Shutters.ie

Leon

How To Change Your WordPress Admin Password via phpMyAdmin

If you’ve got a WordPress site, chances are you’ll get locked out of your admin at some stage whether it be a hacking issue or just plain forgetfulness. First step is to use the ‘forgot password’ function on the WordPress login screen but if you’re hacked or no longer using the email setup in WordPress – General settings then this won’t work.

The way I normally retrieve/reset passwords for myself or clients is to go into the hosting control panel’s phpMyAdmin section and do it manually in the database. Not for the faint-hearted I guess but not that hard when you’re walked through as I’m about to do!

Step 1:

Login to your hosting control panel at something like http://www.yourdomain.com/cpanel and click the phpMyAdmin icon under “Databases” as below:

phpMyAdmin

Step 2:

In phpMyAdmin, choose your WordPress database name top left then click on the “wp_users” table in the resulting table list to bring up a list of user accounts. There will probably be only one user for most people.

Step 3:

Click the “Edit” link on the user you want to change the password for.

Edit User

Step 4:

On the edit user screen, scroll to the “user_pass” row and type/paste in your new password then select “MD5” from the Function dropdown then “Go” at the bottom to save the new password in the database. This encrypts the new password.

Change WordPress Password

That’s it. You can now go back to the WordPress login screen and enter the new password and you should get in fine.

Leon

 

 

Using the WordPress Plugin SVN Repository. Simply!

I’ve just managed to get my first WordPress plugin approved and added to the official WordPress plugin directory which is cool for me. It’s nothing major, mainly something to help my own clients but useful for anyone who uses WordPress and finds it hard to do some of the most common functions. You can view/download it below. Please rate it!:

http://wordpress.org/extend/plugins/help-menu/

Now simple as it is in function, it was no easy feat getting the plugin written, approved and added, with plenty of standards to adhere to and processes to be learned. For example I found out that you can’t import or host content on your own site that’s part of a plugin. You need to include all files in the plugin folder. I was hotlinking to files on my own hosting!

The trickiest part by far was figuring out how to upload the files to WordPress. They have a complex system for doing that called SVN/Subversion which is a version control system. The official WordPress help on how to manage this side of things is poor. They expect you to use command line to get it done which I’ve no clue about. After some googling and reading of WordPress support pages, I found a program called TortoiseSVN which has a graphical user interface. Much handier to use. Here’s how:

  1. After downloading and installing TortoiseSVN, create a folder on your computer to house your plugin files. I called mine SVN.
  2. TortoiseSVN is installed as Windows shell extension so there’s no program to run as such, it’s all right-click based. If you right-click on the SVN folder you created above and choose “Create Repository Here” you can get everything set up automatically.
  3. Once you’ve done that if you again right-click on the SVN folder and choose “SVN Checkout” you’ll be able to download the typical wordpress plugin folder structure created for you when the plugin was approved which comprises of 3 folders – Branches, Tags and Trunk. This checkout process will ask for the url to your plugins repository which will have been emailed to you on approval. Mine looks like this – http://plugins.svn.wordpress.org/help-menu/
  4. You can now add your plugin files (locally) to the newly created sub folder in the SVN folder which will me named according to your plugin name. Mine is “help-menu”. The plugin files (not folder) go directly in the “trunk” folder and a copy of them should go in a sub folder of “Tags” named with your plugin version, “1.0” in my case.
  5. Once you’ve added the plugin files you can now upload them to WordPress by right-clicking the plugin folder in SVN and choosing “SVN Commit”. You’ll be asked for a username and password at this stage so put in your WordPress.org login details.
  6. That’s pretty much it. The WordPress SVN should auto-update in a few minutes and your plugin will be live and ready to download!

Resources:

Using Subversion with the WordPress Plugins Directory
http://wordpress.org/extend/plugins/about/svn/

FAQ about the WordPress Plugins Directory
http://wordpress.org/extend/plugins/about/faq/

WordPress Plugins Directory readme.txt standard
http://wordpress.org/extend/plugins/about/readme.txt

readme.txt validator:
http://wordpress.org/extend/plugins/about/validator/

Leon

Popular Ways to Extend Your WordPress Site

So you’ve had a basic WordPress site built for you (possibly by me!?) or put one up yourself and you’ve got your design in, pages, images and blog/news posts up and you’re pretty happy with how it all looks. Did you realise you can add to the core WordPress functionality by installing plugins to make it do almost anything you can imagine? For me, that remains probably the best feature of WordPress along with it’s ease of use.

Wordpress Plugins

So what extra things might you want WordPress to do?

Send Newsletters

Capturing email address from your website and building a database of contacts then keeping in touch with them or sending offers etc is an excellent way to market and this plugin is probably one of the most popular WordPress additions requested by my clients:

Reverbstudios.ie/706/wordpress-newsletter-plugin-review/

Sell Stuff

All business have something to sell. If it’s products then it makes sense to sell them off your own website. This plugin will do all you need including show categories, add postage, paypal and credit card payments etc..:

Reverbstudios.ie/868/wordpress-shopping-cart-plugin-review/

Capture Data & Details

It’s highly recommended that you have some kind of conversion form on your website, ie a form that gathers information from visitors either automatically (browser, operating system, referring site, etc..) or manually by asking them questions. For businesses that are service based these kind of forms can be made take a payment or deposit too:

Reverbstudios.ie/1787/gravity-forms-wordpress-form-plugin-review/

Contact me if you you’d like any of this functionality on your site.

Leon

Add a Surcharge Field to Gravity Forms to Cover Paypal Fees

Paypal remains probably the handiest way to pay for and get paid for products and services but having just done my taxes for last year, I can see that the fees I had to pay for accepting Paypal payments from clients are getting pretty significant. I’ve decided to ask people if they’d like to pay these fees or not rather than forcing it on them and I’m only asking for 50% of the fees to be paid considering both seller and buyer are benefiting from using Paypal. Fair?

The first couple of things that need to be said are these:

  1. Paypal may not like people adding surcharges to cover their fees. In fact it’s probably against their policy. I don’t know why because they would make more money.
  2. People paying for services and products may not like to see extra fees added on checkout.

Nevertheless! Here’s how to add a field that automatically calculates Paypal fees for a customer entered amount.

You’ll need a developer licence for Gravity Forms Wordpress forms plugin for this so you can grab their Paypal Add-on. A developer licence is well worth it for this excellent forms plugin. They have some other great add-ons too. See my review.

Step 1

Add a new gravity form with whatever basic informational fields you want the customer to fill out, typically Name, Phone, Email & Item just so you’ll know who’s paid and for what.

Step 2

Add 2 “Product” fields from the “Pricing Fields” menu, the first of which should be configured to take a user defined price as below. It can also be a set price as opposed to user defined:

The second Product field is the tricky one. Some maths skills are needed! This field needs to be configured as a Calculation from the “Field Type” drop down menu. In the “Formula” field I inserted the “Payment Amount” merge tag from the first Product field above. Then I added the rest of the formula to calculate the % fee as below. You’ll need to visit the Paypal Fees web page to see the exact fees in your country and for the monthly incoming Paypal volume you have personally. For me it’s 3.4% + 0.35 cents. Also remember that I’m dividing by 2 here because I’m only asking for clients to pay 50% of the fees. You can leave that out if you’re not as generous as me. Here’s the formula and setup screen:

(  ( {Payment Amount (Euros):11} * 3.4 / 100 ) +0.35 ) /2

Step 3

Add a “Total” pricing field at the end too just so people can transparently see how the fees were added.

Step 4 (Optional)

In my form, I’ve also added a “Radio Buttons” field from the Standard Fields menu which I’m using to ask the client whether they want to bother paying any of the fees or not. I don’t want to force extra payments on anyone but the addition of this field will help sort the nice clients from the not so nice ones maybe!? With this field added, you need to go into the advanced settings of the second “Surcharge” pricing field and turn on “Enable Conditional Logic” to only show the surcharge field if people have chosen “Yes” to paying the fees. See below:

Here’s a link to my form so you can see how it all comes together:

ReverbStudios.ie.Payments

Leon

 

WordPress Commercial Plugin Affiliate System

We all like to make a bit of ‘automated money’ right? I’ve been on this affiliate scheme with Tribulant, a South African web development company that specialises in commercial WordPress plugins. I used some of their plugins below both on my own sites and clients’ and was so impressed with them I wrote some reviews to spread the word. The reviews got a fair few hits and then Tribulant started this affiliate scheme in conjunction with Post Affiliate Pro so it made sense to try monetise my reviews:

WordPress Newsletter Plugin

WordPress Banner Ads Plugin

WordPress Shopping Cart Plugin

Out of all the affiliate schemes I’m currently running or have run in the past, none come near as much monthly income as I get through Tribulant. Their 30% commission is pretty generous and payouts are prompt with no minimum withdrawl amount unlike most other schemes.

So I’m just spreading the word, no strings attached. It doesn’t matter if a ton of people sign up from here, it’s not competition for me.

So Sign up now, (it’s totally FREE) and link to some of Tribulant’s products and see how much you can make!

Leon

Commercial WordPress Themes

Commercial design templates, as opposed to free ones or custom made designs, are an excellent way to get a professional and modern looking website up and running with minimum cost and time. Having previously used only free wordpress templates I found the quality a bit poor at times and some templates even had viruses embedded. Support was usually lacking too if you encountered problems.

With commercial themes costing from only about €25 up, I’ve found variety, quality, functionality and support excellent. Modern commercial themes usually come with 1 click install, easy to use options screens and dummy content install files so you can get up and running quickly, leaving only some small customisation work and content addition/organisation.

Having used a lot of commercial theme sites, I’ve settled on theses big, well known three:

Elegant Themes

ThemeForest

WooThemes

StudioPress

ThemeFuse

Have a look at their template demos above or some of my most recent web projects for design examples.

Get in touch with me if you’d like help implementing a new template for your WordPress site.

Leon

VPS Instability Issues & Really Simple Captcha

For the last few years I’ve been having an annoying issue with my WordPress sites on VPS hosting. I’ve gone through 3 different VPS/Cloud hosts and the problem remained.

The problem was basically to do with server stability and uptime. My sites were unresponsive and the server was going down intermittently. Server CPU usage was up and I seemed to be using way more space than seemed right for the files I’d uploaded.

The issue was compounded by the fact that I’m not that well up on VPS management and the hosting companies only support VPS issues for a fee! Recently, I had my current host LetsHost.ie tell me that I reached my Inode limit which is basically the number of individual files and folders you can have on a server. Neither of us could understand why the limit was reached as it meant I must have millions of files hosted which didn’t seem possible for the sites I was running. My actual disk space usage was only 50% too.

Turns out that a couple of wordpress plugins on one of my main sites, “Really Simple Captcha”, and Tribulant’s Newsletter plugin had conspired to create millions of individual files in the captcha “tmp” directory. I upgraded the newsletter plugin and deleted the tmp directory files (had to use SSH) and I gained back nearly 100% Inodes and 25% disk space and so far server stability has been fine.

More info on the problem can be found here.