DISQUS

fortes.com: Next version of Post Levels

  • Mike B. · 3 years ago
    Someone mentioned being able to label privacy levels with custom text fields. I thought that was a good idea.

    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 · 3 years ago
    hey, great plugin. Would there be anyway to print out text next to the view level drop box on the write/manage post page. I would love to have it say: post level [1-10] 10-admin, 8-board, 6-coaches.... and so on. this way everyone knows what level to make things so the appropriate person can see it. thanks again.

    theo2112 -@- gmail.com
  • SexySam · 3 years ago
    What about having private posts show up in archives?
  • Ryno · 3 years ago
    Fantastic plugin, just used this in a project and it was the foundation upon which the majority of my custom code works on, great work!

    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.
  • Adam · 3 years ago
    I'd love to see the Flickr API and privacy levels used. My site currently uses gallery and post levels to display my photos and posts to specific users, however adding Flickr users would allow me to switch from Gallery to Flickr, saving me a lot of storage space!!
  • Joefish · 3 years ago
    The one thing I'd most like to see has almost nothing to do with Post Levels. I've been struggling with listing recent comments in the sidebar. What I'd ideally like is something that will show recent comments attached to posts that a reader has permissions to see. I've experimented with plugins and tried writing my own functions, but it's always all-or-nothing, that is, either the most recent comments are listed regardless of privacy, or comments on private posts are never listed.

    Any chance you could hook a guy up with a function for that?
  • Mike B. · 3 years ago
    <pre class="code">h2?php _e('Recent Comments'); ?/h2
    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>
  • Joefish · 3 years ago
    Ooh, smashing! I'll try that out within the day. Thank you very much!
  • Dave U. · 3 years ago
    I agree with Mike B. that an awesome feature would be to have tags (maybe in addition to user level since I can see the merrit of that) but I would like to see them be customizable.
  • kim · 3 years ago
  • kim · 3 years ago
  • kim · 3 years ago
  • kim · 3 years ago
    [!--protectcontent--]

    [ and ] are in place of the left and right arrows
  • Daði · 3 years ago
    It would be great, at least for my page if I could display what level the post was posted in.

    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?
  • Ollie · 3 years ago
    Excellent stuff Filipe! The one feature you already mentioned "Tell users there are private posts" is certainly needed ;) On top, I second SexySam's comment on private posts showing up in "cats" and archives...
    Thank you for your effort! Your work is greatly appreciated!
    Oliver
  • Gebann · 3 years ago
    I tried this plugin and it works well and does what I need with one exception. It doesn't play well with WordPress MU. So I am in search of another solution. I will keep an eye on development here though and may try the next version to see if it works with MU
  • John P · 3 years ago
    Can't wait for the update to be released!! Any idea when that's gonna be? Thanks for all your hard work!
  • Preston · 3 years ago
    This is one of my favorite Wordpress plugins, and probably the one I use the most. How about some way to set post level through a blogging client (via xmlrpc.php)? I've been futzing around with source to see if I can come up with a way to make that work, but all of my solutions thus far have been kludge-ridden and not very pretty.
  • Nathan Neulinger · 3 years ago
    This may have been reported before, but the setting for subject suffix doesn't stick if you have in it... Each time you submit, it converts the encoded entity into an actual space. If you only submit once, it works fine, but if you submit again, it then strips off the leading space.
  • Nathan Neulinger · 3 years ago
    A feature request - allow editing/labelling the post levels, just to be able to more easily keep track of what you use for particular purposes.
  • Andy · 3 years ago
    Maybe this is just me, but I think it would be great if this plugin would also allow you to set levels for pages as well as posts. Maybe it's just something I'm missing, but that's about the only thing I can think of to improve this already lifesaving plugin.
  • Kristi · 3 years ago
    My question is similar to what Andy said in the previous comment. I use the Post Levels plugin on my blog to offer subscribers access to more personal entries that I don't want to show to just any casual visitor to my site. It works great for that purpose.

    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!
  • Josh · 3 years ago
    Hey there! Awesome work so far, but really looking forward to the next version with the added functionality...any idea when we can expect an update? thanks much! -josh
  • ipeppas · 2 years ago
    please fix the problem with the private posts not showing up in Categories/Archives for authorized users when they are logged in? (even to me that i have level 10)

    Really thanks and congrats for ur masterwork!
  • Andi · 2 years ago
    How about an update on the progress :)) Can't wait for a new release!!
  • Ryno · 2 years ago
    Wordpress 2.1 is coming soon and an article has just been released about ensuring your plugins are compatible. http://wordpress.org/development/2006/12/naught...

    An update on progress would be awesome, cheers.