1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add-on [PAID] Custom Registration Form and User Options Node Permissions

Discussion in 'Custom Service/Development Requests' started by Mike Creuzer, Dec 4, 2013.

  1. Mike Creuzer

    Mike Creuzer Well-Known Member

    Hey there!

    Looking for someone to build me a custom registration form. Essentially, I want to just add a few fields that make sure they 'agree' to some terms before continuing with maybe a few fields as well. I also want to make the male/female option non-editable after registration, and only editable via ACP.

    Second, I want user options to be used in node permissions. I want to limit male/females to have access to certain forums.

    Third, I only want users to be able to use the private message system IF they have X posts OR are of a certain usergroup(s).

    That is all, all three paid requests. PM me for skype details. Please have at least one add-on in the resource manager, and an ETA on each job. If you only want one or two of the three plugins, thats fine with me, Ill keep this open until all three have been accepted.

    Thanks a lot!
  2. Jon W

    Jon W Well-Known Member

    You should be able to do the third one anyway using user group promotions and the standard permissions system.
  3. Mike Creuzer

    Mike Creuzer Well-Known Member

    You're right Jon, my fault.

    Any ideas on the non-editable male/female settings and the male/female permissions? We want male only female only forums, will pay for the development of course.
  4. Russ

    Russ Well-Known Member

    Mike Creuzer likes this.
  5. Mike Creuzer

    Mike Creuzer Well-Known Member

    You're a life saver Russ! Not many reviews, hopefully it works :p
    Russ likes this.
  6. Jeremy

    Jeremy Well-Known Member

    You can do a user group promotion based on the value of the gender field and restrict access via secondary user groups.
  7. Mike Creuzer

    Mike Creuzer Well-Known Member

    Oh my. Its so simple. Thank you sir, I didn't know you could do this.

    Now, I wouldn't need the resource Russ pointed out (although I already bought it), if there was a way to disable changing your gender some how as well. Can you think of a way?

    Thanks again Jeremy.
  8. Jeremy

    Jeremy Well-Known Member

    I'm sure you can use a conditional and a template edit to hide the form inputs to lock them into a single gender.
    Mike Creuzer likes this.
  9. Mike Creuzer

    Mike Creuzer Well-Known Member

    Good thought, I considered that as well but wasn't sure. Would you recommend hiding in CSS, JS, or just a conditional?

    Ill figure out exactly what the conditional is, but something like:

    <xen:if is="{$userOptions.gender} != "male" || {$userOptions.gender} != "female">

    .. form field for gender in preferences, unless this is in a loop ..

  10. Jeremy

    Jeremy Well-Known Member

    Yes. Quick glance that looks correct, except you'll want an && and to use single quotes within the double quotes. I would include a xen:else and have hte else just be a hidden input field with their gender choice.
    Mike Creuzer likes this.
  11. Mike Creuzer

    Mike Creuzer Well-Known Member

    Thanks, will do that, much appreciated.

Share This Page