<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: ViewLevel 2.0</title>
	<link>http://blog.firetree.net/2005/08/25/viewlevel-20/</link>
	<description>Sharing useful things with the world.</description>
	<pubDate>Thu, 24 Jul 2008 09:39:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: alex</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-650</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Sun, 13 Nov 2005 19:50:21 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-650</guid>
		<description>&lt;p&gt;&lt;strong&gt;Comments are now closed, because I can't keep up with support requests as blog comments. If you need help, then please subscribe to the new &lt;a href="http://penguin.firetree.net/cgi-bin/mailman/listinfo/viewlevel"&gt;mailing list&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>Comments are now closed, because I can&#8217;t keep up with support requests as blog comments. If you need help, then please subscribe to the new <a href="http://penguin.firetree.net/cgi-bin/mailman/listinfo/viewlevel">mailing list</a>.</strong></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-634</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 08 Nov 2005 13:30:21 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-634</guid>
		<description>&lt;p&gt;Could you compare / contrast this plugin with the category-levels plugin? Just wondering if your plugin has different features.
Thanks, jim&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Could you compare / contrast this plugin with the category-levels plugin? Just wondering if your plugin has different features.
Thanks, jim</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-511</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 10 Oct 2005 18:03:43 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-511</guid>
		<description>&lt;p&gt;Your functionality works for Page type posts too. With viewlevel 1 set for a Page, the user cannot view the page.&lt;/p&gt;

&lt;p&gt;However, the page is still listed in the sidebar. Itâ€™s be great if the page wasnâ€™t even listed in the sidebar unless they were logged in and of a certain level.&lt;/p&gt;

&lt;p&gt;Nice plugin.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Your functionality works for Page type posts too. With viewlevel 1 set for a Page, the user cannot view the page.</p>

<p>However, the page is still listed in the sidebar. Itâ€™s be great if the page wasnâ€™t even listed in the sidebar unless they were logged in and of a certain level.</p>

<p>Nice plugin.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: TedFox</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-478</link>
		<dc:creator>TedFox</dc:creator>
		<pubDate>Mon, 03 Oct 2005 15:27:26 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-478</guid>
		<description>&lt;p&gt;doesn't work together with event calendar plugin? or rather. the event  plugin doesn't check for view levels?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>doesn&#8217;t work together with event calendar plugin? or rather. the event  plugin doesn&#8217;t check for view levels?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Edelholz</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-477</link>
		<dc:creator>Edelholz</dc:creator>
		<pubDate>Mon, 03 Oct 2005 12:50:29 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-477</guid>
		<description>&lt;p&gt;Hey alex,
this is already the second plugin you wrote that I really like. And this time, I don't even have anything to complain about ;).
Anyway, I just wanted to bring a little bug (?) to your attention. In viewlevel2.php, function vl_restricted(), you're checking whether the viewlevel is above 0. But as the function is supposed to indicate all the posts that are only viewable by registered user (to my understanding), you have to check if the viewlevel is above -1, because when the viewlevel is set to zero for a post, only registered users can see it.
So far, and thanks for all the fish :). Great plugin.&lt;/p&gt;

&lt;p&gt;my code excerpt:
if($vl&#62;-1)
     $result=$locked&lt;em&gt;text;
  else
     $result=$not&lt;/em&gt;locked_text;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hey alex,
this is already the second plugin you wrote that I really like. And this time, I don&#8217;t even have anything to complain about ;).
Anyway, I just wanted to bring a little bug (?) to your attention. In viewlevel2.php, function vl_restricted(), you&#8217;re checking whether the viewlevel is above 0. But as the function is supposed to indicate all the posts that are only viewable by registered user (to my understanding), you have to check if the viewlevel is above -1, because when the viewlevel is set to zero for a post, only registered users can see it.
So far, and thanks for all the fish :). Great plugin.</p>

