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)

WordPress 3.3

WordPress 3.3 has been released! I have upgraded this site to WordPress 3.3. My plugins should be working fine with WordPress 3.3.

For Users
Experienced users will appreciate the new drag-and-drop uploader, hover menus for the navigation, the new toolbar, improved co-editing support, and the new Tumblr importer. We’ve also been thinking a ton about what the WordPress experience is like for people completely new to the software. Version 3.3 has significant improvements there with pointer tips for new features included in each update, a friendly welcome message for first-time users, and revamped help tabs throughout the interface. Finally we’ve improved the dashboard experience on the iPad and other tablets with better touch support.

For Developers
There is a ton of candy for developers as well. I’d recommend starting your exploration with the new editor API, new jQuery version, better ways to hook into the help screens, more performant post-slug-only permalinks, and of course the entire list of improvements on the Codex and in Trac.

Download: WordPress 3.3

1 Star2 Stars3 Stars4 Stars5 Stars (307 votes, average: 4.00 out of 5)