Published
Feb 27, 2010
|
In WordPress
It’s been quite some time since I released updates to my WordPress Plugins since I was quite busy recently with lot of stuff (including the android course). Anyways I found some free time today and was able to push some updates to my Bulk Delete WordPress Plugin, which was overdue for quite some time.
Support for trash
WordPress 2.9 introduced the concept of trash, which allows you to move posts to trash (like Recycle bin in Windows or Trash in Mac) instead of deleting them directly.
I have added support for trash to my Bulk Delete WordPress Plugin. Now you can choose whether you want to delete the posts directly or just move them to trash. The credit for this feature goes to David Wren, you contributed code for this functionality.
Batch Deletes
I have also enabled another option which will be quite handy when you want to delete tons of posts. The most popular complain I hear from users of my Plugin is that, the PHP script times out if there were more than 1000 posts.
One possible solution is to increase the timeout period in php.ini file. But changing php.ini values is quite difficult especially if you were on a shared host.
I have now added support for batch deletes which allows you to delete the posts in batches. Say suppose you have to delete 5000 posts, you can now delete them in 5 batches with 1000 in each batch instead of trying to delete all the 5000 posts in a single go which usually results in script timeout. Hope this helps most of the users.
Screenshot
Below is the screenshot of the updated admin screen of the Plugin.

Support for translation
I have also generated the pot file for the Plugin and is available with the Plugin. If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know. I will add it to the Plugin after giving credit to you.
Download
You can download the latest version of the Plugin from the Plugin’s home page.
Feedback
If you have any comments or if you want to report any bugs, please leave a comment below or contact me.
Stay updated
I would be posting updates about this Plugin in my blog and in Twitter. If you want to be informed when new version of this Plugin is released, then you can either subscribe to this blog’s RSS feed or follow me in Twitter.
Posted in WordPress
|
Tagged Bulk Delete, Plugin, WordPress
|
Published
Oct 19, 2009
|
In WordPress
I guess, I am getting addicted to writing WordPress Plugins.
I was looking at the WordCamp New York Badge page and thought it would be nice to have a Plugin to display the badge, so after 30 minutes or so, WordCamp NYC Badge WordPress Plugin was born.
You can see it in action in my sidebar.
PS: If you are wondering why I am interested in WordCamp NYC, then do wait for another 3 weeks
Posted in WordPress
|
Tagged Plugin, WordCamp, WordCamp NYC Badge, WordPress
|
Published
Oct 8, 2009
|
In WordPress
As promised, I have created a new Plugin called Email Log which will log every email that is being sent through WordPress. This Plugin will be very useful, while debugging issues related to email and will also let you to find out whether any spammer is abusing your WordPress installation. This Plugin is also MU compatible and can be used in WordPress MU installations also.
Features
Viewing logged emails
The logged emails will be stored in a separate table and can be viewed from the admin interface. While viewing the logs, the emails can be filtered or sorted based on the date, to address, subject etc.
Deleting logged emails
In the admin interface, all the logged emails can be delete in bulk or can also be selectively deleted based on date, to address, subject.
Cleaning up db on uninstall
As recommended by Ozh, the Plugin has uninstall hook which will clean up the database when the Plugin is uninstalled.
Screenshots
The following screenshot shows how the logged emails will be displayed

This screenshot shows how the email logs could be filtered or sorted.

This one shows how the email logs could be deleted.

