• Resolved rgorrie

    (@rgorrie)


    The Awesome Support Plugin seems to scrub shortcodes if you try and use them in the replies.

    Is there any way to turn this off or is the only way to address this via coding a custom field?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    Unfortunately we don’t have any way of turning this off via a setting or filter hook. It would require a modification to the core Awesome Support code to do it.

    Are you sure you want to do this? What’s the prevent a user from typing in the [ticket-submit] shortcode into a reply? Or use any admin only short-code into a reply and viewing the output. Unless you have highly trusted users it is a major security risk I think to allow this.

    Thanks.

    Thread Starter rgorrie

    (@rgorrie)

    Thanks for the super quick reply!

    A couple of things and clarifications:

    1.) I was just thinking for via admin side for permissioned agents/admins – not via user reply
    2.) The plugin has built in security and yes the users are super trusted
    3.) A use case would be embedding a Gravity Forms questionnaire directly into the reply for common problems/resolutions

    Is the best way to address this via a custom field and code where custom field would take a text input and we then call do_shortcode after validation and pass it that text?

    Thanks

    Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    hmmm…I’m honestly not sure on the admin side of things. We haven’t done anything like you’re proposing using the existing hooks and filters. However, the built-in custom fields will likely strip out short-codes as well. So you might need something a bit more sophisticated. There’s no way to tell for sure without trying and without deep diving into the admin code.

    Plugin Author awesomesupport

    (@awesomesupport)

    Hi:

    Since there doesn’t seem to be anything else on this ticket and its been six days from the last response we’ll go ahead and close the thread. If you have anything else you need please feel free to open a new thread.

    Thanks very much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘3rd Party Shortcode In Reply’ is closed to new replies.