WordPress.org

Ready to get started?Download WordPress

Forums

Gravity Forms Highrise Add-on
No Settings Page -- Solution (1 post)

  1. wunderdojo
    Member
    Posted 1 year ago #

    If you're having the issue where the Highrise settings screen doesn't appear as an option under the Forms menu here's what fixed it for me. The plugin looks for a permission called gravityforms_highrise to determine who should see the settings screen. I'm using Justin Tadlock's Members plugin on a particular site. The Highrise plugin doesn't create the permission it's looking for when you install it so nobody (including admin) can see the settings screen. Under the Members-> Roles screen I manually added gravityforms_highrise as an option and then granted that permission to my admin role and now the settings screen appears.

    To the author: You could add the following to you init function to handle it automatically:

    /** Check to see if Justin Tadlock's Members Plugin is being used */
            require_once(ABSPATH . '/wp-admin/includes/plugin.php');
            if (is_plugin_active('members/members.php')){
            add_filter( 'members_get_capabilities', array(&$this, 'addNewCapabilities') );
                }

    And then this to add the capability

    function addNewCapabilities($capabilities){
    		$capabilities[] = 'gravityforms_highrise';
    		return $capabilities;
    	}

    Users will still have to grant that capability to the roles they choose before the settings screen shows up, but a note in the instructions to that effect would handle that.

    http://wordpress.org/extend/plugins/gravity-forms-highrise/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic