<?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>wordpress.sundskard.dk</title> <atom:link href="http://wordpress.sundskard.dk/feed" rel="self" type="application/rss+xml" /><link>http://wordpress.sundskard.dk</link> <description></description> <lastBuildDate>Mon, 14 Nov 2011 19:54:35 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Performance updates</title><link>http://wordpress.sundskard.dk/archives/177</link> <comments>http://wordpress.sundskard.dk/archives/177#comments</comments> <pubDate>Tue, 23 Mar 2010 05:27:14 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=177</guid> <description><![CDATA[I&#8217;m in the process of optimizing SQL queries in order to get better performance. Please let me know if you find any bugs. I would also appreciate if you wrote something about whether you notice any difference in performance or &#8230; <a href="http://wordpress.sundskard.dk/archives/177">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I&#8217;m in the process of optimizing SQL queries in order to get better performance. Please let me know if you find any bugs.</p><p>I would also appreciate if you wrote something about whether you notice any difference in performance or not. A site with 10 posts/pages should not notice anything, but those of you with larger sites should see a difference.</p> ]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/177/feed</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Recent comments</title><link>http://wordpress.sundskard.dk/archives/119</link> <comments>http://wordpress.sundskard.dk/archives/119#comments</comments> <pubDate>Tue, 06 Jan 2009 20:10:33 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=119</guid> <description><![CDATA[To prevent comments from protected pages from appearing in &#8220;Recent comments&#8221; widget, open up &#8220;/wp-includes/widgets.php&#8221; and replace the function &#8220;wordpress_wp_widget_recent_comments&#8221; with this code: function wordpress_wp_widget_recent_comments($args) { global $wpdb, $comments, $comment, $current_user; extract($args, EXTR_SKIP); $options = get_option(’widget_recent_comments’); $title = empty($options['title']) ? &#8230; <a href="http://wordpress.sundskard.dk/archives/119">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>To prevent comments from protected pages from appearing in &#8220;Recent comments&#8221; widget, open up &#8220;/wp-includes/widgets.php&#8221; and replace the function &#8220;wordpress_wp_widget_recent_comments&#8221; with this code:</p><pre class="brush:php">function wordpress_wp_widget_recent_comments($args) {
global $wpdb, $comments, $comment, $current_user;
extract($args, EXTR_SKIP);
$options = get_option(’widget_recent_comments’);
$title = empty($options['title']) ? __(’Recent Comments’) : apply_filters(’widget_title’, $options['title']);
if ( !$number = (int) $options['number'] )
$number = 5;
else if ( $number &lt; 1 )
$number = 1;
else if ( $number &gt; 15 )
$number = 15;

if ( !$comments = wordpress_wp_cache_get( ‘recent_comments’, ‘widget’ ) ) {
$comments = $wpdb-&gt;get_results("SELECT * FROM $wpdb-&gt;comments WHERE comment_approved = ‘1′ AND comment_post_ID NOT IN (SELECT post_id FROM " . $wpdb-&gt;prefix . "named_users WHERE (user_id &lt;&gt; " . $current_user-&gt;ID . " OR group_id NOT IN (SELECT group_id FROM " . $wpdb-&gt;prefix . "named_users_groups_relations WHERE user_id = " . $current_user-&gt;ID . "))) ORDER BY comment_date_gmt DESC LIMIT $number");
wordpress_wp_cache_add( ‘recent_comments’, $comments, ‘widget’ );
}
?&gt;

