Not for profit membership site on Wordpress

I am looking to implement a not-profit membership site where I need a following: Only registered users can view content

I am looking to implement a not-profit membership site where I need a following:

  • Only registered users can view content
  • If they try to view any content they need to login first with their own personal username and password.
  • When they logged in they can view all the posts.
  • Each post is going to have a pdf and when they click their link a request would be generated and it should be approved by a site admin first. Then they would get a link in an email.

I found some membership plugins but they are all expensive and I do not need all their feature like payment processors. I am wondering if it is possible to implement this site in Wordpress only?

I am looking to implement a not-profit membership site where I need a following:

  • Only registered users can view content
  • If they try to view any content they need to login first with their own personal username and password.
  • When they logged in they can view all the posts.
  • Each post is going to have a pdf and when they click their link a request would be generated and it should be approved by a site admin first. Then they would get a link in an email.

I found some membership plugins but they are all expensive and I do not need all their feature like payment processors. I am wondering if it is possible to implement this site in Wordpress only?

Share Improve this question edited Feb 27, 2020 at 6:07 gyurisc asked Feb 26, 2020 at 21:40 gyuriscgyurisc 1431 silver badge7 bronze badges 2
  • Don't know if this warrants a full question/answer. You can password protect content and share the password with users (probably not robust enough) or you can redirect users to the login screen if they aren't already logged in, or you can only do that for certain sections of the site. While you may not need the features that membership plugins are offering, there's no rule that says you have to use all their features. If you've got more details with regards to your desired implementation please share. – Tony Djukic Commented Feb 27, 2020 at 1:35
  • @TonyDjukic I tried to refine my question. Password protecting the whole site and sharing that master password is not going to work for me because then they can share it. – gyurisc Commented Feb 27, 2020 at 6:08
Add a comment  | 

1 Answer 1

Reset to default 1

When you publish a post or page on Wordpress you can set the status to Private. This means that this content is only viewable to registered and logged in users.

You can then restrict files to the person who uploaded them (or disable upload for non-admin). Here is an example of how to do that.

You could add a PDF to each post using the Media Library and then add a link to each post that sends an email to an administrator to approve sending the PDF.

With a little thought anything is possible.

The following code will force post status to private:

// Update Post Status to Private 
function force_type_private($post) {
  if ($post['post_status'] != 'trash' && $post['post_status'] != "draft" && $post['post_status'] != "auto-draft") {
    $post['post_status'] = 'private';
  }
  return $post;
}
add_filter('wp_insert_post_data', 'force_type_private');

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744712131a4589404.html

相关推荐

  • Not for profit membership site on Wordpress

    I am looking to implement a not-profit membership site where I need a following: Only registered users can view content

    1天前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信