WordPress › WP Missed Schedule Fix Failed Future Posts « WordPress Plugins

Missed schedule. Future Posts Not Being Published on WordPress

Scenario

We recently updated our WordPress version, or we did install and configure W3 Total Cache to be using Object Cache feature. After these actions whenever we schedule posts for future publishing they never get published. If we check the post we see an error message, saying that the post didn’t get published: Missed schedule.

Missed schedule error
‘Missed schedule’ error message for scheduled posts not being published.

Missed schedule Problem

There can be different reasons why we are experiencing this issue, but the most common ones are:

  • The site has really low traffic
  • WP-Cron is not working correctly
  • W3 Total Cache is using object cache

Solution for Missed schedule

In order to solve this problem there are two possible solutions.

(more…)

Read More

contact_form_7

Contact Form 7 AutoResponder Setup

Contact Form 7 has been probably the most popular form plugin for ages. This plugin provides an easy way of building forms and embedding them anywhere using shortcodes. There are a lot of addon plugins to extend the functionality of the plugin, adding reCaptcha, logging form submissions on the database, using exernal mail server, etc.

If a visitor of our site uses our contact form to send us a message it’s a good idea to send him an email greeting his action. This autoresponder will send an automatic email that will make us look more professional, and we can take advantage of this email to promote some of our products, or just send some interesting info for the user.

Contact Form 7 comes with the possibility of sending two emails on the form submission. Normally we set up the first email to be sent to us, with the form fields attached to it. We can make use of the second email to send an email to the user who is submitting the form. In order to do that we need to modify our contact form and check the Mail(2) checkbox. After checking this option a new settings sections will show up. In this section we need to configure the email to be sent to the user submitting the form, and personalized the content of the message. Please find below an example:
(more…)

Read More

Manage Multiple WordPress Sites with InfiniteWP

Manage Multiple WordPress Sites; a nightmare

If you have to maintain more than one WordPress site regularly you already may know that having to go through every single site, login in, checking for updates, etc can be a really painful task. On the past I used to maintain more than 50 WordPress sites for different clients and I facing one of the most time-killing tasks when it came to updates, install plugins, etc.

Some time ago they started appearing different tools to solve this problem and make our live easier for WordPress administrators and developers. Originally we had the WordPress MU , that then got merged into the Wordpress core, that it allowed us to create a network of blogs. Although it was a great improvement, it wasn’t enough.

Most of the time we need to maintain sites that are spread across different hosting providers, with completely unrelated content and so on. The market was still lacking another tools to be more flexible and easy to use. This is where it came InfiniteWP. (more…)

Read More

301 Redirection WordPress (using W3 Total Cache)

Scenario

We did a complete redesign of an old static webpage and move it to a WordPress site, or just moved from one domain to another, and we have a bunch of old URLs pointing to content that is no longer existing under that URL. This is throwing a 404 error and confusing the user. The SEO impact of this problem is huge, because web crawlers will not find the content they were expecting, just some 404 landing page, and it may sink our webpage in the Google ranking.

301 redirection working on WordPress using W3 Total Cache

 

Problem

With the new site we have different URL structure and the old one is no longer valid. We need to specify a set of rules to redirect the old content URLs to the matching new ones. This is critical for user experience and SEO purposes. If the search engines visit an old URL and they find a 404 landing page it will index that old URL taking into consideration the new invalid content.

Solution

In order to fix this problem we have to specify a set of rules in our htaccess file. The htaccess file will be the one in charge of taking care of the redirections of the old URLs to the new ones. The kind of redirection we need to use in order to be search engine friendly is the 301 redirection. This specification is standardized these days by all the search engines as the best practices to specify that a content has been moved permanently to a new URL. (more…)

Read More

Gravatar images not showing on WordPress theme comments

Scenario

We have been using a WordPress theme for some time without any problem, and changing the site to be using a new one will result on the default gravatar image not showing correctly on the comments.

Find below an example image of the broken gravatar images.

Gravatar images broken on WordPress theme comments

Problem

Most of the WordPress themes use the native function get_avatar to display the avatar images of the users that comment our posts. Some WordPress themes have a wrong implementation of the call to get_avatar function and the usage of the functions is not working as intended. Probably the error has been there for ages, but nobody notice it before because the Gravatar server was showing the image, even with the wrong arguments attached to the GET url.

An update to Gravatar made the incorrectly implemented themes to fail, making the user avatar images to show as broken on the comments and impacting negatively to the user experience of our site.

Solution

After some research I found out that the solution is to change a few lines of code on your WordPress theme. Here are the steps to follow to fix this problem.

(more…)

Read More

Plugins Development Update

It’s been a while since I last updated the website and the plugins. I’ve received a lot of feedback of my plugins, some change requests, bugs, and general comments about the code.

I would like to say that I really appreciate all the comments about my plugins. It makes me feel good knowing that the piece of code I wrote for the community is currently being used.

I’m going to make an effort to update some of my plugins to work with latest versions of WordPress and bbPress and try to do some of the work specified on the TODO list.
(more…)

Read More

WordPress › bbPress Protected Forums « WordPress Plugins

bbPress Protected Forums Plugin

You can download my WordPress Plugin: bbPress Protected Forums clicking here.

What does the plugin?

bbPress Protected Forums adds a metabox, shown while editing a forum, that allows you to disable new topic creation for determined user roles.

The plugin is perfect for those situations that you may want your users to see the list of topics of a forum but don’t want them to create new topics.

Plugin fully compatible with bbPress 2.x

How do I install de plugin?

Just download it from the WordPress plugins repository, activate it and enjoy!
(more…)

Read More

WordPress: Broken plugins, missing sidebar and widgets gone after migration

Scenario

It is very common that we want to change our WordPress URL. For example when moving from development stage to final public release.

Problem

WordPress makes an intense use of serialize in order to make array persistent in the database. Serialization converts Arrays to Strings and stores some information the Array, such as the length of each value. If we make a massive URL update with the new URL we may look our plugins stop working, sidebar disappearing, widgets not showing and other kind of settings not working.

Solution

After several migrations I have made a tiny script that fixes this issue. The script searchs for serialized settings inside the wp_options table, it unserializes and replaces the old URL for the new one and updates this option.
(more…)

Read More

WordPress + W3 Total Cache: Force cache reload for CSS, JS or Images

Scenario

It is very common to use W3 Total Caché plugin to optimize our WordPress loading time. This plugin provides lots of tools to achieve web caching: page cache, database cache, browser cache, minification, etc.

Problem

After uploading changes in a file (css, js or image) we don’t see any update. Probably if we force browser caché reload with Ctrl + F5, or just empty cache, we will be able to see the update.

How can we avoid our users to force their browser’s cache reload?

Solution

The solution to this ‘residual browser cache’ is the file versioning. Let’s see how does this work.
(more…)

Read More