Download
You can download the Plugin from the Plugin’s home page.
Feedback
As usual try out the Plugin and do let me know if you have any feedback, queries or comments.
Posted in WordPress
|
Tagged Email Log, Plugin, WordPress, WordPress MU
|
Published
Oct 7, 2009
|
In WordPress
As you may know already (and if you don’t, dude, follow me) I participated in the recent WordPress Plugin competition. The results are out and even though my Plugins were not selected, I received a much more valuable gift. Guess what, a detailed review of all my five Plugins by my favorite WordPress expert and a great inspiration Ozh.
The following are the lessons that I learned from the reviews
- The details that you enter in the Plugin’s page like Plugin Description, screenshot, installation instructions, FAQ, example usage etc, but really help you to get more users for your Plugins
- When you are using PHP 5+ only features, make sure that you have a fall back mechanism and correct warning to users.
- When making calls to API’s it is better to use the built-in WP_Http class instead of CURL or sockets
- Don’t hardcode the Plugin directory or file name, some users may change it, which might break your Plugin.
- Similarly don’t hard code wp-content directory path. Some users might move their wp-content directory to a different path which might again break your Plugin.
- If you need scripts or CSS, to be included, then include them only to the pages that need them and not to all pages.
- If you are creating a table or storing too many options in db, then it is always better to provide an uninstall hook to clean this stuff when the Plugin is delete by the user.
I am guilty of most of them and I am in the process of modifying my Plugins to fix these issues and over a next couple of days you could see updates to most of my Plugins.
It’s always nice to get feedback for your work from someone whom you respect and in that way I am really very happy that I participated. Thanks Ozh for your time and feedback and WTC for sponsoring the competition and wishes for the winners.
Posted in WordPress
|
Tagged Competition, ozh, Plugin, WordPress
|
Published
Sep 29, 2009
|
In WordPress
Similar to the WordPress Plugin competition conducted by Weblogs Tools Collection, WPMU is coding a WordPress Plugin competition for WordPress MU and BuddyPress.
All you need to do is to create a (awesome) WordPress MU or BuddyPress Plugin and then release it.
Dates
The competition is open till Friday October 16th.
Prizes
There are some cool prices and the first prize winner will be get a cash award of $1000.
Rules
The rules are similar the WordPress Plugin competition and the main thing to remember is that your Plugin should be in GPL or GPL-compatible licence.
So it’s time to start another WordPress project.
BTW guys, I am looking for ideas. So if you wanted a Plugin for WordPress MU or BuddyPress, then let me know and I might be able to create it for you.
Posted in WordPress
|
Tagged BuddyPress, Competition, Plugin, WordPress, WordPress MU
|
Published
Sep 17, 2009
|
In WordPress
I recently updated my Posts By Tag Plugin, to v 0.4
New Features
The main new feature of this update is that, now you have the option to choose the order in which the posts should be displayed in the widget. The credit for this feature goes entirely to Michael, because he is the one who code it. He sent me the modified file and I have just checked it into the Plugin’s SVN and modified the Readme file. (Can anyone expect more
) Thanks Michael.
Screenshot
The following is the screenshot of the widgets page where now you have to option to choose whether the posts should be displayed in ascending or descending order by date.

Download
You can download the latest version of the Plugin from the Plugin’s homepage.
Feedback
Please keep the feedback coming and if you want me to add any new features or find a bug, please leave a comment.
Vote for the Plugin
If you have used this Plugin and like it, please vote it and help me win the WordPress Plugin competition.
Posted in WordPress
|
Tagged Plugin, Posts By Tag, WordPress
|
Published
Sep 14, 2009
|
In WordPress
I have updated my Post to FriendFeed WordPress Plugin to v1.0
New Features
The following are the new features that I have added to the Plugin
Pluggable Filters
I have added the following filters to the Plugin which can be hooked by your own code.
- post2ff_blog_url – The link which will be posted to Friendfeed
- post2ff_blog_excerpt – The excerpt that will be posted as the first comment to Friendfeed
- post2ff_blog_images – The images that will be posted to Friendfeed
The following code example explains how you can use bit.ly (or any url shortening service) to shorten the link that will be posted to Friendfeed.
add_filter(‘post2ff_blog_url’,’your_plugin_short_url’);
function your_plugin_short_url($url) {
$shorten_url = get_short_url($url);
return $shorten_url;
}
You can place the above code either in your own Plugin or in the functions.php file of your theme. If you want to shorten the url using bit.ly then you can use the code from my other post.
You can use the similar technique to change the excerpt or images, which will be posted to Friendfeed.
Translation
I have added the ability to translate the Plugin. The pot file is available with the Plugin. If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know. I will add it to the Plugin after giving credit to you.
Update
You can download the latest version of the Plugin form its home page. It is an optional update and doesn’t change anything in the front-end.
Feedback
As usual, if you have any feedback, queries or questions, feel free and leave a comment.
Posted in WordPress
|
Tagged FriendFeed, Plugin, Post To FriendFeed, WordPress
|
Published
Aug 14, 2009
|
In WordPress
Just a quick note, to let you all know that I have updated my Posts By Tag WordPress Plugin to version 0.3
Features
The following are the changes in the new version
Improvements to caching
Now the Plugin caches the entire HTML generated by the widget, not just the query which is used to retrieve posts. This should improve the performance of the Plugin and will reduce some mill-seconds of your page load time, if you have enabled caching.
Turkish Translation
The credit for this goes to Yakup Gövler. I have checked in the Turkish .po and .mo files, in this release.
If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know. I will add it to the Plugin after giving credit to you.
Update
You can download the latest version of the Plugin form its home page. It is an optional update and doesn’t change anything in the front-end.
Feedback
As usual, if you have any feedback, queries or questions, feel free and leave a comment.
Posted in WordPress
|
Tagged Plugin, Posts By Tag, WordPress
|