Wordpress Subdomains 0.6.1 Release Candidate 2

Just to let you know about the second release candidate for Wordpress Subdomains 0.6.1.

Two bugs got fixed:

  • Problems with comments pages on 1st tier posts using /%category%/%postname% permalink – thanks to Paul Nus for spotting
  • Problem with filtering post by category in the admin section – thanks to Zaobaba for spotting

Here is the new Release Candidate for people to try:

WP Subdomains 0.6.1 RC2

Known bugs:

  • Subdomains options in Edit Category don’t show with IE7, maybe IE6 too. Working on a solution.
  • Categories with hundreds of large posts may require you to increase the php memory allocation. Working on a solution [bug #346626]

I recommend anyone using 0.6.0 to try this version. It’s much better.

If you find a bug then please, if possible, report it on the project’s bug tracker. It’s getting harder to keep track of bug reports in the comments section as more people start to use it.

Updated 23/03/09: added memory error bug

Comments (4)

Putera EmasMarch 20th, 2009 at 10:53 pm

Hi Alex,

The problem is linked with WP-PostViews plugin from lesterchan.net (http://lesterchan.net/wordpress/readme/wp-postviews.html). Your plugin can’t be use together with WP-PostViews plugin.

Alex StansfieldMarch 21st, 2009 at 12:19 am

Hi Putera,

Thanks for the bug report. I know what the problem is, I just need to find a way to fix it.

Will try and keep you updated on the progress.

Regards, Alex

Alex StansfieldMarch 21st, 2009 at 10:45 am

Hi Putera,

The easiest way to fix this is to edit the postviews plugin. Edit the wp-postviews.php file.

Find the “views_sorting” function and replace it with:

function views_sorting() {
global $wp_query;

if (is_object($wp_query)) {
if(get_query_var(’v_sortby’) == ‘views’) {
add_filter(’posts_fields’, ‘views_fields’);
add_filter(’posts_join’, ‘views_join’);
add_filter(’posts_where’, ‘views_where’);
add_filter(’posts_orderby’, ‘views_orderby’);
}
}
}

The Plugin should now start working. I will contact the author of the plugin and see if he’s prepared to add the change.

Regards, Alex

Alex StansfieldMarch 22nd, 2009 at 1:21 am

Hi Putera,

I’ve spoken to Lester Chan and he’s decided to change that function in the next release of PostView to:

function views_sorting($local_wp_query) {
if($local_wp_query->get(’v_sortby’) == ‘views’) {
add_filter(’posts_fields’, ‘views_fields’);
add_filter(’posts_join’, ‘views_join’);
add_filter(’posts_where’, ‘views_where’);
add_filter(’posts_orderby’, ‘views_orderby’);
} else {
remove_filter(’posts_fields’, ‘views_fields’);
remove_filter(’posts_join’, ‘views_join’);
remove_filter(’posts_where’, ‘views_where’);
remove_filter(’posts_orderby’, ‘views_orderby’);
}
}

you may wish to update it yourself in the current version, so that it’s working.

Regards, Alex

Leave a comment

Your comment