norcross / gravity-tooltips

Adds a custom field to each form element for tooltips
MIT License
74 stars 20 forks source link

Cannot access settings #41

Closed geshem closed 7 years ago

geshem commented 7 years ago

I installed the plugin and I cannot access the settings. When I click on settings from the plugin list in just reloads the page and I do not see any other menu or form item for the plugin.

norcross commented 7 years ago

do you have Gravity Forms installed and activated?

geshem commented 7 years ago

Yes of course

norcross commented 7 years ago

is there a "tool tips" menu item under the main Gravity Forms menu?

geshem commented 7 years ago

No

norcross commented 7 years ago

then I don't know what to tell you other than the plugin hasn't been properly activated.

what version of Gravity Forms are you using?

geshem commented 7 years ago

I uploaded and activated the plugin. I'm running gravity forms Version 2.1.2

norcross commented 7 years ago

have you turned on WP_DEBUG to get any possible causes?

geshem commented 7 years ago

I found the issue. The plugin has a conflict with the Members plugin. To enable this add-on to work for custom roles, or even default WP roles that have had capabilities edited (eg via the Members plugin or similar) - the capabilities have to be explicitly (re)defined in the add-on, OR custom capabilities defined specifically for the add-on. Outside of that it only works for the Administrator role - which is also the default for Gravity Forms. Editing the capabilities or adding the gravity forms ones will allow the core Gravity Forms plugin (and even their add ons) to work for that role but not necessarily other add ons.

norcross commented 7 years ago

there is a filter named gf_tooltips_admin_cap that you can pass a new capability to. try passing your custom user role to that filter

geshem commented 7 years ago

I added "gf_tooltips_admin_cap" as a new capability but it did not change anything.

norcross commented 7 years ago

sorry for not being clear. that's the filter to pass the capability. you want to pass whatever your custom one is

geshem commented 7 years ago

I don't have any custom capabilities. It looks like the plugin needs to be modified to explicitly define the user capabilities so that it will work with the membership plugin.

norcross commented 7 years ago

can you export your Member settings so I can test locally?

geshem commented 7 years ago

Is it working for you with the default members plugin installed?

norcross commented 7 years ago

I haven't installed it yet. wanted to test against your setup.

geshem commented 7 years ago

I just have the standard admin setup with all permissions allowed.

norcross commented 7 years ago

ok. it's late here, I'll do some testing tomorrow

geshem commented 7 years ago

ok thank you

norcross commented 7 years ago

@geshem update to the most current version of the plugin (2.0.4) and let me know if this resolves the issue.

geshem commented 7 years ago

That update fixed the issue. Thanks!