Support » Plugins and Hacks » Locked posts

Locked posts

  • Hi!

    I use the Lock Posts plugin to lock the posts I don’t want other users to edit (I want the tags and categories of that posts locked). Using that plugin, there’s a column in the post list that shows if the post is locked or unlocked and when a user tries to edit a locked post a message is displayed saying that the post is locked.

    Using the front-end editor plugin that feature is bypassed. Users can change the tags and categories of locked posts, also.

    It would be great if front-end edition didn’t allow that locked posts could be edited by other users – only the admin.

    There’s any way to do this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes, this can be done using the ‘front_end_editor_allow_post’ filter:


    I suggest you ask the developers of the Lock Posts plugin to implement it.

    But I don’t want to disable the plugin for certain URLs.

    I have many posts in the main page and their categories and tags are editable with the front-end editor. I need that some posts can be edited via front-end editor and that some can not be edited (those who are locked). All the posts are in the same URL – the main page.

    I believe each post has a lock_status variable. Can’t you enable or disable front-end edition for each post based on that variable?

    Here is the code used to know if a post is locked:

    `[Code moderated as per the Forum Rules. Please use the pastebin]

    You didn’t read carefully enough the documentation I sent you to. You don’t have to disable FEE for an entire page. You can disable only certain fields for certain posts.

    I will not provide further assistance with this because:

    Front-end Editor is freely available and I develop it in my spare time. I prefer to use that time to fix bugs and add new features, not waste it on compatibility with commercial plugins that have paid developers working on them.

    Especially since you don’t even have to modify FEE to get it to do what you want.

    Besides, Locked Posts comes with dedicated support. Now is the time to use that support.

    Ok. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Locked posts’ is closed to new replies.