Ether Builder 1.7.1 (WordPress 3.5)

over 11 years ago in API, Ether Builder and News by luke
  • Support for Post Revisions (beta) – it’s turned off by default and can be turned on in Ether > Builder > Enable revision support for Builder content
  • Fixed: Scroll Spy issues
  • Fixed: Conflicts with some theme/plugins interfering with searching posts for Ether Content Builder content
  • Fixed: ‘output buffering’ issue causing fatal error
  • Fixed: pods plugin conflict
  • Fixed: Saving/Loading Ether Content Builder templates
  • Fixed: Links in admin bar removed for users without proper permissions
  • Added: Widget label (misc tab) – allows to provide custom title/label for a widget that appears in admin view (so you can have a widget titled ‘Image – custom image description’ rather than ‘Image – /path/to/image/or-other-cryptic-stuff’)
  • Fixed: Warnings caused by changes applied to $wpdb->prepare() method in WordPress 3.5

Ether Builder 1.7.0

over 12 years ago in API, Ether Builder and News by luke
  • Added: Blank Canvas option via Builder metabox for creating landing pages without any theme styles and only Ether Content Builder widgets
  • Added: CSS style widget for adding extra css rules on a single page
  • Added: Ether > Builder > Custom CSS field for any global css changes
  • Added: Template Widget – Allows templates to be added to a page the same way widgets are
  • Added: Link Widget
  • Addded: Heading menu / Scrollspy menu that takes headings that exist within the content and creates a menu out of them
  • Fixed: New Twitter api compatibility
  • Fixed: Error in WordPress 3.5 beta2
  • Fixed: Unit type input in field widgets (px / % / em)
  • Added: ID attribute for heading widget
  • Added: Custom href destination for divider widget
  • Fixed: Javascript error: “undefined switchEditor”
  • Added: Filters for defining new selectboxes in widget styles (ether_image_frames, ether_blockquote_styles, ether_table_styles, ether_multi_styles (tabs and accordion), ether_testimonials_styles, ether_pricing-table_styles, ether_heading-menu_styles)
  • Added: Filter for adding new color presets in Ether > Builder – ether_builder_presets
  • Added: Support for default featured image for post feeds. If Ether Builder does not find one set in Builder metabox it will try and search for it in featured image.

Ether Backup 1.2

over 12 years ago in API, Ether Backup and News by luke
  • Removed: Additional tables field
  • Added: Autodetect of all WordPress and custom plugin tables and their inclusion in a backup
  • Added: Possibility of including active theme and plugin files in a backup
  • Fixed: Migration of tables from Mult-Single sites environments

Ether Builder 1.6.8

over 12 years ago in API, Ether Builder and News by luke
  • Fixed: shortcodes conflicts (shortcodes from all plugins should wor flawlessly now)
  • Fixed: metabox builder
  • Fixed: hardcoded strings in builder.js that prevented a few phrases from being translated to other languages
  • Fixed: rich text issue with visual editor tab turned off
  • Fixed: image insert in image related widgets (galleries) (it used to break sometimes so that inserted images would line up in one column instead of three)
  • Fixed: gallery titles
  • Fixed: issues with post feed and some galleries overlapping other widgets due to their height being incorectly calculated

Ether Builder 1.6.5

over 12 years ago in API, Ether Backup, Ether Builder and News by matt

