• Resolved Jack

    (@jack1132132)


    Hello,

    I have two forms loading in the same page for users and the forms are exclusive to each other as both have the same ids. I’m trying to restrict each form to it’s designated userlevel, so I surround one form with the shortcode: [restrict userlevel=”um_client”][register_form id=”1″][/restrict], and the other form with:[restrict userlevel=”subscriber”][register_form id=”2″][/restrict].

    When I login with a Subscriber account, the form with id=2 says “This content is restricted to subscribers”.

    When I login with a Client account, the form with id=1 also says “This content is restricted to subscribers”.

    Is the [restrict userlevel=””] shortcode working?

    Thank You

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can confirm that it is not working properly. The user is only able to see the content when I add/set a membership to them, even though the shortcode is set to “userlevel”, not “subscription”.

    Also the FAQ/Knowledge Base isn’t being updated to reflect changes made to the plugin, so there’s probably another way to use userlevels as a parameter, but it’s different now.

    Plugin Support Rebecca Diamond

    (@rebeccadiamond)

    Hi Akira,

    The userlevel currently works if the person accessing the page is a Restrict Content customer, rather than a WordPress user.

    I’m running this by our developer to see if we should update how that works, but either way, I want to make the documentation a bit more robust!

    Plugin Contributor James Welbes

    (@highprrrr)

    Hey there! This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to open a new thread if any other questions come up and we’d be happy to help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[restrict userlevel=””] shortcode does not work’ is closed to new replies.