PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

form with members plugin 0.1.1

  1. riskiii
    Member

    http://omrf.org/admin

    Is there any reason why this shouldn't work?

    [access role="administrator"]
    [gravityform id=1 name=UploadPDF file, or image file ajax=true]
    [/access]

    If you are logged in as admin, it just shows:
    [gravityform id=1 name=UploadPDF file, or image file ajax=true]

    It appears the shortcode didn't work.

    I do have jQuery and jQuery UI enabled on all pages via the enqueue method. I have a lot of tabs and accordions.

    Posted 13 years ago on Thursday September 23, 2010 | Permalink
  2. Yes, it's an issue with the Members plugin.

    Justin Tadlock hasn't enabled parsing of shortcodes within the Members plugin shortcodes.

    What this means is WordPress doesn't try to parse shortcodes within the [access] shortcode or any other Members plugin shortcodes but it isn't being told to by the Members plugin. You have to tell WordPress to parse nested shortcodes.

    See this post on how you can fix it, it requires making a code change to the Members plugin:

    http://forum.gravityhelp.com/topic/forms-limited-to-registered-users-only-correlation-with-their-user-account#post-8835

    I'll send this to Justin again, it's something he needs to implement in the Members plugin.

    Posted 13 years ago on Thursday September 23, 2010 | Permalink
  3. riskiii
    Member

    Thanks for the quick reply. I hate to modify code that may get updated, and keep doing diffs, etc. I think I will just create a page template and use the function call, that way I don't have to worry about it.

    thanks again,
    Danny

    Posted 13 years ago on Thursday September 23, 2010 | Permalink