Nov 6th, 2011 | 64 Comments

Tweet old post – update 3.2.7

 

What’s new:

Enable Log – I have included this option to log all that happens while posting a post to twitter. Please enable this if something is not working for you. You can try again after enabling log and check the log.txt file under log folder under wp-content/Tweet-Old-Post/log/log.txt. If you are not able to understand or make it work you can mail me the log.txt file at ajay[at]ajaymatharu[dot]com

Exclude Post – Yes, exclude post is back in this version. I have worked on the vulnerability issue and resolved that in this version.

Misc – Some other bug fixes and optimization. Tried to resolve the issue of nothing happens when you click to authorize twitter account with plugin.

 

There were some other options that were confusing here is the explanation for those,

Use Inline Hashtags – If checked it looks for hashtags (from tags/categories/custom field/common) within the tweet content, if found it replaces that word with hashtag. If not checked hashtag will be added at end of tweet.

Maximum Hashtag Length – Specifies maximum number of character hashtags can contain. This is included to calculate the tweet length. e.g. Suppose you have set this to 30, if your post’s total hashtags character length is more than 60 it will it will trim it to 30 character to include those in tweet. This is to include more content in your tweet than hashtags. If you set this to 0 it will post all the hashtags reducing the size of your tweet content.

Random Interval – its an random interval which is added to minimum interval. e.g. if you have set the minimum interval to 4 hours and random interval to 4 hours the next post may happen at 4 hours 28 mins or 4 hours 58 mins. This option adds some additional time interval to minimum time interval.

 

You can download the latest plugin from WordPress

Written by Ajay Matharu

November 6th, 2011 at 9:09 pm

Feb 26th, 2011 | No Comments

Today while updating a plugin, update window got stuck at following image,

Wordpress scheduled maintenance message

Wordpress scheduled maintenance message

And I was not able to figure out why was it. Then I went back to the update page and saw the following message,

Enabling maintenance mode in wordpress

Enabling maintenance mode in wordpress

Here you can see the wordpress enables maintenance mode before pushing any update. But what if  update is not completed successfully?

If update does not happen successfully your page gets stuck on above image and your site shows message in first image.

How can you remove this annoying messages? After googling out I figured out wordpress creates a .maintenance page in the root directory where your wordpress is installed. You need to delete this file, which I did. After deleting the site was up again.

Wordpress maintenance file

Wordpress maintenance file

But this happened everytime I tried to update that plugin. So I searched for place where wordpress was checking if it is in maintenance mode.

WordPress has a file called as “wp-settings.php” in the root directory. It has line of code that checks if maintenance mode is enabled. So just comment that line and wordpress will not go in maintenance mode again.

Bypass maintenance mode check in wordpress

Bypass maintenance mode check in wordpress

It will show you the message enabling maintenance mode but still your site will be up.

Hope this helps.

Page 1 of 3123