<?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>BuyNowShop &#187; style</title>
	<atom:link href="http://buynowshop.com/tag/style/feed/" rel="self" type="application/rss+xml" />
	<link>http://buynowshop.com</link>
	<description>WordPress administration, installation, and development.</description>
	<lastBuildDate>Tue, 07 Sep 2010 02:38:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>BNS Corner Logo 1.2</title>
		<link>http://buynowshop.com/2009/11/bns-corner-logo-1-2/</link>
		<comments>http://buynowshop.com/2009/11/bns-corner-logo-1-2/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 21:34:18 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[bns-corner-logo]]></category>
		<category><![CDATA[cais]]></category>
		<category><![CDATA[style]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=1042</guid>
		<description><![CDATA[The free WordPress plugin BNS Corner Logo version 1.2 is live at WordPress.org as of Nov 29, 2009.


Related posts:<ol><li><a href='http://buynowshop.com/2009/09/new-wordpress-plugin-bns-corner-logo/' rel='bookmark' title='Permanent Link: New WordPress Plugin: BNS Corner Logo'>New WordPress Plugin: BNS Corner Logo</a></li>
<li><a href='http://buynowshop.com/2010/04/wordpress-3-0-bns-plugin-updates/' rel='bookmark' title='Permanent Link: WordPress 3.0 BNS Plugin Updates'>WordPress 3.0 BNS Plugin Updates</a></li>
<li><a href='http://buynowshop.com/2010/02/bns-smf-feeds-1-3/' rel='bookmark' title='Permanent Link: BNS SMF Feeds 1.3'>BNS SMF Feeds 1.3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished committing the changes to the free <a href="http://wordpress.org">WordPress</a> plugin <a href="http://buynowshop.com/plugins/bns-corner-logo/">BNS Corner Logo</a>. The significant change for this update is the addition of support for your <a href="http://gravatar.com/">Gravatar</a>. Currently the Gravatar that will display, if the option is checked, will be the default administrator&#8217;s gravatar, that is the one associated with your blog&#8217;s User-ID=1.</p>
<p>Here is the recent changelog:</p>
<pre><code>== Changelog ==

= 1.2 =
* completed Gravatar implementation - displays Gravatar associated with user-ID 1 (main administrator)
* added plugin specific style sheet (required by Gravatar implementation)
* noted suggested maximum pixel size of Gravatar but no restrictions set
* updated screenshot of option panel
</code></pre>
<p>&#8230; and here is the new look of the option panel:<br />
<div id="attachment_1046" class="wp-caption aligncenter" style="width: 445px"><img src="http://buynowshop.com/wp-content/uploads/2009/11/screenshot-11.png" alt="BNS Corner Logo Option Panel as of version 1.2" title="BNS Corner Logo v1.2" width="435" height="435" class="size-full wp-image-1046" /><p class="wp-caption-text">BNS Corner Logo Option Panel as of version 1.2</p></div></p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>


<p>Related posts:<ol><li><a href='http://buynowshop.com/2009/09/new-wordpress-plugin-bns-corner-logo/' rel='bookmark' title='Permanent Link: New WordPress Plugin: BNS Corner Logo'>New WordPress Plugin: BNS Corner Logo</a></li>
<li><a href='http://buynowshop.com/2010/04/wordpress-3-0-bns-plugin-updates/' rel='bookmark' title='Permanent Link: WordPress 3.0 BNS Plugin Updates'>WordPress 3.0 BNS Plugin Updates</a></li>
<li><a href='http://buynowshop.com/2010/02/bns-smf-feeds-1-3/' rel='bookmark' title='Permanent Link: BNS SMF Feeds 1.3'>BNS SMF Feeds 1.3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/11/bns-corner-logo-1-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Styling Comments by Author</title>
		<link>http://buynowshop.com/2009/05/styling-comments-by-author/</link>
		<comments>http://buynowshop.com/2009/05/styling-comments-by-author/#comments</comments>
		<pubDate>Wed, 27 May 2009 03:13:39 +0000</pubDate>
		<dc:creator>Edward Caissie</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://buynowshop.com/?p=73</guid>
		<description><![CDATA[Styling a WordPress theme's comment author's post by the blog registered user id.


Related posts:<ol><li><a href='http://buynowshop.com/2009/06/multiple-contributors-in-desk-mess-mirrored/' rel='bookmark' title='Permanent Link: Multiple Contributors in Desk Mess Mirrored'>Multiple Contributors in Desk Mess Mirrored</a></li>
<li><a href='http://buynowshop.com/2009/11/bns-corner-logo-1-2/' rel='bookmark' title='Permanent Link: BNS Corner Logo 1.2'>BNS Corner Logo 1.2</a></li>
<li><a href='http://buynowshop.com/2010/01/wordcamp-toronto-2010-wcto/' rel='bookmark' title='Permanent Link: WordCamp Toronto 2010 #wcto'>WordCamp Toronto 2010 #wcto</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As I was working through the various files involved in my <a href="http://wordpress.org">WordPress</a> <a href="http://buynowshop.com/2009/05/desk-mess-mirrored">Desk Mess Mirrored</a> theme I discovered I did not like the original comment author CSS class assignment code.</p>
<p>The original code was as follows:</p>
<pre><code>&lt;?php foreach ($comments as $comment) : ?&gt;
  &lt;div class="&lt;?php if ($comment-&gt;comment_author_email == "<a href="mailto:xxx@yyy.com">xxx@yyy.com</a>") echo 'administrator'; else echo $oddcomment; ?&gt; item" id="comment-&lt;?php comment_ID() ?&gt;"&gt;</code></pre>
<p>It did not thrill me with the choice of using the author&#8217;s email address. As far as I see it this could possibly lead to misrepresented comments or replies, if the blog owner was not careful with their contact information and their comment moderation settings.</p>
<p>I started with the idea that there must be a way to check the comment author and compare to the registered users list of the blog. This started my searches and brought me to this codex article: <a href="http://codex.wordpress.org/User:Jalenack/Comment_Loop_Beauty">http://codex.wordpress.org/User:Jalenack/Comment_Loop_Beauty</a> with the following code reference:</p>
<pre><code>&lt;cite&lt;?php if ($comment-&gt;user_id == '1') echo ' class="admin"'; ?&gt;&gt;
  &lt;?php comment_author() ?&gt;
&lt;/cite&gt;</code></pre>
<p>Which I expanded upon to this:</p>
<pre><code>&lt;?php foreach ($comments as $comment) : ?&gt;
  &lt;div class="&lt;?php if ($comment-&gt;user_id == '1') echo 'administrator';
    /* elseif ($comment-&gt;user_id == '2') echo 'administrator'; */
    /* add additional user_id following above example, echo the 'CSS element' you want to use for styling */
    ...
    &lt;?php endif; ?&gt;</code></pre>
<p>This snippet of code writes the class administrator for the user_id #1 (generally the blog owner) and can then be further modified for each user_id as appropriate, changing the class or not as the design requires.</p>
<p>To find an individual user_id, go to your blog&#8217;s Dashboard; under Users, click on Authors &amp; Users. Click on the Username (to edit); now in the address bar you will see a URL address starting with: <em>http://your_blog_url/wp-admin/user-edit.php?user_id=x&#8230;</em> , where x (a number) is the user_id for that particular Username.</p>
<p style='text-align:left'>&copy; 2009, <a href='http://buynowshop.com'>BuyNowShop</a>. All rights reserved. </p>


<p>Related posts:<ol><li><a href='http://buynowshop.com/2009/06/multiple-contributors-in-desk-mess-mirrored/' rel='bookmark' title='Permanent Link: Multiple Contributors in Desk Mess Mirrored'>Multiple Contributors in Desk Mess Mirrored</a></li>
<li><a href='http://buynowshop.com/2009/11/bns-corner-logo-1-2/' rel='bookmark' title='Permanent Link: BNS Corner Logo 1.2'>BNS Corner Logo 1.2</a></li>
<li><a href='http://buynowshop.com/2010/01/wordcamp-toronto-2010-wcto/' rel='bookmark' title='Permanent Link: WordCamp Toronto 2010 #wcto'>WordCamp Toronto 2010 #wcto</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://buynowshop.com/2009/05/styling-comments-by-author/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
