Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




contributor can publish

UserPost

3:00 am
March 4, 2009


romain

New Member

posts 1

1

Hi Kevin,

Your plugin is very great.

In a way too advanced for what I need. I just want that contributor has the capability : publish_posts.

I add    :

$role =& get_role('contributor');
    if ( ! empty($role) ) {
        $role->add_cap('publish_posts');
    }

in schema.php and i create a new contributor but it s not working.

How can i do this little modification ?

Best regards,

Romain


11:34 am
March 5, 2009


Kevin

Admin

posts 2503

2

If that's all you need to do, I would just install the Role Manager plugin, then go to Users > Roles and add the publish_posts capability to the Contributor role.


About the Agapetry forum

Currently Online:

9 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1246

Posts: 5654

Members:

There are 1257 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin