One of the sites I regularly visit has had a rather interesting set of discussions going on over the last couple of weeks.  To be fair, it’s been ongoing for a few months, but it’s really picked up steam in the last few.  That site is Techsideline.com (TSL).  It’s an unofficial sports-centric site for Virginia Tech fans.  I won’t go into the history of the site, but suffice it to say, it’s been around since 1997 (interestingly enough, going live on my birthday – March 12, 1996).

Will Stewart is the founder, and over the years, it’s been my default go-to for any major sports-related news about VT.  The main feature of the site (I think) has been the message boards, allowing a community of dispersed fans to come together and share our thoughts on the state of the program.  The subscriber’s-only material featuring in-depth thoughts, reviews, break-downs, etc is excellent, and to me, worth the price of admission.

On January 11, 2012, Will debuted a major re-design of the site.  To say that the re-design was met with hostility would be an understatement of epic proportions.  Many of the “old dogs” absolutely hated the new forums.  Enough disliked it that Will’s page-views dropped by 30%, and he received many emails from disgruntled folks that said they were leaving because they no longer liked the site – they refused to “upgrade” to the newer forums.  Subsequently, his ad revenues have dropped.

The “old” site used what’s known as “threaded” (or what I call “nested”) forums.  This was a hand-coded solution from way back in the day, before forum software such as PHPbb and vBulletin were available.  To bring the site forward, he upgraded to vBulletin – a solid choice given the number of users and the additional professional support provided by vB.  The problem lies in the fact that nearly every major bulletin package out there now uses “linear” format.  Linear is as it’s name suggests, a linear flow of discussions.

The major difference between the two is that threaded formats tend to be more like emails – subject & message, and can be displayed as a “stair-step” view.  This lends itself to quick “one-liners” where the subject is the message and then that’s it.  Linear encourages more in-depth discussions, and if you want to “reply” to someone else’s post, you usually hit “reply with quote” to start a “sub-discussion”.  The newest posts are always at the end of the individual topic.

So after ten years, it’s easy to see why the shift from threaded to linear would be met with such derision.  Will managed to get a plugin on VB to display a “threaded view” (Threaded Overlay, actually) to appease those sticks in the mud, but it doesn’t seem to be helping with his site traffic and such.  Now, Will & his staff are trying to gain feedback on what to do.  They’re toying with the notion of just sucking it up and moving ahead as is, bringing back the old stuff in a limited format, or scrapping everything and bringing back the old format entirely.  The vast majority (or at least the most vocal) seem to prefer the old format.Continue reading

I got the chance to do a re-think of Dan & Matt’s basic blog theme for halftonreviews.com, and as per my preference, I’m applying Zurb’s Foundation to handle my responsive duties.  It’s still a work in progress.  But I ran across something that was going to prove to be a pain the arse.

WordPress provides native libraries to automatically embed media from certain sites by just pasting the URL.  So instead of having to go through the old bloated way of finding the entire embed code, WP just wants the url and passes it off to the oEmbed libraries.

It’s pretty neat and straightforward, but if you’ve been working with sharing videos and pictures on the internet for any length of time, you’re used to the old code.  This is a roundabout way of saying that the old way and even the new way (using oEmbed) create headaches when you’re working in a responsive design and re-size the screen (or visit it on your mobile device).  What happens is that the standard “old” way of doing it (with a long and messy code) automatically specifies a fixed width that’s usually BIGGER than a mobile screen.  So you still run into the old problem of having to zoom to see the rest of the content.

