Title: Identify no role&#8230;.
Last modified: August 31, 2016

---

# Identify no role….

 *  Resolved [iritst](https://wordpress.org/support/users/iritst/)
 * (@iritst)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/identify-no-role/)
 * Hi
 * Using shortcodes you can identify certain roles.
    The question is how do you 
   make the opposite: If the user has no role….do this and this….. Or If the user
   is not…. do this and this…
 * Exmpl:
 * If the user (is not role1) and (is not role2) then….
 * Possible?
 * Thanks
 * [https://wordpress.org/plugins/profile-builder/](https://wordpress.org/plugins/profile-builder/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Teodor Cosofret](https://wordpress.org/support/users/teodor-cosofret/)
 * (@teodor-cosofret)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/identify-no-role/#post-7294132)
 * Hi,
 * Can you give me more details regarding what are you trying to achieve?
 * Are you trying to restrict content based on user role?
 * Best regards,
 *  Thread Starter [iritst](https://wordpress.org/support/users/iritst/)
 * (@iritst)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/identify-no-role/#post-7294155)
 * Yes, 2 questions:
 * 1. If I want to show content based on role, where content1 goes to role1 , role2
   and content2 goes to whoever has no role or is not role1 , role2 – possible?
 * 2. Is there any solution to embed a captcha/reCaptcha field in the Profile Builder
   forms (login, registration) exept buing the pro version , and if the only solution
   is the pro version, which one of them?
    I installed a reCaptcha plugin but it
   gives me nothing because I cannot use it in the forms and when I activate it 
   to work on the default WP forms, I cannot use the Profile Builder forms, it expects
   a reCaptcha input….
 * Thanks.
 * Irit
 *  [Teodor Cosofret](https://wordpress.org/support/users/teodor-cosofret/)
 * (@teodor-cosofret)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/identify-no-role/#post-7294213)
 * Hi,
 * If you want to restrict content based on user role you could try a free plugin
   called [Members](https://wordpress.org/plugins/members/). With this plugin you
   can create user roles also.
 * [The Hobbyist and the Pro](http://www.cozmoslabs.com/wordpress-profile-builder/#profile-builder-features)
   version have [Extra Fields Types](http://www.cozmoslabs.com/docs/profile-builder-2/manage-user-fields/#Extra_Fields_Types)
   including the reCAPTCHA field.
 * If you want to use the captcha field my suggestion would be to use this plugin
   [Captcha by BestWebSoft](https://wordpress.org/plugins/captcha/) which is compatible
   with Profile Builder. You just install and activate it and you will see the captcha
   field on PB’s forms.
 * If you want to build a membership website and to restrict content based on membership
   plan you could take a look at this plugin [Paid Member Subscriptions](http://www.cozmoslabs.com/wordpress-paid-member-subscriptions/).
 * Best regards,
 *  Thread Starter [iritst](https://wordpress.org/support/users/iritst/)
 * (@iritst)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/identify-no-role/#post-7294229)
 * Hi,
 * Thank you for your answer, I have the Members installed , and the Captcha plugin
   you recommend but – I see no captcha field in the PB forms or any option to insert
   them. If I activate the plugin and check the default WP forms, on the PB forms
   I see no captcha field and get an error on sending the forms that I have no captcha
   valid field. The site is built and closed….the only remaining thing to do is 
   to insert the captcha.
    It seems to me that the option of the PB Hobbyist version
   is probably the best solution right now.
 * Thanks.
 *  [Teodor Cosofret](https://wordpress.org/support/users/teodor-cosofret/)
 * (@teodor-cosofret)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/identify-no-role/#post-7294251)
 * Hi,
 * The Captcha plugin should work because I tested it on my testserver.
 * You install and activate the Captcha plugin and then go to
    BWS Plugins -> Captcha-
   > Enable CAPTCHA for: Select all the forms. Then scroll down until you see Arithmetic
   actions and Complexity and select all of the checkboxes.
 * If you decide to purchase the Hobbyist version please [submit a ticket](http://www.cozmoslabs.com/support/)
   in case you encounter any other issues.
 * I will mark this post as resolved.
 * Best regards,
 *  Thread Starter [iritst](https://wordpress.org/support/users/iritst/)
 * (@iritst)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/identify-no-role/#post-7294257)
 * Thanks a lot, it did work , at the end… I’m no longer working on that web site
   project , thanks for all your help.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Identify no role….’ is closed to new replies.

 * ![](https://ps.w.org/profile-builder/assets/icon-256x256.png?rev=2961144)
 * [User Profile Builder - Beautiful User Registration Forms, User Profiles & User Role Editor](https://wordpress.org/plugins/profile-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/profile-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/profile-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/profile-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/profile-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/profile-builder/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [iritst](https://wordpress.org/support/users/iritst/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/identify-no-role/#post-7294257)
 * Status: resolved