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 Bubble Stick

    LED Bubble Stick

    February 6th, 2006

    Technomoves.com was kind enough to send us a few gadgets, one of which was the cheap, easy to use LED Bubble Stick

    The LED Bubble Stick

    Pros:

    • Cool color changing effect
    • Fairly sturdy

    Cons:

    • On /Off button tends to malfunction after extended use or battery replacement
    • Turns off on impact

    Video Preview:
    LED Bubble Stick

    Top View:
    LED Bubble Stick

    The stick itself is fairly sturdy on the outside, and will probably not break after extended drops. The only problem with dropping or hitting the stick against an object is that it will shut off automatically. It’s designed to be easy to use, the red on/off button is easy to press, batteries are easy to replace, and it’s lightweight and easy to carry around. The real flaws in the design begin to show after tinkering with the LED stick for a while. Sometimes the stick would not turn off when trying to press the button, and the bottom metal piece that held the batteries in, needed to be adjusted. Other times the exact opposite occurred and I could not get the LED stick to turn on without adjusting the metal end. The hassle of making sure the stick would stay lit became very tedious at times.

    Practically speaking this toy really stands out because of the cool effect it creates while swinging it. The stick blinks extremely fast and, when swung, creates different colors with a blurred effect to them. You can wave it around with your hands to create interesting patterns, or can use the string that comes already attached to the end to swing it around (though the metal piece that attaches to the string also broke off very easily). Other uses besides waving it around or dancing with it are quite limited and it is difficult to do any sort of juggling or tossing with it. Although, I felt as if I was getting a great effect and a nifty toy for the money I paid.

    Overall, the LED Bubble Stick boils down to a fun, cheap toy that might keep you occupied for a while. With the cheap price this is a great toy to pack along for a rave or party. Though the one downfall that makes this toy grow old fairly quick is that is can get troublesome to use at times and doesn’t have a large variety of uses.

    Click here for a direct link to the technomoves.com page to purchase the LED Bubble Sticks

    Leave a Reply

    You must be logged in to post a comment.