WordPress.org

Forums

Security/Restrict access to old posts (2 posts)

  1. nave
    Member
    Posted 9 years ago #

    I am trying to implement a security scheme where anyone can read posts (or what I am calling "articles") from the previous 30 days but only registered users (subscribers) can read posts that are older than 30 days. Ideally, the age of when a post converts to restricted access could be adjusted from the admin panel from 30 days to some other time span.

    The titles of posts older than 30 days would still be available to everyone but users must login before they can view the content. This is to encourage users to register so that they can see the posts older than 30 days.

    Are there any plugins out there that do this or something similar? Can someone with plugin experience point me in the right direction? It seems like I'm wouldn't be the first one to want something like this. Thanks!

  2. Christopher J. Hradil
    Member
    Posted 9 years ago #

    I think this one should do the trick, you would just need to specify a certain user level for registered users, and another level for un-registered, then the point of the module is to restrict access to categories/areas based on user level --

    http://blog.firetree.net/2005/08/25/viewlevel-20/

Topic Closed

This topic has been closed to new replies.

About this Topic