Zurb’s response (and I assume several other frameworks as well) is to wrap the media (videos mainly, pictures don’t have this issue, it seems) in a <div class=”flex-video”> (for what it’s worth, it also works with any other selector like p, span, etc..  While that’s not bad… with WP’s native oEmbed, you can easily forget or overlook it.

So the first stop is to find a function that will automatically add the container around the embed.  That was straightforward enough…

[php]
function tgk_embed_filter( $html, $url, $attr ) {
$return = ‘

;’. $html .’

‘;
return $return;
}
add_filter(’embed_oembed_html’, ‘tgk_embed_filter’, 90, 3 );
[/php]

The trouble comes with the fact that it adds that container to *any* embedded media – pictures, twitter statuses, etc.  Which then makes life beyond difficult, because suddenly a twitter embed grows to nearly 60% of the vertical space of the monitor.

So at the present time, my function has expanded to this:

[php]
// Adds class to oEmbed videos so they are resposnive
function tgk_embed_filter( $html, $url, $attr ) {

require_once(get_template_directory() . ‘/inc/domains/effectiveTLDs.inc.php’);
require_once(get_template_directory() . ‘/inc/domains/regDomain.inc.php’);

if ( ‘twitter.com’ == getRegisteredDomain(parse_url($url, PHP_URL_HOST))){
$twitter_return = $html;
return $twitter_return;
}

else if ( ‘instagram.com’ == getRegisteredDomain(parse_url($url, PHP_URL_HOST))){
$instagram_return = $html;
return $instagram_return;
}

else if ( ‘photobucket.com’ == getRegisteredDomain(parse_url($url, PHP_URL_HOST))){
$photobucket_return = $html;
return $photobucket_return;
}

else if ( ‘polldaddy.com’ == getRegisteredDomain(parse_url($url, PHP_URL_HOST))){
$polldaddy_return = $html;
return $polldaddy_return;
}

else if ( ‘scribd.com’ == getRegisteredDomain(parse_url($url, PHP_URL_HOST))){
$scribd_return = $html;
return $scribd_return;
}

else if ( ‘slideshare.net’ == getRegisteredDomain(parse_url($url, PHP_URL_HOST))){
$slideshare_return = $html;
return $slideshare_return;
}

else if ( ‘smugmug.com’ == getRegisteredDomain(parse_url($url, PHP_URL_HOST))){
$smugmug_return = $html;
return $smugmug_return;
}

else if ( ‘vimeo.com’ == getRegisteredDomain(parse_url($url, PHP_URL_HOST))){
$vimeo_return = ‘

‘. $html .’

‘;
return $vimeo_return;
}

else

$return = ‘

‘. $html .’

‘;
return $return;
}
add_filter(’embed_oembed_html’, ‘tgk_embed_filter’, 90, 3 );
[/php]

This covers most of the non-video embeds so it uses the default CSS selectors with Zurb or WordPress for styling.  I’m cheating a bit at the moment because I’m having a hell of a time parsing the correct URL information.  I could also shrink this function down to provide just for what I think the Twins might use, and I’ll talk to them about it.  Depending if they just want to keep it to videos from YouTube and Vimeo, I can go back to the original function.

But, my intention is to use a lot of this work as a springboard for my own Foundation framework theme, so I’ll need to do some massive cleanup.  At least get it to the point where I don’t need to load another 200k of libraries just to check the danged domain.

I’m a creature of habit.  I’ll admit it.  And I’m willing to bet that anyone reading this is too.  It’s human nature to find comfort and solace in repeating patterns.  Which is why I can’t for the life of me figure out the appeal of the “Boostrap” framework from the folks at Twitter.

I’ve done a lot of reading lately on two major “trends” (if you will) in web design.  The first being a “flat ui” (which is another discussion entirely) and “responsive design”.  To boil down “responsive design” won’t really do it justice, but it basically entails creating a website that will maintain much of the same look/feel/design when viewed on a smartphone screen as well as a huge monitor.  A lot of this is created with some additional coding on the back-end, nothing too dramatic, but still somewhat complex in practice.

To ease the burden, there are several popular frameworks to get started.  The most popular right now is Bootstrap from Twitter.  Behind that is Foundation by Zurb.  I won’t bore you with the technical details of each one, but they’re both very similar.  How they accomplish the tasks is obviously unique, but I’ve found a preference for Foundation over Bootstrap.  The main reason being the “top bar” navigation.  Both frameworks feature this, but Zurb seems to be the only one that adds in the ability to actually move it so that it’s not the “top bar”.  Maybe it’s just that Bootstrap’s documentation is lacking to show me how to accomplish it.

Which gets back to my original point – I’m a creature of habit.  And I don’t feel right unless my design is structured header image, nav menu, content, etc.  Not nav menu, header image, content.

The “top bar” of these frameworks is designed to neatly collapse once the browser size falls below a pre-defined break-point.  I’ve spent more time with Foundation than Bootstrap, and I do know that there’s an alternate navigation menu with Foundation, but it doesn’t shrink gracefully – it basically turns into stacked boxes.  And I’m sure at this point that if Foundation has it, Bootstrap has something similar as well.

So that puts me in the process of creating yet another framework for WordPress.  There are a couple others out there already, but they use either the top bar at the top, or use the alternate nav.  I’m currently using the “starter theme” from the Themeshaper team available at underscores.me for that.  Hopefully, if everything goes well, I’ll eventually have a “first draft” done by the end of the weekend and make it available on GitHub.

I wrote a couple years ago that I’d managed to put together what I thought at the time was the best media center option on a budget.  My solution seemed elegant at the time – a nettop computer (the Acer Aspire Revo in my case) running software dedicated to the task – XBMC.  Since that time, streaming players (like the Roku, AppleTV, etc.) have really made a strong presence on the market.  Add to that a new line of “Smart devices”, aka TV’s and blu-ray players, there’s a lot of options for what you can do.

I’ve run the gamut of devices over the last few years.  My requirements (I thought, at least) were pretty straightforward.  Must be able to play local digital content (ie DVD’s and Blu-rays ripped to a file), stream from services like Netflix, Hulu, Amazon Prime, and be pretty straightforward to use with a remote (no keyboard/mouse).  Continue reading

Rumors of my demise have been greatly exaggerated, it seems.

While it’s true that I’ve not been updating any of my blogging, I’ve still been around elsewhere.  For those of you who’ve known me long enough, it should be clear as day that I’m a pretty private person.  Hanging everything out there for the whole world to see hasn’t always been my thing.  Will that ever change?  Maybe.  But I’m 34 now, so probably not.

One of my friends (who I’ll reference again later) told me I needed to start blogging more.  She’s probably right.  What’s the point in paying for a website without using it?  To be fair, I do run this server for multiple other things, but the front-end hasn’t really been my priority.  That’ll have to change soon, I imagine.

Life has been busy over the last few months.  Beware, this is a “mega-update”….

Continue reading