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 2402

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:

13 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1186

Posts: 5409

Members:

There are 1176 members

There are 1 guests


Kevin has made 2402 posts

Top Posters:

metal450 - 159

Ragnar - 105

YikYak - 70

whiteorb - 44

Daisy - 35

Administrator: Kevin | Moderators: Kevin