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 (291 votes, average: 4.00 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 (308 votes, average: 3.99 out of 5)

WP-PostRatings 1.61

I have released WP-PostRatings 1.61 which fixes a code injection via “HTTP Referrer” and affects users who are on WP-PostRatings 1.50 only. This is the same code injection fixed for WP-Polls few days back.

I have checked the rest of my plugins to ensure that the code is not in anymore of my plugins. Sorry for any inconvenienced cased.

Similar to WP-Polls, I also took this chance to port the readme.html to the proper readme.txt which WordPress.org is using and now you can see all the details of WP-PostRatings right from the plugins page itself regardless if it is from your WP-Admin or WordPress.org.

All users should upgrade now

Props to Dion Hulse aka dd32 for the report!

Download: WP-PostRatings 1.61

1 Star2 Stars3 Stars4 Stars5 Stars (261 votes, average: 3.99 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 (173 votes, average: 3.99 out of 5)

WordPress 3.0.2

WordPress 3.0.2 is out and it is recommended for everyone to upgrade as it is a mandatory security update for all previous WordPress versions.

Fixes:

  • Fixed moderate security issue where a malicious Author-level user could gain further access to the site.
  • Remove pingback/trackback blogroll whitelisting feature as it can easily be abused.
  • [Fixed other issues]

Changelog: WordPress 3.0.2
Download: WordPress 3.0.2
Download: Modified files since WordPress 3.0.1

1 Star2 Stars3 Stars4 Stars5 Stars (132 votes, average: 3.99 out of 5)