( ( $blogs[0] == 'site' ) || ( $blogs[0] == 'children' ) || ( $blogs[0] == 'siblings' ) ) { $mt = MT::get_instance(); $ctx = $mt->context(); $blog = $ctx->stash('blog'); if (!empty($blog) && $blog->class == 'blog') { require_once('class.mt_blog.php'); $blog_class = new Blog(); $blogs = $blog_class->Find("blog_parent_id = " . $blog->parent_id); $allow = array(); foreach($blogs as $b) { if ($b->id == $this_blog || (isset($access_overrides[$b->id]) && ($access_overrides[$b->id] == MULTIBLOG_ACCESS_ALLOWED))) array_push($allow, $b->id); } } return count($allow) ? array('include_blogs', $allow) : null; } # include_blogs="1,2,3,4" elseif ($is_include && count($blogs)) { # Filter @blogs returning only those with allow override $allow = array(); foreach ($blogs as $b) if ($b == $this_blog || (isset($access_overrides[$b]) && ($access_overrides[$b] == MULTIBLOG_ACCESS_ALLOWED))) $allow[] = $b; return count($allow) ? array('include_blogs', $allow) : null; } # exclude_blogs="1,2,3,4" else { # Get allow override blogs and then omit # the specified excluded blogs. $allow = array(); foreach (array_keys($access_overrides) as $o) if (($o == $this_blog) || (isset($access_overrides[$o]) && ($access_overrides[$o] == MULTIBLOG_ACCESS_ALLOWED))) $allow[] = $o; if (!isset($access_overrides[$this_blog])) $allow[] = $this_blog; $seen = array(); foreach ($blogs as $b) $seen[$b] = 1; $blogs = array(); foreach ($allow as $a) if (!isset($seen[$a])) $blogs[] = $a; return count($blogs) ? array('include_blogs', $blogs) : null; } } } ?> Welcome Reality Networking Radio Listeners | Aaron Bailey

Welcome Reality Networking Radio Listeners

reality-networking.png


To those listeners of Tim Houston's Reality Networking Radio arriving here to learn more about me, welcome!

You can follow me on Twitter, add me on LinkedIn or watch this space for links discussed on the show.

If you'd like to discuss how I might be able to help with your social networking/marketing needs, please email me (aaron@601am.com) or give me a call (+1.800.820.9352).

Leave a comment

Close