<p>my code excerpt:
if($vl&gt;-1)
     $result=$locked<em>text;
  else
     $result=$not</em>locked_text;</p>]]></content:encoded>
	</item>
	<item>
		<title>By: TedFox</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-471</link>
		<dc:creator>TedFox</dc:creator>
		<pubDate>Sat, 01 Oct 2005 08:09:32 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-471</guid>
		<description>&lt;p&gt;It'll be nice that in addition to setting default view levels, how about an option page to set a different default level for different categories, with the viewing level at the lowest default level for all the categories an entry is in. (or maybe highest. haven't quite thought about it)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>It&#8217;ll be nice that in addition to setting default view levels, how about an option page to set a different default level for different categories, with the viewing level at the lowest default level for all the categories an entry is in. (or maybe highest. haven&#8217;t quite thought about it)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-447</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Wed, 28 Sep 2005 11:58:09 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-447</guid>
		<description>&lt;p&gt;&lt;strong&gt;quayso:&lt;/strong&gt; Sorry, but &lt;code&gt;get_archives()&lt;/code&gt; reads the database directly, and it doesn't provide any plugin hooks. You'd have to write a whole new version of it if you want to have that functionality and still hide 'hidden' posts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;jason:&lt;/strong&gt; Yeah. Again, the calendar reads the database all on its own, and doesn't provide any plugin hooks. This same thing happens on my website (not firetree.net - another one). For &lt;em&gt;my&lt;/em&gt; site it's not too bad, since we don't really mind if visitors know that events are happening, we just want to hide the details.&lt;/p&gt;

&lt;p&gt;Some integration between EventCalendar and ViewLevel plugins would probably be good though. I don't have time for it right now.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;jonny:&lt;/strong&gt; Your example was garbled. Try emailing it directly to me.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><strong>quayso:</strong> Sorry, but <code>get_archives()</code> reads the database directly, and it doesn&#8217;t provide any plugin hooks. You&#8217;d have to write a whole new version of it if you want to have that functionality and still hide &#8216;hidden&#8217; posts.</p>

<p><strong>jason:</strong> Yeah. Again, the calendar reads the database all on its own, and doesn&#8217;t provide any plugin hooks. This same thing happens on my website (not firetree.net - another one). For <em>my</em> site it&#8217;s not too bad, since we don&#8217;t really mind if visitors know that events are happening, we just want to hide the details.</p>

<p>Some integration between EventCalendar and ViewLevel plugins would probably be good though. I don&#8217;t have time for it right now.</p>

<p><strong>jonny:</strong> Your example was garbled. Try emailing it directly to me.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: johnny</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-444</link>
		<dc:creator>johnny</dc:creator>
		<pubDate>Wed, 28 Sep 2005 07:21:51 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-444</guid>
		<description>&lt;p&gt;I tried to add your padlock code but couldn't get it to work&lt;/p&gt;

&lt;p&gt;here is my post.php file.
[garbled]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I tried to add your padlock code but couldn&#8217;t get it to work</p>

<p>here is my post.php file.
[garbled]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-422</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Tue, 27 Sep 2005 18:24:59 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-422</guid>
		<description>&lt;p&gt;One thing I just noticed is that it will highlight the day in the calendar of a restricted post when viewed by a 'non-authorized' viewer. Clicking through produces a 'no results' result.  I'm interested in learning more about plug-ins with WP, so I'm poking around a little to see how to resolve it ... Anyone else notice the same behavior?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>One thing I just noticed is that it will highlight the day in the calendar of a restricted post when viewed by a &#8216;non-authorized&#8217; viewer. Clicking through produces a &#8216;no results&#8217; result.  I&#8217;m interested in learning more about plug-ins with WP, so I&#8217;m poking around a little to see how to resolve it &#8230; Anyone else notice the same behavior?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-370</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Fri, 23 Sep 2005 18:42:16 +0000</pubDate>
		<guid>http://blog.firetree.net/2005/08/25/viewlevel-20/#comment-370</guid>
		<description>&lt;p&gt;Nevermind ... after I wrote that last comment, I did a little more  trial and error and figured it out. Somehow I misread the viewlevel custom field set up the first few times around (It is Friday aftenoon) &lt;/p&gt;

&lt;p&gt;Great Work!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Nevermind &#8230; after I wrote that last comment, I did a little more  trial and error and figured it out. Somehow I misread the viewlevel custom field set up the first few times around (It is Friday aftenoon) </p>

<p>Great Work!</p>]]></content:encoded>
	</item>
</channel>
</rss>
