Segate 4TB Expansion and Backup Plus

This is the first in a series of posts regarding a new server build one is working on. The current local server, a HP Proliant Microserver (Gen 7 with a N40L) is four years old. While it can still handle print and file serving, it is having issues with its newer tasks. Specifically, transcoding Plex streams to Chromecasts and Fire TVs is a stuttering affair.

To start the build, one needs to have a case. Finding a good quality rackmount case, with hot swappable drive bays, at a reasonable price leaves just one option, the Supermicro SC216. The problem with the SC216 is it has 24 drive bays for 2.5″ drives. Most manufacturer’s only have 2TB drives in the 2.5″ formfactor. However, there is the ST4000LM016 made by Seagate.

Continue reading

Order Bender 0.7.0

Introducing Order Bender 0.7.0. This version adds code that takes advantage of new features in Breadcrumb NavT 5.4, allowing terms without parents to be the the preferred term for a post’s hierarchy as presented by Breadcrumb NavXT.

I know I said in the last release that Order Bender will make it into the official WordPress.org plugin repository so everyone will get update notifications. The truth is, it likely will not make it into the WordPress.org plugin repository. The Breadcrumb NavXT specific functionality introduced in this version will make its way into a Breadcrumb NavXT extension plugin. So, you’ll have to manually update (by first deleting and then re-installing).

Installation is quite easy:

  1. Download the Master branch zip archive from GitHub
  2. In your WordPress Dashboard navigate to the plugin uploader (Plugins > Add New > Upload)
  3. Upload the zip archive
  4. Activate and enjoy!

You can keep up with day to day development via the Order Bender’s GitHub Repository.

-John Havlik

[end of transmission, stay tuned]

Remove the Link in a Breadcrumb

A topic that comes up time to time in support requests is how to unlink a breadcrumb. Typically this is due to having an empty page that exists to facilitate a logical hierarchy. Naturally, linking to this blank page in the breadcrumb trail is not useful. While it is bad form to have a breadcrumb in the breadcrumb trail that is not linked, there is a filter that can facilitate this behavior.

The presented solution is a simplistic example for a single page. However, it can be extended for multiple pages, or taxonomy terms. Finally, rather than being hard-coded, the IDs could come from a post_meta/term_meta field.

The Code

add_filter('bcn_breadcrumb_url', 'my_breadcrumb_url_stripper', 3, 10);
function my_breadcrumb_url_stripper($url, $type, $id)
{
	if(in_array('post-page', $type) && (int) $id === MYPAGEID)
	{
		$url = NULL;
	}
	return $url;
}

After placing this code into your site specific plugin, you will need to update one part of it. Just replace MYPAGEID with the ID of the page you want to remove the link to. That’s it. Simple, right?

-John Havlik

[end of transmission, stay tuned]

6 Comments Updated:

Breadcrumb NavXT bbPress Extensions 1.1.0

Announcing the immediate availability of Breadcrumb NavXT bbPress Extensions 1.1.0. This version add support for listing the current forum’s breadcrumb when viewing a single topic instance. Additionally, bbPress Extensions will no longer swap out the topics archive breadcrumb for the forums archive breadcrumb when on a topic archive. These two changes facilitate the generation of more accurate, and specific, breadcrumbs for bbPress resources.

You can grab the latest Breadcrumb NavXT bbPress Extensions on the Breadcrumb NavXT bbPress Extensions page. Also, checkout the GitHub repository for Breadcrumb NavXT bbPress Extensions for the latest development builds.

-John Havlik

[end of transmission, stay tuned]

WP Lynx 1.1.2

What’s this? Another bugfix release for WP Lynx? That’s right, announcing the immediate availability of the second bug fix release for WP Lynx 1.1. Two bugs were squashed in this release.

In 1.1.1, one of two bugs afflicting the uninstaller was fixed. However, there was still another bug that caused uninstalls to not work, this has been fixed in 1.1.2. And, to ensure this doesn’t slip through the cracks again, unit tests for the uninstaller were generated for this release. Additionally, a bug that caused permission issues when saving settings was fixed in this release.

You can grab the latest WP Lynx on the WP Lynx WordPress.org plugin page.

-John Havlik

[end of transmission, stay tuned]