Support » Plugin: User Submitted Posts » Make posts password protected by default

  • Resolved Metasequoia

    (@metasequoia)


    Hi Jeff,

    I have another question: the users which create posts from frontend on my site do this on a password protected page (set up via wordpress page options/publish/visibility/password protected). It is like an internal members area on my website and I want to create an internal blog.

    Is it possible (I guess with some php magic in functions.php) to automatically make posts published with your plugin become password protected, too?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Metasequoia

    (@metasequoia)

    Hi Jeff,

    I think I found a solution.

    This plugin works very well: Access Category Password

    Metasequoia

    (@metasequoia)

    Ok, after further testing there is a handicap with this solution. The user has to enter the password the first time he wants to view a post. I mean, yeah, thats obvious. I set up the same password I used for the other protected pages on my site. WordPress remembers the password once it is submitted for all other protected pages.

    What I was not aware of is, that with this solution the Access Category Password plugin I use asks for the password, too. Although I set the same password. This is from a user perspective not very nice.

    So, a solution with custom php code in functions.php would be very welcome. Any ideas how I can achieve this?

    Plugin Author Jeff Starr

    (@specialk)

    Never heard of the idea so not sure what might be possible. But I can say that all submitted posts are treated just like regular WP Posts, and also utilize the same WP API functionality (like action/filter hooks). So any code snippet or plugin that adds your desired password functionality should work fine with USP.

    Metasequoia

    (@metasequoia)

    Thanks Jeff,

    I am in contact with someone who is coding a little plugin for me that can automatically sets the passwords.

    Plugin Author Jeff Starr

    (@specialk)

    That’s good to hear, Metasequoia. Let me know if I can provide any infos about the plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.