Constant Contact plugin is working great for Admin but it’s not working in editor role. I keep getting a constant-contact-api cannot be found error. I tried using the menu editor plugin to change the permissions to editor, and manage_comments, and publish_posts… but nothing works. Thoughts?
i’m wondering if this plugin has user roles built into it that aren’t being overridden by other plugins?
specifically ‘Cannot load constant-contact-api.’ in editor role. really could use some help getting this to work for editor.
I have the same identical issue!
I’ve searched all over, but am unable to find an answer.
Side note: Looks like we may just terminate Constant Contact and use another service instead. (At least that’s where the discussion is heading at this end).
@wyclef – I think there must be user roles built in? But, with the short time I’ve been given, I can’t find then.
I tried the following to change permissions, however, I’m still getting the error when using the Editor account:
Change the option (for “current_user_can”) to be equal to some option (such as edit_others_posts). The syntax would be some example like this:
changed to this:
It almost seems like there is some other hard coding we’re not yet aware of. I just wish the developer was available to provide a comment so that we could try and effect the needed capability.
list_usersis the required role.
For the widget, it’s
Everything else, it’s
Am I hearing that you prefer integration with the Members plugin?
The plugin does not work with the Editor role. (When the editors log into wp-admin, they cannot access the Constant Contact options).
So… I edited the plugin files (as above) and changed “manage_options” to “edit_others_posts” (which Editors can do). However, when Editors select the option, they are displayed the cannot load Constant Contact API message.
What is the proper way for me to enable Constant contact options to be accessible to the Editor role and higher, when logged into wp-admin?
[The Members plugin didn’t work (for this scenario) as this pertained to content, not to the ability to access the Constant Contact options in wp-admin]
Again… Thank you!!
I just checked and the following plugins are in use:
I took another look at your suggested plugin. You’re correct after all. 😉
Can this work with Constant Contact on the back end, to allow an Editor (or other defined role) to configure the Constant Contact options in the wp-admin dashboard?
Okay, something just is not working.
I installed Members and made sure that I enabled the following capabilities to the Editors:
As these are the permissions I found when searching for “current_user_can”, within all Constant Contact plugin files.
Constant Analytics displayed in the Dashboard for Editors, but Constant Contact (and options) did not.
I used Admin Menu Editor so that the Constant Contact link would appear in the Dashboard for Editors – Now it does.
But when I click the link (logged in as an Editor) I get an error message that says: Cannot load constant-contact-api.
Please let me know what can I do to get this working?
do a multi-file search for ‘administrator’. change what you want for editor to ‘moderate_comments’. a bit of a hack but worked for me. i needed a fix pronto.
Thanks, I just finished that, but it does not seem to work at my end. I Still get that “cannot load” (Constant Contact API) error. 🙁
There were only three files with the word “administrator”.
menu.php – edited
form-designer.php – edited.
Changing “administrator” to “editor” did not provide a fix.
Also, when searching for files with the word “administrator”; returned three files that did NOT specify user capabilities (except for constant-analytics.php), as such, there was no where to replace permissions with “moderate_comments”
However, I searched for “current_user_can” and was able to modify several files, changing permissions to “moderate_comments” – But it did not work at this end.
Those files were:
What are your thoughts?
well, i didn’t bother with the form-designer stuff as I am not using that but changing administrator to editor also did not work for me. i changed administrator to moderate_comments and that did work.
1. Please install the plugin Members for easier role capability management.
2. Then go to constant-contact-apo/admin/menu.php
3. you need to look for add_menu_page and add_submenu_page
the word administrator should really be a capability instead. So if you give your editor can manage_options, replace the administrator with manage_options
Hope it helps!
- The topic ‘[Plugin: Constant Contact for WordPress] Trouble getting plugin to work in Editor role’ is closed to new replies.