<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BNI Embarcadero &#187; Members Only</title>
	<atom:link href="http://www.bniembarcadero.com/category/members-only/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bniembarcadero.com</link>
	<description>*Word-of-Mouth* is the most cost-effective form of advertising possible.</description>
	<lastBuildDate>Wed, 28 Jul 2010 22:53:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Tonight&#8217;s Party is at Dan&#8217;s, not Sharon&#8217;s. Do you know?</title>
		<link>http://www.bniembarcadero.com/dan-not-sharon/</link>
		<comments>http://www.bniembarcadero.com/dan-not-sharon/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 18:28:20 +0000</pubDate>
		<dc:creator>Bradley Charbonneau</dc:creator>
				<category><![CDATA[Members Only]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.bniembarcadero.com/?p=955</guid>
		<description><![CDATA[[poll id="8"]
]]></description>
			<content:encoded><![CDATA[<p>[poll id="8"]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bniembarcadero.com/dan-not-sharon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Roster (for members only)</title>
		<link>http://www.bniembarcadero.com/roster-members-only/</link>
		<comments>http://www.bniembarcadero.com/roster-members-only/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 20:55:41 +0000</pubDate>
		<dc:creator>Bradley Charbonneau</dc:creator>
				<category><![CDATA[Members Only]]></category>

		<guid isPermaLink="false">http://www.bniembarcadero.com/member-roster-for-members-only</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><?php<br />
  /*<br />
  Set the $order variable to whatever you want to sort the authors'<br />
  list on. You can use any users table column name; examples are:<br />
  'ID', 'user_nicename', 'user_login', 'user_url', 'display_name',<br />
  and 'dateYMDhour' (registration date).<br />
  */<br />
?><br />
<?php<br />
  global $wpdb, $table_prefix; // set global WP vars needed for script</p>
<p>  $order = 'user_nicename'; // set order for users table query<br />
  $user_ids = $wpdb->get_col(&#8220;SELECT ID FROM $wpdb->users ORDER BY $order&#8221;); // query users</p>
<p>  foreach($user_ids as $user_id) : // start authors&#8217; profile &#8220;loop&#8221;</p>
<p>  $user = get_userdata($user_id); // retrieve author (i.e. user) details<br />
  $level = $table_prefix . &#8216;user_level&#8217;; // set &#8216;user_level&#8217; usermeta meta_key record<br />
  $user->user_level = $user->$level; // assign &#8216;user_level&#8217; property to $users<br />
  $role = $table_prefix . &#8216;capabilities&#8217;; // set &#8216;role&#8217; usermeta table meta_key record<br />
  $user->role = array_keys($user->$role); // assign &#8216;role&#8217; property to $user<br />
  $user->role = $user->role[0]; // make sure $user->role is not an array<br />
?><br />
<?php<br />
  /*<br />
  This is the authors' profile 'loop'. It displays info from the<br />
  profile for every author, along with a few bits of other author-<br />
  related data. Feel free to add, subtract, change layout; whatever<br />
  you'd like.</p>
<p>  These 'tags' will display "publically accessable" user info; what<br />
  is displayed by each is hopefully self-explanatory:</p>
<p>    <?php echo $user->aim; ?><br />
    <?php echo $user->description; ?><br />
    <?php echo $user->display_name; ?><br />
    <?php echo $user->first_name; ?><br />
    <?php echo $user->jabber; ?><br />
    <?php echo $user->icq; ?><br />
    <?php echo $user->ID; ?><br />
    <?php echo $user->last_name; ?><br />
    <?php echo $user->msn; ?><br />
    <?php echo $user->nickname; ?><br />
    <?php echo $user->role; ?><br />
    <?php echo $user->user_email; ?><br />
    <?php echo $user->user_level; ?><br />
    <?php echo $user->user_login; ?><br />
    <?php echo $user->user_nicename; ?><br />
    <?php echo $user->user_registered; ?><br />
    <?php echo $user->user_url; ?><br />
    <?php echo $user->yim; ?><br />
  */<br />
?><br />
<?<br />
  /*<br />
  if(('admin' != $user->user_login) &#038;&#038; ($user->wp_user_level > 0)) :<br />
  Tests for accounts that are not &#8216;admin&#8217; or above &#8216;subscriber&#8217; role.</p>
<p>  To display the admin account, comment out or remove the first &#8216;if&#8217;<br />
  line and uncomment the one right after it.</p>
<p>  The additional variations for the if statement listed below can be<br />
  used if you want to check whether the user is assigned the role of<br />
  &#8216;author&#8217;, or author/contributor.</p>
<p>  Default roles you can work with here are:</p>
<p>    subscriber<br />
    contributor<br />
    author<br />
    editor<br />
    administrator</p>
<p>  If you&#8217;re using a plugin that lets you create custom roles, these<br />
  should work with it as well.</p>
<p>  Finally, if you want to display absolutely every user on your blog,<br />
  use something like:</p>
<p>    if( $user->user_login ) :</p>
<p>  */<br />
?><br />
<?php<br />
  // if( ('admin' != $user->user_login) &#038;&#038; ($user->user_level > 0) ) :<br />
   // if( $user->user_level > 0 ) : // show all users above the role of &#8216;subscriber&#8217;<br />
  //  if( $user->role == &#8216;author&#8217; ) : // show only users with a role of &#8216;author&#8217;<br />
	 if( $user->role == &#8216;editor&#8217; ) : // show only users with a role of &#8216;subscriber&#8217;<br />
	// if( ($user->role == &#8216;subscriber&#8217;) || ($user->role == &#8216;editor&#8217;) ) : // show users with role of &#8216;author&#8217; or &#8216;subscriber&#8217;<br />
  //  if( ($user->role == &#8216;author&#8217;) || ($user->role == &#8216;contributor&#8217;) ) : // show users with role of &#8216;author&#8217; or &#8216;contributor&#8217;<br />
?></p>
<h5 id="user-<?php echo $user->ID; ?>&#8221; class=&#8221;author-profile&#8221;><?php echo $user->first_name; ?> <?php echo $user->last_name; ?><?php<br />
  /*<br />
  Tests for and displays an author image. IMG element is assigned<br />
  the CSS class 'author-image'.</p>
<p>  Change $image_dir to directory used to store your author images;<br />
  start from blog root (example: 'wp-content/images'). Filename is<br />
  based on user_nicename (ex: user login 'Kaf Oseo' = 'kaf-oseo')<br />
  and 'jpg' file extension. Change $image_file the $author_image<br />
  variables if you want to use another user profile element (such<br />
  as user_nickname) or image type.<br />
  */<br />
  ?><br />
 <?php<br />
  $image_dir = 'wp-content/uploads/member_photos'; // directory where author images reside<br />
  $image_file = $user->user_nicename; // format for image name<br />
  $image_ext = &#8216;jpg&#8217;; // author image extension</p>
<p>  $image_path = trim($image_dir, &#8216;/&#8217;) . &#8216;/&#8217; . $image_file . &#8216;.&#8217; . $image_ext;<br />
  if(file_exists(ABSPATH . $image_path)) :<br />
    $author_image =  get_bloginfo(&#8216;home&#8217;) . &#8216;/&#8217; . $image_path;<br />
?><br />
 <img class="user-image" align="right" src="<?php echo $author_image; ?>&#8221; alt=&#8221;<?php echo $user->display_name; ?>&#8221; title=&#8221;<?php echo $user->display_name; ?>&#8221; /><br />
<?php endif; ?><br />
<?php if($user->biz_name) : ?><em><?php echo $user->biz_name; ?><?php endif; ?></em><?php if($user->biz_description) : ?>
<div class="biz-desc"><?php echo $user->biz_description; ?></div>
<p><?php endif; ?></h5>
<p><?php<br />
  /*<br />
  if($user->description)<br />
  Tests for and displays user description (i.e. Profile).<br />
  */<br />
?><br />
<?php<br />
  /*<br />
  if($user->user_email)<br />
  Tests for and displays email; uses WP&#8217;s antispambot() function<br />
  to encode the address so it&#8217;s displayed in browser but not read<br />
  by emailbots.<br />
  */<br />
?><br />
 <?php if($user->user_email) : ?><a href="mailto:<?php echo antispambot($user->user_email, 1); ?>&#8221;><?php echo antispambot($user->user_email); ?></a><?php endif; ?><br />
 <?php<br />
  /*<br />
  if($user->user_url &#038;&#038; !(&#8216;http://&#8217; == $user->user_url))<br />
  Tests for and displays web site url if one exists and isn&#8217;t just a &#8220;http://&#8221; with no<br />
  actual url.<br />
  */<br />
?><br />
 <?php if($user->user_url &#038;&#038; !(&#8216;http://&#8217; == $user->user_url)) : ?><a href="<?php echo $user->user_url; ?>&#8221;><?php echo $user->user_url; ?></a><br />
  <?php endif; ?><br />
<?php if($user->contact_address) : ?><?php echo $user->contact_address; ?><br /><?php endif; ?><br />
<?php if($user->contact_city) : ?><?php echo $user->contact_city; ?><?php endif; ?><?php if($user->contact_state) : ?> <?php echo $user->contact_state; ?><?php endif; ?> <?php if($user->contact_zip) : ?><?php echo $user->contact_zip; ?><?php endif; ?><br />
<?php if($user->contact_phone_o) : ?><br />O: <?php echo $user->contact_phone_o; ?><?php endif; ?><br />
<?php if($user->contact_phone_c) : ?><br />C: <?php echo $user->contact_phone_c; ?><?php endif; ?><br />
<?php if($user->contact_phone_f) : ?><br />F: <?php echo $user->contact_phone_f; ?><?php endif; ?><br />
<?php if($user->contact_phone_h) : ?><br />Home: <?php echo $user->contact_phone_h; ?><?php endif; ?></p>
<p><?php if($user->bni_trigger_1) : ?><br />
<h6>What are some &#8220;trigger&#8221; questions or statements that we can listen for to help bring you business?</h6>
<p><?php endif; ?>
<ul>
<li><?php if($user->bni_trigger_1) : ?><strong>Trigger #1: </strong><?php echo $user->bni_trigger_1; ?><?php endif; ?></li>
<li><?php if($user->bni_trigger_2) : ?><strong>Trigger #2: </strong><?php echo $user->bni_trigger_2; ?><?php endif; ?></li>
<li><?php if($user->bni_trigger_3) : ?><strong>Trigger #3: </strong><?php echo $user->bni_trigger_3; ?><?php endif; ?></li>
</ul>
<p><?php if($user->bni_power_team) : ?>BNI Power Team: <?php echo $user->bni_power_team; ?><?php endif; ?><br />
<?php if($user->bni_member_since) : ?>BNI Member Since: <?php echo $user->bni_member_since; ?><?php endif; ?></p>
<p><?php<br />
  endif; // end of admin and user_level test<br />
  endforeach; // end of authors' profile 'loop'<br />
?></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bniembarcadero.com/roster-members-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
