WordPress.org

Ready to get started?Download WordPress

Forums

user levels and equality issues: plugin or hack? (7 posts)

  1. parasew
    Member
    Posted 9 years ago #

    i was reading a lot about user levels on the wordpress codex, but strangely there is no user level, that can manage posts and pages from users at the same level. this makes it quite hard for small groups of people managing a site, since they cannot edit the post another may have made.

    any ideas, maybe a plugin out there or a hack to tweak the user levels so level 5 users would be able to manage other level 5-users pages/posts?

    thanks!

  2. MichaelH
    Member
    Posted 9 years ago #

    Don't know of a hack or tweak but I can tell you the development team is working on a massive overhaul of the 'user levels' that should address your issues. You can read about this on the wp-hackers email list at:
    http://comox.textdrive.com/pipermail/wp-hackers/2005-July/001707.html

  3. parasew
    Member
    Posted 9 years ago #

    yes, i read that too on the wp-hackers list; is there any other way to change user levels besides switching to unstable-cvs version of wordpress? or is there any semi-stable previous version?

  4. parasew
    Member
    Posted 9 years ago #

    i found a solution which i wanted to post here if anyone has the same needs:

    edit wp-includes/functions-post.php and change line 353 from

    || ($author_data->user_level > $post_author_data->user_level)

    to

    || ($author_data->user_level >= $post_author_data->user_level)

    this makes postings editable for users of the same levels.

  5. iammk
    Member
    Posted 8 years ago #

    I made this change and it works fine - users on levels 5 and above can edit posts made by other users on their own level. What I'm wondering is if there is a way to make it so that they can edit in this manner just for the Pages and not for the posts?

  6. Dgold
    Member
    Posted 8 years ago #

    Thanks parasew. I had to use your code to implement this, because I want all my Level 3 editors to be able to edit each other.

    --Dg

  7. Dgold
    Member
    Posted 8 years ago #

    OK, problem:

    I did the hack parasew said, above. Now User Level 3 can click "EDIT" on other User Level 3.

    But then when the editor clicks "SAVE" changes, we get the error message: "You cannot post as this user."

    I don't want to change the name of the person posting! I just want to have another peer of their same User Level who can help a friend by correcting a mistake in a post, not to take ownership of that post. Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic