Search Over 18,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Gravity Forms Toolbar

This plugin adds useful admin links and resources for Gravity Forms to the WordPress Toolbar / Admin Bar.

Quick Access to Gravity Forms Resources - Time Saver & Helper Tool!

This small and lightweight plugin just adds a lot Gravity Forms related resources to your toolbar / admin bar. Also links to all admin settings pages pages of the plugin are included, making the life of form administrators/ developers a lot easier. So you might just switch from the fontend of your site to read current 'Entries' or just 'Add a new Form' etc. How cool is that? :) Also, support for all official and lots of third-party add-ons is included!

General Features

  • Display notifications when new Gravity Forms plugin update is available.
  • Settings to control menu items notifications display for updates and unread entries.
  • Toolbar menu item for Gravity Forms Toolbar plugin settings.
  • Admin settings page to optinally remove Support/Docs/FAQ, Active Extensions and Official Add-Ons sections from menu (settings under "General Settings").
  • Admin settings allow also to dynamically add existing Forms (link to their edit pages) and Entries of these forms.
  • Visual notification of new entries in the Toolbar (top level) and on "Entries" sub-level (if dynamic entries are activated).
  • A massive list of resource & community links is included: support forums, tutorials, code snippets, translations etc.
  • 3 action hooks included for hooking custom menu items in -- for all main sections plus the resource group section (see FAQ section here for more info on that).
  • 8 additional icon colors included :) (changeable via filters)
  • 5 filters included to change wording/tooltip and icon of the main item - for more info see FAQ section here
  • Fully internationalized! Real-life tested and developed with international users in mind! Also supports update-secure custom language file (if you need special wording...)
  • Fully WPML compatible!
  • Tested with WordPress versions 3.2-branch, 3.3-branch and 3.4-branch releases - also in debug mode (no stuff there, ok? :)

Official Add-Ons Support

The plugin out of the box supports links to settings pages of all officially available Gravity Forms Add-Ons, 10 to date (counting only the ones with settings pages!):

  • User Registration (inluding v1.5+!)
  • PayPal
  • PayPal Pro
  • MailChimp
  • AWeber
  • Campaign Monitor
  • Freshbooks
  • Twilio
  • Authorize.Net
  • Picatcha

Add-Ons/ Plugin Support

At this time the plugin out of the box supports also all third-party Gravity Forms related plugins (only the ones with settings pages!):

Special Features

  • Not only supporting official Gravity Forms/ Gravity Help sites ALSO third-party and user links - so just the whole Gravity Forms ecosystem :)
  • Link to downloadable German language packs - only displayed when German locales are active (de_DE, de_AT, de_CH, de_LU)
  • Link to Dutch language/translation plugin - only displayed when Dutch locales are active (nl_NL or nl)
  • NOTE: I would be happy to add more language/locale specific resources and more useful third-party links - just contact me!

As the name suggests this plugin is primarily intended towards website admins/ developers. Beside the forum, support links etc. the main plugin settings links will only appear if the current user has the appropiate rights/ capabillities for these. This just goes hand in hand with the very same user rights Gravity Forms itself uses to display its menu entries. So also Editors or any user with the proper rights could view 'Entries' etc (you could easily tweak all those roles & caps with the awesome "Members" plugin!).

Localization

  • English (default) - always included
  • German (de_DE) - always included
  • Serbian (sr_RS) by Dev4Press - currently 72% complete for v1.5.0
  • Lithuanian (lt_LT) by Vincent G. - currently 72% complete for v1.5.0
  • .pot file (gravity-forms-toolbar.pot) for translators is also always included :)
  • Easy plugin translation platform with GlotPress tool: Translate "Gravity Forms Toolbar"...
  • Your translation? - Just send it in

Credit where credit is due: This plugin here is inspired and based on the work of Remkus de Vries @defries and his original "WooThemes Admin Bar Addition" plugin.

This plugin is a co-work from:

David Decker - DECKERWEB from deckerweb.de and GenesisThemes

and

Milan Petrovic - Dev4Press from dev4press.com

Feedback

Tips & More

Author David Decker - DECKERWEB / Milan Petrovic - Dev4Press
Profile
Contributors daveshine, deckerweb, GDragoN
Tags add-ons, addons, admin bar, adminbar, administration, ddwtoolbar, deckerweb, dev4press, forms, gdragon, gravity forms, gravityforms, links, Resources, tool bar, Toolbar
  1. gravity-forms-toolbar screenshot 1

    Gravity Forms Toolbar in default state. (Click here for larger version of screenshot)

  2. gravity-forms-toolbar screenshot 2

    Gravity Forms Toolbar in action - a secondary level - form management. (Click here for larger version of screenshot)

  3. gravity-forms-toolbar screenshot 3

    Gravity Forms Toolbar in action - a third level, for the official (and some third-party) Add-Ons. ([https://www.dropbox.com/s/2zlvbaxw8mbat88/screenshot-3.png))

  4. gravity-forms-toolbar screenshot 4

    Gravity Forms Toolbar in action - a secondary level - docs. (Click here for larger version of screenshot)

  5. gravity-forms-toolbar screenshot 5

    Gravity Forms Toolbar in action - a primary level - notification of new entries & updates. (Click here for larger version of screenshot)

  6. gravity-forms-toolbar screenshot 6

    Gravity Forms Toolbar in action - notification of new entries & updates on top-level. (Click here for larger version of screenshot)

  7. gravity-forms-toolbar screenshot 7

    Gravity Forms Toolbar - little admin settings page of the plugin.(Click here for larger version of screenshot)

  8. gravity-forms-toolbar screenshot 8

    Gravity Forms Toolbar - help tab on admin settings page of the plugin. (Click here for larger version of screenshot)

  1. Upload the entire gravity-forms-toolbar folder to the /wp-content/plugins/ directory -- or just upload the ZIP package via 'Plugins > Add New > Upload' in your WP Admin
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Look at your toolbar / admin bar and enjoy using the new Gravity Forms links there :)
  4. Adjust a few options on the settings page - under "General Settings > Gravity Forms Toolbar"
  5. Go and manage your entries and forms or develop new ones :)

Own translation/wording: For custom and update-secure language files please upload them to /wp-content/languages/gravity-forms-toolbar/ (just create this folder) - This enables you to use fully custom translations that won't be overridden on plugin updates. Also, complete custom English wording is possible with that as well, just use a language file like gravity-forms-toolbar-en_US.mo/.po to achieve that.

1.5.1 (2012-12-12)

  • NEW: Added new settings options to plugins own settings - thanks to co-author Milan! :) --- You can now set Toolbar Menu visibility for the plugin for frontend and backend!
  • NEW: Added plugin support for "Gravity Forms YMLP Add-on" (free, by Katz Web Services, Inc.).
  • CODE: Minor code/documentation updates & improvements.
  • UPDATE: Updated readme.txt file here.
  • UPDATE: Updated German translations and also the .pot file for all translators!
  • UPDATE: Moved screenshots to 'assets' folder in WP.org SVN to reduce plugin package size.

1.5.0 (2012-09-16)

  • Extended Add-On/ Plugin support:
  • More stuff:
    • NEW: Added help tab on plugin's settings page.
    • NEW: Moved resources and links group from plugin main file to extra files for performance optimization if this group might be disabled via settings/ constant.
    • CODE: Minor code/documentation updates & improvements.
    • UPDATE: Updated German translations and also the .pot file for all translators!
    • UPDATE: Initiated new three digits versioning, starting with this version.
    • UPDATE: Moved screenshots to 'assets' folder in WP.org SVN to reduce plugin package size.

1.4.1 (2012-05-20)

  • Important bugfix release!
  • FIX: Fixed problem with capabilities not set correctly when using/not using "Members" plugin. Now Gravity Forms Toolbar has more additional checks built in and this should finally work for all, at least all admins (for which this plugin is!).
  • FIX: Fixed another bug when Gravity Forms is not active, to properly activate this plugin.
  • CODE: Other minor code and documentation tweaks & improvements.

1.4.0 (2012-05-19)

1.3.0 (2012-02-24)

  • Further enhancements and additions for plugin's own settings/features:
    • NEW: Display notifications when new Gravity Forms plugin update is available.
    • NEW: Settings to control menu items notifications display for updates and unread entries.
    • NEW: Toolbar menu item for Gravity Forms Toolbar plugin settings.
  • Extended add-on and resources support:
    • NEW: Added support for newly released official "Authorize.Net Add-On"
    • NEW: Added Gravity Forms News Planet feed link to resource links (you can also access this from here: http://friendfeed.com/gravityforms-news)
  • Other stuff:
    • CHANGE: Changed wording from "Gravity Forms Main Settings" to just "Plugin Settings"
    • IMPROVEMENT: For WordPress 3.3+ changed display of resource links group: now at the bottom, below settings links and in WP 3.3 group style :)
    • CODE: No longer loading CSS styles or menu items for not logged-in users when plugins like "GD Press Tools" are active (which have options to show toolbar / admin bar also for visitors...)
    • CODE: Minor code/ code documenation tweaks.
    • UPDATE: Updated readme.txt file and all screenshots.
  • Translations related:
    • NEW: Added possibility for custom and update-secure language files for this plugin - just upload them to /wp-content/languages/gravity-forms-toolbar/ (just create this folder) - this enables you to use complete custom wording or translations.
    • NEW: Added Serbian translations by Dev4Press :)
    • UPDATE: Updated German translations and also the .pot file for all translators!

1.2.1 (2012-02-06)

  • BUGFIX: Fixed capability issue for displaying plugin's options page when "Members" plugin is installed
  • CODE: Improved conditional check for Dutch language plugin; also, some more minor tweaks and improvements
  • UPDATE: Fixed errors in .pot file from v1.2.0 - updated German translations and also the .pot file for all translators!

1.2.0 (2012-02-03)

  • Extended plugin functionality a lot, making it even more useful! - Thanx to new plugin co-author Milan Petrovic of Dev4Press!
    • NEW: Admin settings page to optinally remove "Support/Docs/FAQ" and/or "Active Extensions" sections from menu (settings under "General Settings")
    • NEW: Admin settings allow also to dynamically add existing "Forms" (link to their edit pages) and "Entries" of these forms
    • NEW: Visual notification of new entries in the toolbar (top level) and on "Entries" sub-level (if dynamic entries are activated)
  • CODE: Improved conditional check for Dutch language plugin (only display link if plugin is not activated)
  • UPDATE: Extended and improved readme.txt file
  • UPDATE: Updated German translations and also the .pot file for all translators!

1.1.0 (2012-01-31)

1.0.0 (2012-01-22)

  • Initial release

Does this plugin work with newest WP version and also older versions?

Yes, this plugin works really fine with WordPress 3.3 and 3.3.1! It also works great with WP 3.2 - and also should with WP 3.1 - but we only tested extensively with WP 3.3+ this time. So you always should run the latest WordPress version for a lot of reasons.

How are new resources being added to the toolbar / admin bar?

Just drop me a note on my Twitter @deckerweb or via my contact page and I'll add the link(s) if it is useful for admins/ webmasters and the Gravity Forms community.

How could my plugin/extension settings page be added to the admin bar links?

This is possible of course and highly welcomed! Just drop me a note on my Twitter @deckerweb or via my contact page and we sort out the details! Particularly, I need the admin url for the primary options page (like so wp-admin/admin.php?page=foo). I also need the correct name of the main PHP class or function (to check if the plugin extension exists or not). (I don't own all the premium stuff myself yet so you're more than welcomed to help me out with these things. Thank you!)

There are still some other plugins for Gravity Forms out there why aren't these included by default?

Simple answer: Linking/ adding is only possible where a plugin has its own admin pages and these are properly accessable.

Can custom menu items be hooked in via theme or other plugins?

Yes, this is possible since version 1.5 of the plugin! There are 3 action hooks available for hooking custom menu items in -- gftb_custom_main_items for the main section, gftb_custom_extension_items for the exentensions section plus gftb_custom_group_items for the resource group section. Here's an example code:

add_action( 'gftb_custom_group_items', 'gftb_custom_additional_group_item' );
/**
 * Gravity Forms Toolbar: Custom Resource Group Items
 *
 * @global mixed $wp_admin_bar
 */
function gftb_custom_additional_group_item() {

    global $wp_admin_bar;

    $wp_admin_bar->add_menu( array(
        'parent' => 'ddw-gravityforms-gfgroup',
        'id'     => 'your-unique-item-id',
        'title'  => __( 'Custom Menu Item Name', 'your-textdomain' ),
        'href'   => 'http://deckerweb.de/',
        'meta'   => array( 'title' => __( 'Custom Menu Item Name Tooltip', 'your-textdomain' ) )
    ) );
}

Can certain sections be removed?

Of course, just via plugin options! -- Additionally, you can use some constants - which can come in handy for customizing stuff for clients etc. You can remove the following sections: Official "Add-Ons" (all items) / "Extensions" area (all items) / "Resources link group" at the bottom (all items) / "German language stuff" (all items) / "Dutch language stuff" (all items)

To achieve this add one, some or all of the following constants to your theme's/child theme's functions.php file:

/** Gravity Forms Toolbar: Remove Add-On Items */
define( 'GFTB_ADDONS_DISPLAY', FALSE );

/** Gravity Forms Toolbar: Remove Extensions Items */
define( 'GFTB_EXTENSIONS_DISPLAY', FALSE );

/** Gravity Forms Toolbar: Remove Resource Items */
define( 'GFTB_RESOURCES_DISPLAY', FALSE );

/** Gravity Forms Toolbar: Remove German Language Items */
define( 'GFTB_DE_DISPLAY', FALSE );

/** Gravity Forms Toolbar: Remove Dutch Language Items */
define( 'GFTB_NL_DISPLAY', FALSE );

Can the the whole toolbar entry be removed, especially for certain users?

Yes, that's also possible! This could be useful if your site has special user roles/capabilities or other settings that are beyond the default WordPress stuff etc. For example: if you want to disable the display of any "Gravity Forms Toolbar" items for all user roles of "Editor" please use this code:

/** Gravity Forms Toolbar: Remove all items for "Editor" user role */
if ( current_user_can( 'editor' ) ) {
    define( 'GFTB_DISPLAY', FALSE );
}

To hide only from the user with a user ID of "2":

/** Gravity Forms Toolbar: Remove all items for user ID 2 */
if ( 2 == get_current_user_id() ) {
    define( 'GFTB_DISPLAY', FALSE );
}

To hide items only in frontend use this code:

/** Gravity Forms Toolbar: Remove all items from frontend */
if ( ! is_admin() ) {
    define( 'GFTB_DISPLAY', FALSE );
}

In general, use this constant do hide any "Gravity Forms Toolbar" items:

/** Gravity Forms Toolbar: Remove all items */
define( 'GFTB_DISPLAY', FALSE );

Available Filters to Customize More Stuff

All filters are listed with the filter name in bold and the below additional info, helper functions (if available) as well as usage examples.

gftb_filter_capability_all

  • Default value: gravityforms_edit_forms (set by Gravity Forms plugin itself!)
  • 6 Predefined helper functions:
    • __gftb_admin_only -- returns 'administrator' role -- usage:
add_filter( 'gftb_filter_capability_all', '__gftb_admin_only' );
  • __gftb_role_editor -- returns 'editor' role -- usage:
add_filter( 'gftb_filter_capability_all', '__gftb_role_editor' );
  • __gftb_cap_manage_options -- returns 'manage_options' capability -- usage:
add_filter( 'gftb_filter_capability_all', '__gftb_cap_manage_options' );
  • __gftb_cap_install_plugins -- returns 'install_plugins' capability -- usage:
add_filter( 'gftb_filter_capability_all', '__gftb_cap_install_plugins' );
  • __gftb_cap_activate_plugins -- returns 'activate_plugins' capability -- usage:
add_filter( 'gftb_filter_capability_all', '__gftb_cap_activate_plugins' );
  • __gftb_cap_edit_theme_options -- returns 'edit_theme_options' capability -- usage:
add_filter( 'gftb_filter_capability_all', '__gftb_cap_edit_theme_options' );
  • Another example:
add_filter( 'gftb_filter_capability_all', 'custom_gftb_capability_all' );
/**
 * Gravity Forms Toolbar: Change Main Capability
 */
function custom_gftb_capability_all() {
    return 'switch_themes';
}

--> Changes the capability to switch_themes

gftb_filter_main_icon

  • Default value: Gravity Forms logo (favicon) :)
  • 10 Predefined helper functions for the 11 included colored icons, returning special colored icon values - the helper function always has this name: __gftb_colornamehere_icon() this results in the following filters ready for usage:
add_filter( 'gftb_filter_main_icon', '__gftb_blue_icon' );

add_filter( 'gftb_filter_main_icon', '__gftb_lightgreen_icon' );

add_filter( 'gftb_filter_main_icon', '__gftb_lightgrey_icon' );

add_filter( 'gftb_filter_main_icon', '__gftb_orange_icon' );

add_filter( 'gftb_filter_main_icon', '__gftb_pink_icon' );

add_filter( 'gftb_filter_main_icon', '__gftb_red_icon' );

add_filter( 'gftb_filter_main_icon', '__gftb_turquoise_icon' );

add_filter( 'gftb_filter_main_icon', '__gftb_yellow_icon' );

add_filter( 'gftb_filter_main_icon', '__gftb_theme_images_icon' );

--> Where the last helper function returns the icon file (icon-gftb.png) found in your current theme's/child theme's /images/ subfolder

  • Example for using with current child theme:
add_filter( 'gftb_filter_main_icon', 'custom_gftb_main_icon' );
/**
 * Gravity Forms Toolbar: Change Main Icon
 */
function custom_gftb_main_icon() {
    return get_stylesheet_directory_uri() . '/images/custom-icon.png';
}

--> Uses a custom image from your active child theme's /images/ folder

--> Recommended dimensions are 16px x 16px

gftb_filter_main_icon_display

  • Returning the CSS class for the main item icon
  • Default value: icon-gravityforms (class is: .icon-gravityforms)
  • 1 Predefined helper function:
    • __gftb_no_icon_display() -- usage:
add_filter( 'gftb_filter_main_icon_display', '__gftb_no_icon_display' );

--> This way you can REMOVE the icon!

  • Another example:
add_filter( 'gftb_filter_main_icon_display', 'custom_gftb_main_icon_display_class' );
/**
 * Gravity Forms Toolbar: Change Main Icon CSS Class
 */
function custom_gftb_main_icon_display_class() {
    return 'your-custom-icon-class';
}

--> You then have to define CSS rules in your theme/child theme stylesheet for your own custom class .your-custom-icon-class

--> Recommended dimensions are 16px x 16px

gftb_filter_main_item

  • Default value: "Gravity Forms"
  • Example code for your theme's/child theme's functions.php file:
add_filter( 'gftb_filter_main_item', 'custom_gftb_main_item' );
/**
 * Gravity Forms Toolbar: Change Main Item Name
 */
function custom_gftb_main_item() {
    return __( 'Your custom main item title', 'your-textdomain' );
}

gftb_filter_main_item_tooltip

  • Default value: "Gravity Forms"
  • Example code for your theme's/child theme's functions.php file:
add_filter( 'gftb_filter_main_item_tooltip', 'custom_gftb_main_item_tooltip' );
/**
 * Gravity Forms Toolbar: Change Main Item Name's Tooltip
 */
function custom_gftb_main_item_tooltip() {
    return __( 'Your custom main item title tooltip', 'your-textdomain' );
}

Final note: I DON'T recommend to add customization code snippets to your main theme's/child theme's functions.php file! Please use a functionality plugin or an MU-plugin instead! This way you can also use this better for Multisite environments. In general you are then more independent from theme/child theme changes etc. If you don't know how to create such a plugin yourself just use one of my recommended 'Code Snippets' plugins. Read & bookmark these Sites:

All the custom & branding stuff code above can also be found as a Gist on Github: https://gist.github.com/2732242 (you can also add your questions/ feedback there :)

Plugin Links

Donate

Enjoy using Gravity Forms Toolbar? Please consider making a small donation to support the project's continued development.

Translations

  • English - default, always included
  • German (de_DE): Deutsch - immer dabei! Download auch via deckerweb.de
  • Serbian (sr_RS): српски - by Dev4Press
  • Lithuanian (lt_LT): Lietuvos - by Vincent G.
  • For custom and update-secure language files please upload them to /wp-content/languages/gravity-forms-toolbar/ (just create this folder) - This enables you to use fully custom translations that won't be overridden on plugin updates. Also, complete custom English wording is possible with that as well, just use a language file like gravity-forms-toolbar-en_US.mo/.po to achieve that.

Easy plugin translation platform with GlotPress tool: Translate "Gravity Forms Toolbar"...

Note: All my plugins are internationalized/ translateable by default. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating I recommend the awesome "Codestyling Localization" plugin and for validating the "Poedit Editor", which works fine on Windows, Mac and Linux.

Additional Info

Idea Behind / Philosophy: Just a little leightweight plugin for all the form developers and managers out there working with the incredible Gravity Forms to make their daily admin life a bit easier. I'll try to add more add-on/plugin support if it makes some sense. So stay tuned :).

Gravity Forms News Planet I also have started a little news/feed service via "FriendFeed" that you can subscribe to: http://friendfeed.com/gravityforms-news -- Please contact me via my Twitter for new resources (that have an RSS feed and are related to Gravity Forms!)

Credits

  • Big thanks to Milan Petrovic of Dev4Press who made the options panel for this plugin - so it's still lightweight but even more useful!
  • Also big thanks to all translators for providing other languages for this plugin!
Share  
Download
Version 1.5.1

Requires WordPress version: 3.3 or higher

Compatible up to: 3.5.1

Last Updated 12 Dec 2012

Date Added: 22 Jan 2012

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

4.67 stars
12 ratings
5,541 downloads

Compatibility

Not Enough Data

Reports:
Works: 1
Broken: 0

Probably Works.
Considering downloads, would expect problems reported.