<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>fortes.com - Latest Comments in Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/</link><description></description><language>en</language><lastBuildDate>Wed, 07 Jan 2009 17:13:41 -0000</lastBuildDate><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-4968617</link><description>Oops sorry I had multiple tabs opened, I think I posted in the wrong thread!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Katy</dc:creator><pubDate>Wed, 07 Jan 2009 17:13:41 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-4888898</link><description>Response:&lt;br&gt;&lt;a href="http://datarave.disqus.com/post_levels_2_working_title/" rel="nofollow"&gt;http://datarave.disqus.com/post_levels_2_workin...&lt;/a&gt;&lt;br&gt;&lt;br&gt;As I said above, I'm no longer responding in this thread.  In another couple of weeks, I won't even provide a courtesy redirect.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">x11tech</dc:creator><pubDate>Mon, 05 Jan 2009 01:07:22 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-4877529</link><description>Shouldn't a non-registered user still be able to see the private post (for example, the title &amp; excerpt if that was set in the settings) even if they aren't logged in?&lt;br&gt;&lt;br&gt;I tried logging out and can't see the post at all... whereas in my older WP installation, I'm still able to see the title and excerpt.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Katy</dc:creator><pubDate>Sun, 04 Jan 2009 04:39:56 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-4589696</link><description>v0.10.0 Beta, the first public release is now available on my website:&lt;br&gt;&lt;a href="http://www.datarave.net/zfh/2008/12/23/post-levels-2-v0100/" rel="nofollow"&gt;http://www.datarave.net/zfh/2008/12/23/post-lev...&lt;/a&gt;&lt;br&gt;&lt;br&gt;This version has been tested with Wordpress 2.6.1 and 2.7.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">x11tech</dc:creator><pubDate>Tue, 23 Dec 2008 10:36:56 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-4526226</link><description>I'll no longer be responding to comments in this thread...  although I will be monitoring this thread for a while in case Fortes would like to collaborate on this project going forward.&lt;br&gt;&lt;br&gt;I started my own DISQUS thread for this topic, and I intend to release my own version sometime this month (maybe not through Wordpress Extend, but at least through my own blog.)&lt;br&gt;&lt;br&gt;&lt;a href="http://datarave.disqus.com/post_levels_2_working_title/" rel="nofollow"&gt;http://datarave.disqus.com/post_levels_2_workin...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">x11tech</dc:creator><pubDate>Fri, 19 Dec 2008 13:44:55 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-4517957</link><description>You'll find what you're looking for using this SQL query:&lt;br&gt;&lt;br&gt;SELET * FROM prefix_postmeta WHERE meta_key LIKE 'post_level';&lt;br&gt;&lt;br&gt;Replace "prefix_" with your table prefix.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">x11tech</dc:creator><pubDate>Fri, 19 Dec 2008 04:42:34 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-4517421</link><description>Found the bug tracker for this issue, definitely a Wordpress issue...  currently targetted for 2.8&lt;br&gt;&lt;br&gt;&lt;a href="http://trac.wordpress.org/ticket/5608" rel="nofollow"&gt;http://trac.wordpress.org/ticket/5608&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">x11tech</dc:creator><pubDate>Fri, 19 Dec 2008 03:07:51 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-4515058</link><description>I looked at what your fix did and I incorporated in to my code with a small modification.  Thanks!&lt;br&gt;&lt;br&gt;I changed your code from:&lt;br&gt;&lt;br&gt;$sql = preg_replace("/OR ({$wpdb-&amp;gt;posts}\.)?post_status[\s]*=[\s]*[\'|\"]private[\'|\"]/", " OR ({$wpdb-&amp;gt;posts}.post_status = 'private'  ... etc&lt;br&gt;&lt;br&gt;to&lt;br&gt;&lt;br&gt;$sql = preg_replace("/({$wpdb-&amp;gt;posts}\.)?post_status[\s]*=[\s]*[\'|\"]private[\'|\"]/", " ({$wpdb-&amp;gt;posts}.post_status = 'private'  ... etc&lt;br&gt;&lt;br&gt;I discovered that the inclusion of the OR causes a problem with searching for content on the blog because (and this may be a bug in Wordpress 2.6.1 code) there is a difference in the base SQL query (prior to the query change that PostLevels does) that says "look for public &amp; private posts" when you're not searching...  but when you do a search it says "look for public posts, and private posts that match your user ID"...&lt;br&gt;&lt;br&gt;Btw, that query is dependent upon a function call to function postlevels_query_match...  so you should update the match value since you changed the string in the preg_replace function call.&lt;br&gt;&lt;br&gt;// Tells us whether or not we should edit the query&lt;br&gt;function postlevels_query_match($sql)&lt;br&gt;{&lt;br&gt;	global $wpdb;&lt;br&gt;	//return ((preg_match("/post_status[\s]*=[\s]*[\'|\"]publish[\'|\"]/", $sql)) &amp;&amp; (preg_match("/[\s|,]{$wpdb-&amp;gt;posts}[\s|,]/", $sql)));&lt;br&gt;	return ((preg_match("/post_status[\s]*=[\s]*[\'|\"]private[\'|\"]/", $sql)) &amp;&amp; (preg_match("/[\s|,]{$wpdb-&amp;gt;posts}[\s|,]/", $sql)));&lt;br&gt;}&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Additionally this entire function is "broken" if you consider searching for posts.  I'm making a note of some odd query structure I'm seeing from Wordpress 2.6.1...  after I upgrade to 2.7 (whatever the latest code is) I may need to file a bug report with the wordpress dev team to clean up their SQL query structure.  Or, they may have fixed the problem I see in 2.7...  either way, additional code will need to be added to deal with the fact that users at a certain level should be able to see private posts by other users if the post_level is lower than their user_level.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">x11tech</dc:creator><pubDate>Thu, 18 Dec 2008 23:05:58 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-4514928</link><description>Bishop, I found and squashed the bug you're experiencing with the post prefix/suffix showing up:&lt;br&gt;&lt;br&gt;(spaces get stripped from the code sample below in display, but they're there.)&lt;br&gt;&lt;br&gt;function postlevels_the_title($title, $incomingpost = null)&lt;br&gt;{&lt;br&gt;   if( is_object($incomingpost) )&lt;br&gt;   {&lt;br&gt;      if( $incomingpost-&amp;gt;post_status == 'private' )&lt;br&gt;      {&lt;br&gt;          $title = str_replace("Private: ", "", $title);&lt;br&gt;          return get_option('postlevels_private_before_title') . $title . get_option('postlevels_private_after_title') . $pldebug;&lt;br&gt;       }&lt;br&gt;       else&lt;br&gt;       {&lt;br&gt;          return $title;&lt;br&gt;       }&lt;br&gt;   }&lt;br&gt;   else&lt;br&gt;   {&lt;br&gt;       $iPos = strpos( $title, "Private: " );&lt;br&gt;       if( $iPos === false )&lt;br&gt;       {&lt;br&gt;          return $title;&lt;br&gt;       }&lt;br&gt;       else&lt;br&gt;       {&lt;br&gt;          $title = str_replace("Private: ", "", $title);&lt;br&gt;          return get_option('postlevels_private_before_title') . $title . get_option('postlevels_private_after_title');&lt;br&gt;       }&lt;br&gt;    }&lt;br&gt;}&lt;br&gt;&lt;br&gt;If Felipe decides to continue development, I'll be happy to work with him, but if not, I'll be going it alone.&lt;br&gt;&lt;br&gt;I opened a bugtracker to the public to help track bugs.  The explanation for this bug, why it happened, and the fix can be found there.  Once I've done extensive testing on my revision, I'll release it under a different plugin name (similar, but still different) and keep it current.  I need this plugin for my own site and Felipe unfortunately hasn't updated it in over a year, and hasn't responded to this thread in 4 months.  (No doubt he's busy working on other things, no disrespect intended to him.  He did an awesome job getting the plugin working in the first place as I said above.)&lt;br&gt;&lt;br&gt;&lt;a href="http://www.datarave.net/bt/bug_view_advanced_page.php?bug_id=54" rel="nofollow"&gt;http://www.datarave.net/bt/bug_view_advanced_pa...&lt;/a&gt;&lt;br&gt;&lt;br&gt;You will need to register an account to view the bugtracker.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">x11tech</dc:creator><pubDate>Thu, 18 Dec 2008 22:57:02 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-3384065</link><description>I have 2.6.3 and it works just fine. I have a weird little issue with using a post prefix and it showing up on my "pages" on the index page but no other pages (and they aren't "private" pages), but I can live with that since it is aesthetic rather than functional and doesn't detract from the whole.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bishop</dc:creator><pubDate>Wed, 29 Oct 2008 21:50:40 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-3384064</link><description>I have 2.6.3 and it works just fine. I have a weird little issue with using a post prefix and it showing up on my "pages" on the index page but no other pages (and they aren't "private" pages), but I can live with that since it is aesthetic rather than functional and doesn't detract from the whole.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bishop</dc:creator><pubDate>Wed, 29 Oct 2008 21:50:32 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-3356842</link><description>So we are at wordpress 2.6.3 and it's still not working. Fortes said he will do something... that was 3 months ago.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jenny</dc:creator><pubDate>Tue, 28 Oct 2008 22:57:20 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-2770145</link><description>Hi, All,&lt;br&gt;&lt;br&gt;I made the following change to the plugin and it works for me with Wordpress 2.6 and 2.6.2.  &lt;br&gt;&lt;br&gt;219a220&lt;br&gt;&amp;gt; &lt;br&gt;229c230&lt;br&gt;&amp;lt;     $sql = preg_replace("/({$wpdb-&amp;gt;posts}\.)?post_status[\s]*=[\s]*[\'|\"]publish[\'|\"]/", " ({$wpdb-&amp;gt;posts}.post_status = 'publish' OR ({$wpdb-&amp;gt;posts}.post_status = 'private' AND (pl_{$wpdb-&amp;gt;postmeta}.meta_key = '$postlevels_post_key' AND pl_{$wpdb-&amp;gt;postmeta}.meta_value &amp;lt;= $postlevels_current_user_level )))", $sql);&lt;br&gt;---&lt;br&gt;&amp;gt;     $sql = preg_replace("/OR ({$wpdb-&amp;gt;posts}\.)?post_status[\s]*=[\s]*[\'|\"]private[\'|\"]/", " OR ({$wpdb-&amp;gt;posts}.post_status = 'private'  AND (pl_{$wpdb-&amp;gt;postmeta}.meta_key = '$postlevels_post_key' AND pl_{$wpdb-&amp;gt;postmeta}.meta_value &amp;lt;= $postlevels_current_user_level ))", $sql);</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sushil</dc:creator><pubDate>Tue, 30 Sep 2008 21:43:53 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-2629158</link><description>Well Post Levels just started working on its own in 2.6.1 .. but there are a lot of bugs with it.&lt;br&gt;For example, it causes WP Stats not to work, it conflicts with WP Page-Navi plugin and it makes my 'Recent Posts' lists double link each entry....</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Katy</dc:creator><pubDate>Thu, 25 Sep 2008 14:30:23 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-2306851</link><description>I'm very sorry about the post spam.&lt;br&gt;I wanted to clarify more:  If I set a post to "make this post private" and set any postlevel at all the post publishes when saved, regardless of whether it is scheduled or not or if I hit the publish button.&lt;br&gt;That should sum it all up then...&lt;br&gt;&lt;br&gt;Truly a great plugin, thank you...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">manysounds</dc:creator><pubDate>Fri, 12 Sep 2008 16:45:47 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-2306410</link><description>I have some additional info on this quirk:&lt;br&gt;If I write a post and then schedule it for public and publish (now reads 'scheduled') and THEN set the post level it doesn't function properly.  The post gets the level tag but remains public and readable by all.&lt;br&gt;If I write a post and then set the post level, schedule and "make private" and then publish it publishes "right now"</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">manysounds</dc:creator><pubDate>Fri, 12 Sep 2008 16:06:13 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-2304659</link><description>Hello,&lt;br&gt;The bug I have is when I set a post level I can't schedule the post to publish on a future date.&lt;br&gt;Instead it publishes immediately and this causes me to manually publish member-only type content daily.  Since I can't schedule post-leveled content this sorta ruins my chances of real vacation  :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">manysounds</dc:creator><pubDate>Fri, 12 Sep 2008 14:09:37 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-1895952</link><description>I antto change posts enmass and wondered if this could be done via sql.  Is the post level stored in a table and if so what is the column name.  Ive had a look via phpmyadmin and dont seem to be able to find refernce to levels</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">claire</dc:creator><pubDate>Thu, 28 Aug 2008 12:07:43 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-1716222</link><description>Hello Katy,&lt;br&gt;hello all,&lt;br&gt;&lt;br&gt;How did you make Post Levels work in wordpress 2.6.1? &lt;br&gt;&lt;br&gt;In my case the following applies to a "private" post regarding its visibility:&lt;br&gt;- posts are NOT shown to an user if user level "0" assigned &lt;br&gt;- posts ARE shown to any user if its user level is &amp;gt; "0" &lt;br&gt;No further options.&lt;br&gt;&lt;br&gt;So users with user level "2" can read posts marked "7" :o(&lt;br&gt;&lt;br&gt;Awaiting desperately the next post level update :o)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">unmarked post level user</dc:creator><pubDate>Thu, 21 Aug 2008 09:47:37 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-1703574</link><description>Hello.. me again. I actually upgraded to 2.6.1 and Post Levels seems to work perfectly right now!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Katy</dc:creator><pubDate>Wed, 20 Aug 2008 14:34:18 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-1657367</link><description>Oh and also, I'm glad that you're working on this plugin again! =) I think you stopped supporting this plugin for a while and I was desperately looking for a similar plugin so I can upgrade but never found one.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Katy</dc:creator><pubDate>Tue, 19 Aug 2008 20:41:35 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-1657314</link><description>I've been using this plugin for a while now and refuse to upgrade WP because it doesn't work in newer versions. Please fix this for 2.6. If you do, I'll be glad to donate money!!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Katy</dc:creator><pubDate>Tue, 19 Aug 2008 20:36:07 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-1542507</link><description>I really like this plugin and would love to see a working version for 2.6 and later.  I'm familiar with PHP and MySQL and once I learn how to write plugins for WordPress, I'd be happy to help support you in keeping it current.&lt;br&gt;&lt;br&gt;Great job on the original code and thank you!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">x11tech</dc:creator><pubDate>Sat, 16 Aug 2008 21:12:55 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-1154613</link><description>Hello! Add me to the list of people who are desperately hoping for an update to PostLevels that is compatible with the latest version of WP.  This is a great plugin, but it only half-works in WP 2.3.1 and doesn't work at all in WP 2.6 (which I'd really love to upgrade to).  I can't find anything else like it available, so I really hope you'll have time to update the plugin soon. Thank you for all your work on this so far!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">grittysweet</dc:creator><pubDate>Sun, 10 Aug 2008 21:12:52 -0000</pubDate></item><item><title>Re: Post-Levels WordPress Plugin</title><link>http://fortes.disqus.com/post_levels_wordpress_plugin/#comment-1105665</link><description>That would be just great!  Am looking forward to it, and am here to support you in any way you think is helpful.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">karnesb</dc:creator><pubDate>Tue, 05 Aug 2008 17:23:38 -0000</pubDate></item></channel></rss>