Home Forums Plugin Support WP User Frontend Pro Shortcode in Unauthorized Message box

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 5 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #17253

    Post count: 16

    I have a form where only registered users are able to submit posts.
    I have a question about the Unauthorized message (at post-settings ), is it possible to have a shortcode there?
    I know I can put in a link to the registration / login, but this is an extra step for the user. It would be so much user-friendly to have a shortcode there which displays the login / registration box.
    (Right now, they click to go to the page where they can submit a post. Arriving there, they have to click again to goto the login/registration, and after that, they have to return to te submit the post) In my opinion, this is one step to many )

    (If I put in a shortcode now, it will just display the text of the shortode)


    Tareq Hasan
    Post count: 2831

    Yeah, right now it doesn't support shortcodes. On /class/render-form.php in line 259, change the line like this: echo do_shortcode( $form_settings['message_restrict'] );. It will have shortcode support.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Shortcode in Unauthorized Message box’ is closed to new replies.