Lester Chan’s WordPress Plugins June 2009 Update

Here is my June 2009 WordPress plugins update containing all my 16 WordPress plugins update. All of them should work on WordPress 2.8 as I did not test them on any WordPress version below that.

Now my plugins uses jQuery for AJAX instead of TW-Sack. I have also updated the widget code to make use of the new WordPress 2.8 new Widget class and that supports multi-instances widgets. The widget code has now been merge with the main plugin file so the standalone widget plugin file is no longer in use. Please delete the whole plugin folder and upload it again to avoid any error.

As WordPress 2.8 supports loading of JavaScript in the footer, all my plugins’ JavaScripts will be loaded in the footer. Be sure you have in your theme footer.php.

Be sure to read the readme.html and checkout the changelog for more information and most importantly NOTE THE TABS AT THE TOP

WP-Ban 1.50
» Readme/Changelog
» Download Mirror #1
» Support Forum

WP-CommentNavi 1.10
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-DBManager 2.50
» Readme/Changelog
» Download Mirror #1
» Support Forum

WP-DownloadManager 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-EMail 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-PageNavi 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-PluginsUsed 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-Polls 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-PostRatings 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-PostViews 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-Print 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-RelativeDate 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-ServerInfo 1.50
» Readme/Changelog
» Download Mirror #1
» Support Forum

WP-Stats 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-Sticky 1.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

WP-Useronline 2.50
» Readme/Changelog
» Demo
» Download Mirror #1
» Support Forum

If you like or love my plugins a lot, do consider making a donation to me. My Paypal email address is lesterchan AT gmail DOT com. Thank you =D

1 Star2 Stars3 Stars4 Stars5 Stars (301 votes, average: 4.01 out of 5)

New Support Forums

New Support Forums
Hi guys,

The support forums for my plugins is at http://forums.lesterchan.net. I have just “reformatted” it to Simple Machines. If you run into any problems with my plugin, kindly post it in the forums.

If I do not answer your question within 3 days, feel free to bump it as I may miss it.

Updates
My exams are over, hopefully I can start work on the WP-Downloads and update some of my plugins. My main focus here is to get version 3 of my site out and then all the plugins will roll out accordingly because the new site will need them. Be patient with me =)

WP-Polls 2.13
It is more or less ready to be released, I will release it sometime this week, latest by next week. It features bug fixes, poll bar styling option in Polls -> Poll Options (allowing you to use CSS or Image) and most importantly I have internationalize (no idea whether is it the right word to use) it, so now you can translate wp-polls into your own language just by modifying the .po file.

1 Star2 Stars3 Stars4 Stars5 Stars (290 votes, average: 4.01 out of 5)

New WP_Widget Class In WordPress 2.8

In WordPress 2.8, there is a new WP_Widget class, which personally I like it very much as now the multi-instances of widgets is handled by WordPress, all you need to do is just to extends the WP_Widget class and overwrite 3 of the functions namely widgets(), update() and form();

Below is a sample code taken from my WP-Polls that displays Polls Widget. It is tested and it works perfectly. Hope it is useful for plugin authors.

 __('Put a poll that you have added in WP-Polls on your sidebar', 'wp-polls'));
		$this->WP_Widget('polls', __('Polls'), $widget_ops);
	}

	// Display Widget
	function widget($args, $instance) {
		extract($args);
		$title = esc_attr($instance['title']);
		$poll_id = intval($instance['poll_id']);
		$display_pollarchive = intval($instance['display_pollarchive']);
		echo $before_widget.$before_title.$title.$after_title;
		get_poll($poll_id);
		if($display_pollarchive) {
			display_polls_archive_link();
		}
		echo $after_widget;
	}

	// When Widget Control Form Is Posted
	function update($new_instance, $old_instance) {
		if (!isset($new_instance['submit'])) {
			return false;
		}
		$instance = $old_instance;
		$instance['title'] = strip_tags($new_instance['title']);
		$instance['poll_id'] = intval($new_instance['poll_id']);
		$instance['display_pollarchive'] = intval($new_instance['display_pollarchive']);
		return $instance;
	}

	// DIsplay Widget Control Form
	function form($instance) {
		global $wpdb;
		$instance = wp_parse_args((array) $instance, array('title' => __('Polls', 'wp-polls'), 'poll_id' => 0, 'display_pollarchive' => 1));
		$title = esc_attr($instance['title']);
		$poll_id = intval($instance['poll_id']);
		$display_pollarchive = intval($instance['display_pollarchive']);
?>


			
		


			
		


			
		


1 Star2 Stars3 Stars4 Stars5 Stars (172 votes, average: 4.01 out of 5)

Changing Of Host Completed

If you are able to see this announcement, it means that the site has successfully move to the new host (Dreamhost to be exact). I signed a 2 year contract with them for (USD$100.80), hopefully they do not let me down.

This site is definitely slower for me in terms of load time as the host no longer reside in Singapore (where I live), but it maybe faster for some of you guys also.

Last but not least, if there is any problem, do post in the forum under Site & Forum Issues

Thanks a lot for your continuous support.

1 Star2 Stars3 Stars4 Stars5 Stars (77 votes, average: 4.01 out of 5)

WordPress 2.1

Thanks to a fellow member (Turk) in GaMerZ.Forums, I came to know that WordPress 2.1 is in the beta stages, beta 1 to be exact. Some of my plugins maybe broken with WordPress 2.1 like WP-PageNavi and WP-Stats, but I had already fixed them. If you need it to test it out, feel free to drop me an email.

If you find any of my plugins that are not compatible with WordPress 2.1, please let me know so that I do not need to test all my plugins against WordPress 2.1

Now I need some ideas, I have been thinking the name of my new downloads plugin, but just could not come out with any name nice. WP-Downloads and WP-Download-Manager is taken.

I have the following in mind:
WP-Download (without the s)
WP-FileDownloads
WP-DownloadManager

Any suggestions are welcomed =)

1 Star2 Stars3 Stars4 Stars5 Stars (73 votes, average: 4.01 out of 5)