The Blog
0

Tweet lovers 1.0.3

I’m happy to announce the next version of Tweet Lovers is available. In this version I have brought the widget construction up to date. Fixing actually a bug that you were not able to use Dynamic Widgets with the widgets created by Tweet Lovers. Also I have added a check to see if data is coming back from Twitter. It happens sometimes, especially when you’re using shared hosting, Twitter does not return data. Before this version, you could end up with an empty widget. That is being prevented now.

6

It seems that Dynamic Widgets 1.5.0 let widget options sometimes disappear when you add a widget to a sidebar. Only the Save button remains. Just hit that Save button and all options will reappear. 

I’m going to look into it.

UPDATE: [13 Jan 2012] Development Version 1.5.0.1 has a fix for this issue.

23

I have finally released version 1.5.0 of Dynamic Widgets. A lot have been changed, below you’ll find an overview of all the bits and pieces. Two things are major:

  • I’ve moved the system requirements a bit up. You must have at least PHP 5.1 running on your host, also at least WP 3.0.
  • Support for individual Custom Posts have been dropped. It was not reliable compared to the high standards I’m using.

When you upgrade manually, be sure to remove the whole dynamic-widgets directory. Do a fresh copy of this version. Some files have been renamed. Old files remaining might lead to unexpected behaviour.

As usual, below is the complete changelog.

  • Added Pods plugin support.
  • Added Tag Archive Pages support.
  • Added hierarchical inheritance for Categories.
  • Added workaround to detect correct template when using Pods.
  • Added negative exceptions for Role.
  • Added an “Only on first page” exception for Front Page.
  • Added support for BP Group Hierarchy.
  • Added support for bbPress User Profile pages.
  • Added Chinese (Simplified) language files (locale: zh_CN) – xie xie Hanolex!
  • Added Lithuanian language files (locale: lt_LT) – dekoju Liudas!
  • Added a “Save & Return” button to the widget options page.
  • Bugfix for subscribers show up in the author lists in WP > 3.1.
  • Bugfix for Taxonomies in Custom Post Types are not always saved.
  • Bugfix for Custom Posts box is sometimes empty.
  • Fixed several PHP notices about undefined variables.
  • Removed support for individual Custom Posts.
  • Removed PHP4 support, minimum PHP version is now 5.1.0.
  • Removed WP < 3.0 support. Minimum WordPress version is now 3.0.

 

6

Fortunately I had quickly found what was going wrong with the BuddyPress detection process in Dynamic Widgets since BuddyPress 1.5. The fix is included in the development version 1.5b4. This is however a beta version. For people not comfortable with beta versions, having some programming expierence, using Dynamic Widgets 1.4.2 and BuddyPress 1.5, you can also replace the first function in /wp-content/plugins/dynamic-widgets/plugins/bp.php with the function code below.

function dw_get_bp_components() {
	$bp = &$GLOBALS['bp'];
	$DW = &$GLOBALS['DW'];

	$components = array();

	foreach ( $bp->active_components as $key => $value ) {
		if ( version_compare(BP_VERSION, '1.5', '<') ) {
			$c = &$value;
		} else {
			$c = &$key;
		}
	}

	if ( $c == 'groups' ) {
		$components[$c] = ucfirst($c) . ' (only main page)';
		$DW->bp_groups = TRUE;
	} else {
		$components[$c] = ucfirst($c);
	}

	asort($components);
	return $components;
}

It looks like Dynamic Widgets does not detect BuddyPress anymore since version 1.5 of BuddyPress. I’m going to look into the issue soon.

See also the issue tracker. It has been registered under issue 32.