&lt;?php echo $before_widget; ?&gt;
&lt;?php echo $before_title . $title . $after_title; ?&gt;
&lt;ul id="recentcomments"&gt;&lt;?php
if ( $comments ) : foreach ( (array) $comments as $comment) :
echo ‘&lt;li class="recentcomments"&gt;’ . sprintf(__(’%1$s on %2$s’), get_comment_author_link(), ‘&lt;a href="’. get_comment_link($comment-&gt;comment_ID) . ‘"&gt;’ . get_the_title($comment-&gt;comment_post_ID) . ‘&lt;/a&gt;’) . ‘&lt;/li&gt;’;
endforeach; endif;?&gt;&lt;/ul&gt;
&lt;?php echo $after_widget; ?&gt;
&lt;?php
}</pre>]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/119/feed</wfw:commentRss> <slash:comments>29</slash:comments> </item> <item><title>Internationalization</title><link>http://wordpress.sundskard.dk/archives/108</link> <comments>http://wordpress.sundskard.dk/archives/108#comments</comments> <pubDate>Fri, 02 Jan 2009 18:29:24 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=108</guid> <description><![CDATA[I&#8217;ve made some changes to the plugin to support internationalization. The POT file is placed in the plugin directory. Let me know if you find any bugs! I&#8217;ve included a danish translation. Please write a comment if you want to &#8230; <a href="http://wordpress.sundskard.dk/archives/108">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I&#8217;ve made some changes to the plugin to support internationalization. The POT file is placed in the plugin directory. Let me know if you find any bugs!</p><p>I&#8217;ve included a danish translation. Please write a comment if you want to share your translation files (.po and .mo) and remember to provide a link to the files, so that I can download them.</p> ]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/108/feed</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Version 0.3.5</title><link>http://wordpress.sundskard.dk/archives/106</link> <comments>http://wordpress.sundskard.dk/archives/106#comments</comments> <pubDate>Wed, 31 Dec 2008 19:36:11 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=106</guid> <description><![CDATA[I&#8217;ve released version 0.3.5. This version has the &#8220;wpNamedUsers permissions&#8221; working with the group functionality, so now everything should be working. Let me know if there are any bugs!]]></description> <content:encoded><![CDATA[<p>I&#8217;ve released version 0.3.5. This version has the &#8220;wpNamedUsers permissions&#8221; working with the group functionality, so now everything should be working. Let me know if there are any bugs!</p> ]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/106/feed</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Group functionality</title><link>http://wordpress.sundskard.dk/archives/100</link> <comments>http://wordpress.sundskard.dk/archives/100#comments</comments> <pubDate>Sun, 28 Dec 2008 21:03:12 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=100</guid> <description><![CDATA[With the release of version 0.3.2 the group functionality is implemented. If you find ANY bugs PLEASE report them to me in a comment!! Remember to deactivate before upgrading as the database is upgraded when the plugin is activated! I&#8217;ve &#8230; <a href="http://wordpress.sundskard.dk/archives/100">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>With the release of version 0.3.2 the group functionality is implemented. If you find ANY bugs PLEASE report them to me in a comment!!</p><p>Remember to deactivate before upgrading as the database is upgraded when the plugin is activated!</p><p>I&#8217;ve made the group functionality so that it is possible to select users and groups who will have acces to posts/pages.  This means that you can go on the old way and give permissions to single users. You can also combine the two things and give permissions to a group and a couple of users.</p><p>&#8220;wpNamedUsers permissions&#8221; is not done yet, so it still behaves as if there were no groups.</p><p>Does it make sence?</p> ]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/100/feed</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>WordPress 2.7 compatible</title><link>http://wordpress.sundskard.dk/archives/88</link> <comments>http://wordpress.sundskard.dk/archives/88#comments</comments> <pubDate>Mon, 22 Dec 2008 20:55:36 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=88</guid> <description><![CDATA[I&#8217;ve had some problems getting the plugin to work with WordPress 2.7, but version 0.2.6 of the plugin should be fully compatible. These problems have delayed the groups functionality, but I&#8217;m working on it.]]></description> <content:encoded><![CDATA[<p>I&#8217;ve had some problems getting the plugin to work with WordPress 2.7, but version 0.2.6 of the plugin should be fully compatible. These problems have delayed the groups functionality, but I&#8217;m working on it.</p> ]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/88/feed</wfw:commentRss> <slash:comments>7</slash:comments> </item> <item><title>Version 0.2 released</title><link>http://wordpress.sundskard.dk/archives/80</link> <comments>http://wordpress.sundskard.dk/archives/80#comments</comments> <pubDate>Sat, 27 Sep 2008 12:45:51 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=80</guid> <description><![CDATA[I&#8217;ve released version 0.2 of the plugin. The functionality that was originally planned is now implemented. The next thing now, is to find a way to group users and to set permissions to these groups.]]></description> <content:encoded><![CDATA[<p>I&#8217;ve released version 0.2 of the plugin. The functionality that was originally planned is now implemented. The next thing now, is to find a way to group users and to set permissions to these groups.</p> ]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/80/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Management page</title><link>http://wordpress.sundskard.dk/archives/73</link> <comments>http://wordpress.sundskard.dk/archives/73#comments</comments> <pubDate>Mon, 22 Sep 2008 10:02:21 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=73</guid> <description><![CDATA[The management page is almost finished. I&#8217;ve implemented the &#8220;clear permissions&#8221; functionality, but the &#8220;set permissions&#8221; is still just a button. I&#8217;ve started thinking about some kind of user management. I think it would be best, if it was possible &#8230; <a href="http://wordpress.sundskard.dk/archives/73">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>The management page is almost finished. I&#8217;ve implemented the &#8220;clear permissions&#8221; functionality, but the &#8220;set permissions&#8221; is still just a button.</p><p>I&#8217;ve started thinking about some kind of user management. I think it would be best, if it was possible to group users, so that it would be possible to set permissions to a group as well as individual users. Well, the &#8220;set permissions&#8221; has the highest priority at the moment, but I think that the grouping functionality would be nice to have.</p> ]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/73/feed</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>First bug fixed</title><link>http://wordpress.sundskard.dk/archives/71</link> <comments>http://wordpress.sundskard.dk/archives/71#comments</comments> <pubDate>Sun, 21 Sep 2008 10:45:20 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=71</guid> <description><![CDATA[I realized today, that if you had given permissions to a page or post to more than one user, none of the users would see the content. This bug has been fixed in version 0.1.4. This version also introduces the &#8230; <a href="http://wordpress.sundskard.dk/archives/71">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I realized today, that if you had given permissions to a page or post to more than one user, none of the users would see the content. This bug has been fixed in version 0.1.4. This version also introduces the copy permissions feature.</p> ]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/71/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>More on the comments feed</title><link>http://wordpress.sundskard.dk/archives/65</link> <comments>http://wordpress.sundskard.dk/archives/65#comments</comments> <pubDate>Sat, 20 Sep 2008 15:49:15 +0000</pubDate> <dc:creator>Andrias Sundskarð</dc:creator> <category><![CDATA[wpNamedUsers]]></category><guid isPermaLink="false">http://wordpress.sundskard.dk/?p=65</guid> <description><![CDATA[I&#8217;m not sure if users that are not logged in, are able to see the comments of hidden pages. Please visit http://wordpress.sundskard.dk/archives/41/feed and tell me if you see my comment to &#8220;Protected post&#8221; or not. It might just be the &#8230; <a href="http://wordpress.sundskard.dk/archives/65">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I&#8217;m not sure if users that are not logged in, are able to see the comments of hidden pages. Please visit <a href="http://wordpress.sundskard.dk/archives/41/feed">http://wordpress.sundskard.dk/archives/41/feed</a> and tell me if you see my comment to &#8220;Protected post&#8221; or not. It might just be the browser cache that is playing around with me. <img src='http://wordpress.sundskard.dk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://wordpress.sundskard.dk/archives/65/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
