-
Website
http://fortes.com/ -
Original page
http://fortes.com/2006/08/next-version-of-post-levels/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
vektormedia
1 comment · 1 points
-
ZenemiG
1 comment · 1 points
-
Charbax
1 comment · 6 points
-
subikar
1 comment · 1 points
-
x11tech
8 comments · 1 points
-
-
Popular Threads
My only other feature request would be a complete re-design of the privacy system: it would replace the levels with tags. So I could mark labels as being "private", then I could assign any of these private tags to individuals. So, as an example, I could mark the following tags as secret: "private", "superprivate", "family". Then I could assign as many of these tags to each user, allowing them to see all public posts and only those posts that also have an assigned tag.
I only suggest this because you asked - the plugin in it's current state is EXCELLENT!
theo2112 -@- gmail.com
I did have problems however getting it to work in Wordpress 2.1, although I'm not neccesarily saying that's your fault. Have you had any problems using this in 2.1? Everything worked and all private posts were visible if I was an administrator but if I was logged in as a subscriber with post level of 0 trying to look at posts with a post level of 0, nothing was visible?
Apart from that, well done and very much looking forward to this plugin getting better and more feature rich.
Any chance you could hook a guy up with a function for that?
ul
?php
global $wpdb, $postlevels_current_user_level;
$sql = "SELECT {$wpdb-comments}.comment_ID, {$wpdb-comments}.comment_author, {$wpdb-comments}.comment_date, {$wpdb-posts}.id, {$wpdb-posts}.post_title
FROM {$wpdb-comments}, {$wpdb-posts} LEFT JOIN {$wpdb-postmeta} ON {$wpdb-posts}.ID = {$wpdb-postmeta}.post_id
WHERE {$wpdb-comments}.comment_post_ID = {$wpdb-posts}.id AND {$wpdb-comments}.comment_approved='1' AND {$wpdb-comments}.comment_type != 'pingback' ";
if (!empty($postlevels_current_user_level)) {
$sql .= " AND ({$wpdb-posts}.post_status = 'publish' OR ({$wpdb-posts}.post_status = 'private' AND {$wpdb-postmeta}.meta_key = 'post_level' AND {$wpdb-postmeta}.meta_value = $postlevels_current_user_level))";
}
else {
$sql .= " AND {$wpdb-posts}.post_status = 'publish'";
}
$sql .= " ORDER BY comment_ID DESC LIMIT 5";
$LatestActivities = $wpdb-get_results($sql);
foreach($LatestActivities as $LatestActivity) {
//print 'li'.date("j M", strtotime($LatestActivity-CDate)).' '.$LatestActivity-auth.' on a href="'.get_permalink($LatestActivity-PostID).'"'.$LatestActivity-post_title.'/a/li';
print 'listrong'.$LatestActivity-comment_author.'/strong on a href="'.get_permalink($LatestActivity-id).'"'.$LatestActivity-post_title.'/a span style="font-size: smaller;"('.date('Y.m.d', strtotime($LatestActivity-comment_date)).')/span/li';
}
?
/ul</pre>
another thing is implementing something like , but instead have or or that way you can have a post and parts of it not meant for some will be inaccessible to them. those parts wont show up in their feed either.
i'm aware that these requests may be a bit ambitious and i don't know if its even possible but those are some features i would love to see, it would make for the perfect plug in for personal blogs, i think a lot of people would really go for it!
:-)
[ and ] are in place of the left and right arrows
[ and ] are in place of the left and right arrows
Just so you know whom and whom not to speak to about the post :(
Is there maybe an easy way to but this in the theme through code?
Thank you for your effort! Your work is greatly appreciated!
Oliver
However, I'd also really like to be able to restrict certain content pages (shown in the sidebar) to only subscribed visitors at a certain level. For example I'd like to have a detailed "About Me" page that only logged-in subscribers can see.
I'd also like to display my Flickr thumbnails in the side bar, but only to higher-level members.
Is there a way to do this... either with Post Levels, or some other plugin, or a combination of both? My old blog was on pMachine and I was able to show/hide content in the sidebar easily. I don't want to give that up.
And another unrelated question: on the "Write Post" page, is it possible to modify the "Post Level" drop-down menu so that it displays level names instead of numbers? That would make it easier for me to keep track of which level is which. I was able to modify this on the "User Levels" page, but can't figure out how to change it on the Write Post page.
Thanks!
Really thanks and congrats for ur masterwork!
An update on progress would be awesome, cheers.