Licensed under the GPL Version: 2.0 Author: Kates Gasis Author URI: http://katesgasis.com */ /****** EDIT THIS FIRST *********/ $cat_to_hide = 1; /********************************/ function sideblog_where($query) { global $cat_to_hide; $now = current_time('mysql'); if(is_home()){ return $query . ' AND category_id <> ' . $cat_to_hide . ' '; } return $query; } add_filter('posts_where','sideblog_where',10); function sideblog_join($query) { global $wpdb; if(is_home()){ $newquery = $query . " LEFT JOIN $wpdb->post2cat ON ($wpdb->posts.ID = $wpdb->post2cat.post_id) "; return $newquery; } return $query; } add_filter('posts_join','sideblog_join',10); function sideblog($params="title=no&permalinks=no&limit=1") { global $wpdb, $cat_to_hide; $cat_to_show = $cat_to_hide; $title = ""; $permalinks = ""; $limit = "1"; $side_blog_queries = explode("&", $params); foreach($side_blog_queries as $side_blog_query){ $attributes = explode("=", $side_blog_query); $name = strtolower($attributes[0]); $value = strtolower($attributes[1]); switch($name){ case "title": $title = $value; break; case "permalinks": $permalinks = $value; break; case "limit": $value=(int) $value; if($value <> 0 && !empty($value) && !is_null($value)){ $limit=$value; } break; } } $now = current_time('mysql'); $side_blog_contents = $wpdb->get_results("SELECT $wpdb->posts.ID, $wpdb->posts.post_title, $wpdb->posts.post_content FROM $wpdb->posts, $wpdb->post2cat WHERE $wpdb->posts.ID = $wpdb->post2cat.post_id AND $wpdb->post2cat.category_id=" . $cat_to_show . " AND $wpdb->posts.post_status='publish' AND $wpdb->posts.post_password='' AND $wpdb->posts.post_date < '" . $now . "' ORDER BY $wpdb->posts.post_date DESC LIMIT " . $limit); foreach($side_blog_contents as $side_blog_content) { $side_blog_output = "
  • "; if($title == "true"){ $side_blog_output .= "
    $side_blog_content->post_title
    \n";} $side_blog_output .= "
    $side_blog_content->post_content\n"; if($permalinks == "true"){ $side_blog_output = "$side_blog_output - ID) . "\" title=\"Permalink to $side_blog_content->post_title\">#\n";} $side_blog_output .= "
  • \n"; echo $side_blog_output; } } ?> Ravedigital | DJ, Turntables, Raves, EDM, Reviews » Blog Archive » LED Color Changing Cube

    LED Color Changing Cube

    November 2nd, 2005

    Our friends at Technomoves.com sent me a bunch of gadgets to review (full disclaimer: technomoves is an advertisor with glowsticking.com and ravedigital).

    One of them happens to to be this little gem: the LED color changing cube.

    The LED Light Cube
    Pros: Waterproof, very bright colors. Color changing.
    Cons: Made of hard plastic, which may or may not suit your tastes.
    Video: [LED Color Changing Cube Video (see it in action)]

    Top View:
    LED Color-Changing Cube

    This device is a very well-crafted light toy that also happens to be water proof, which means it could possibly be used in drinks and such to enhance the mood of any night party. Because it’s water proof, it’s probably very durable in the hot atmopshere of any party, indoors or out. Pressing the sturdy rubber button offer a variety of different colors, while the final options smoothly cycles through the range of colors.

    Bottom View:
    Led Color Changing cube - back

    In all, this is a very interesting device that can be used in all manners of ways. With three of these you can conceivably juggle with them providing for a very interesting effect. With one of these in each hand, you can dance with them.

    One caveat: The plastic seems to be of the very hard type, much akin to glass. Getting hit in the head with one of these, or hitting a party goer in the head with one of these, coupled with the less than rounded edges (looks like an ice cube), is bound to be a less than pleasant experience. Obviously, of course, unlike glass, these won’t shatter, and are probably much safer than what the impression I probably gave you.

    Conclusions: This toy just smells of quality. The target segment is mostly mainstream, for people who may want to use this to decorate and enhance the mood with the subtly shifting colors, but can also be used by hardcore partygoers and dancers for other uses.

    One Response to “LED Color Changing Cube”

    1. Hallik Says:

      Oooooh, colorful!

    Leave a Reply

    You must be logged in to post a comment.