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.

User Registration add-on: domain whitelist/blacklist

  1. Hey there,

    I'm working on a new social network aimed at a specific audience and they're asking for the ability to only allow certain email domains to register.

    The site is using BuddyPress for the social functionality and, while I've added two other plugins to attempt to solve this ("buddypress-restrict-email-domains" and "user-domain-whitelist"), they target their respective default registration pages only.

    So, given that your add-on populates both WordPress and BuddyPress, what type of custom function should I be looking to create?

    Thank you so much!

    Posted 12 years ago on Friday September 23, 2011 | Permalink
  2. You would have to write a customization that implements custom validation to check the value of the email to determine if it is allowed or not.

    We have a tutorial on using the gform_validation hook which you can find here:

    http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook

    If you are using the User Registration Add-On this would change the hook you would need to use although you would implement it in similar fashion. That hook would be:

    http://www.gravityhelp.com/documentation/page/Gform_user_registration_validation

    If this type of customization isn't something you are capable of doing then you may need to hire a developer with Gravity Forms customization experience to implement it for you. Here are some developers we can recommend:

    Ounce of Talent
    http://www.ounceoftalent.com

    Raquel Kohler
    raquelaraujokohler@gmail.com

    WebDevStudios
    http://www.webdevstudios.com

    Scott Kingsley Clark
    http://scottkclark.com

    Out of those Raquel will probably have the best availability as she typically takes on smaller projects.

    There is a larger list of developers with Gravity Forms experience here (although I can't guarantee they all know what they are doing):

    http://wpcandy.com/pros/experienced/with-gravity-forms

    Posted 12 years ago on Friday September 23, 2011 | Permalink
  3. Excellent.

    As always, thank you for sharing your time and expertise; it's much appreciated.

    Cheers.

    Posted 12 years ago on Friday September 23, 2011 | Permalink

This topic has been resolved and has been closed to new replies.