Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Contact Form 7 (plugin) bug

UserPost

3:09 pm
December 13, 2010


tim aten

Member

posts 4

1

AWESOME PLUGIN! I need some help in understanding or where to find the proper setting for my issue.

I have defined wordpress users at the subscriber level and then granted editor roles on specific pages in role scoper. All is well in the admin level for these subscribers.

I also need to give them category access for some posts. When I do this, these users are then granted permission to "Contact Form 7″ to be able to modify it. I need to prevent this plugin from showing up in their level of access.

Any hints or directions to lead me…?

3:37 pm
December 13, 2010


Kevin

Admin

posts 2503

2

The simplest solution would be to redefine the CF7 edit capability by adding this to wp-config.php (above the "stop editing" line):

define( 'WPCF7_ADMIN_READ_WRITE_CAPABILITY', 'activate_plugins' );

That assumes that only Administrators should have the CF7 edit permission. If you prefer, add your own custom capability to desired WP roles and define that as the WPCF7_ADMIN_READ_WRITE_CAPABILITY instead.


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