Ether Builder 1.6.5

  • Fixed: Bug: columns widget breaking up after saving changes to a page
  • Fixed: images tab in media library can insert images into visual editor now, too
  • Added: Other widgets featuring Rich text can have images added now, too
  • Added: Prevention of caching js/css files in admin panel after new releases
  • Fixed: allow_url_fopen removed from required dependencies list (so the error caused by it won’t appear anymore
  • UI adjustments to the backend

Ether Builder 1.6.3 & Ether Builder 1.6.4 (Huge update)

over 12 years ago in API, Ether Builder and News by luke

Ether Builder 1.6.3

  • Added: WPML integration (beta; Ether Builder widgets are copied automatically when creating pages for translation)
  • Added: Ether menu can be now additionally toggled in the top admin bar (manage its’ visibility via screen options)
  • Added Duplicate Widget Button. You can duplicate Single widgets or whole groups (via columns widget)
  • Single list widget can be now arranged into (1-10) columns or inline
  • Added image widget title on hover option + capability of setting any explicit size including % for either linked or not image elements (earlier all entries were converted to pixel values
  • Fixed: Services widget styles issue with left/right aligned images
  • Fixed: Gridslider overflow when items are not manipulated in any way (it was affecting – cropping – testimonials style decoration earlier)
  • Fixed: Gallery grid height modes and image stretch mode. Galleries are now more badass and customizable than anywhere.
  • Fixed: builder widgets missing in “widgets area”
  • Fixed: Builder display issues in some specific cases for reported single pages
  • Fixed: Appending builder styles for pages where Ether Builder Widgets are present only in sidebar area
  • Added: ether_builder_header action is called only once now (it used to fire multiple times earlier in some cases)
  • Fixed: Video Widget display isssues
  • Fixed: Nasty textarea bug within Ether Builder modal window that prevented user from changing its’ size + caused a display glitch in chrome
  • Added: More prominent indication of active tab/accordion in tab/accordion widget
  • Added: Gallery / Nivo / Flicker can now be aligned and have explicit width set (they were always 100% of the container width before)
  • Fixed: IE7 display issues
  • Revised gui interface in some widgets
  • Added: Price Box Text gridslider functionality + color option (There was a background option only present before

Ether Builder 1.6.4

  • UI upgrade: Tabbed widget options, enhanced labels and tooltips
  • Added: Updated Roundabout widget
  • Fixed: Search results bug
  • Added: New gallery option: Front Image Only – displays only one image, the rest is available in the lightbox
  • Added: Upload/Insert button for Rich Text widget (comming soon to other rich texts within tabs, services, testimonials etc.)

Ether Builder 1.6.0

over 12 years ago in API, Ether Builder and News by matt
  • added style switcher (light/dark styles available for now) (BETA)
  • added rich text editor for widgets wherever applicable
  • added posts feed + pages feed widgets + option to make specific pages featured / set featured image (for display in pages feed)
  • revised template manager with a more compact look
  • added alternative styles for accordion and tabs widgets
  • added constrain ratio for gallery widget constrain option (so now you can have relative rectangles rather than squares only)
  • fixed “invalid argument supplied for foreach” warning”
  • fixed 404 errors in ether-builder.css (reset-16px.png and save-16px.png)
  • added ether_builder_widget and ether_builder_{WIDGET_SLUG}_widget filters
  • fixed alignment of linked images (image widget)
  • fixed gallery display issues (images overflowing vertically)
  • fixed pricing tables styles
  • refreshed ether builder admin pages layout and look
  • significantly revised documentation – updated with common faqs and custom Ether Builder filters description
  • added support for utf-8 serialized data and a new method of fixing it

Ether Backup 1.1.4

over 12 years ago in API, Ether Backup and News by luke

There was some nasty error in backup module, so there you go! This update is available via auto update feature for now.

Ether Backup 1.1.3

over 12 years ago in API, Ether Backup and News by luke
  • Added: ether_backup::add_table method (you can now define additional tables via code)
  • Added: new ether framework version

Serialized data fix for WordPress

over 12 years ago in News by luke

There is many solutions for this problem over the internet, but none of them are solving the problem automatically or without editing the WordPress core.

Lately i came up with the solution for this problem for Ether Builder plugin.

So, here it is, feel free to use it.

add_filter('get_post_metadata', 'ether_serialize_fix', 10, 4);

function meta_serialize_fix($null, $object_id, $meta_key, $single)
{
	$meta_type = 'post';

	if ($meta_key == 'YOUR_META_KEY')
	{
		$meta_cache = wp_cache_get($object_id, $meta_type.'_meta');

		if ( ! $meta_cache)
		{
			$meta_cache = update_meta_cache($meta_type, array($object_id));
			$meta_cache = $meta_cache[$object_id];
		}

		if (isset($meta_cache[$meta_key]))

		{
			if ($single)
			{
				if (is_serialized($meta_cache[$meta_key][0]) AND ! maybe_unserialize($meta_cache[$meta_key][0]))
				{
					return array(maybe_unserialize_fixed($meta_cache[$meta_key][0]));
				}
			} else
			{
				foreach ($meta_cache[$meta_key] as $k => $v)
				{
					if (is_serialized($v) AND ! maybe_unserialize($v))
					{
						return array_map('maybe_unserialize_fixed', $meta_cache[$meta_key]);
					}
				}
			}
		}
	}
}

add_filter('option_OPTION_NAME', 'option_serialize_fix', 10, 1);

function option_serialize_fix($option, $value)
{
	if (is_serialized($value) AND ! maybe_unserialize($value))
	{
		return maybe_unserialize_fix($value);
	}
}

function maybe_unserialize_fixed($data)
{
	return maybe_unserialize(preg_replace('!s:(\d+):"(.*?)";!e',"'s:'.strlen('$2').':\"$2\";'", $data));
}

Keep in mind that using this for every meta key / option name is not a good idea. Use conditional tag instead!