VBulletin Registration Requirement Help

Discussion in 'vBulletin' started by creativedingo, Nov 25, 2006.

  1. #1
    Hello,

    Does anyone know how to require an attribute at registration. Basically i want to require location when a user registers. Is their a mod or am I just missing something in the options. Using 3.5.4

    Thanks
     
    creativedingo, Nov 25, 2006 IP
  2. Imran

    Imran Notable Member

    Messages:
    2,340
    Likes Received:
    190
    Best Answers:
    0
    Trophy Points:
    230
    #2
    Hey Welcome to DP.
    User Location is not a default user registration option, but this can be incorporated easily, if you know few basics.
    Follow these simple instructions:

    Login to Admincp >> User Profile Fields >> Add New User Profile Field >>

    Profile Field Type : Single Line Text-Box
    Click Continue >>

    Title: Location

    Description: Please Enter your Location

    Default Value: blank

    Max length of allowed user input

    Field Length

    Display Order

    Field Required: Yes, always

    Field Editable by User: Yes

    Private Field: No

    Field Searchable on Members List: No

    Show on Members List

    Regular Expression: Leave it Blank or use this ^[[:alnum:]][a-z0-9_.-]

    Display Page: Edit profile or Options page what ever you want.
    Click Save and you are done. Now pay me 10000$ :p
    If you want to display this on your postbit template, you need to edit it.
     
    Imran, Nov 26, 2006 IP
  3. Imran

    Imran Notable Member

    Messages:
    2,340
    Likes Received:
    190
    Best Answers:
    0
    Trophy Points:
    230
    #3
    I just noticed there is a default location field that is available. :D You can completely ignore the above or use same procedure for some other profile field:D
     
    Imran, Nov 26, 2006 IP
  4. creativedingo

    creativedingo Active Member

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #4
    Imran,

    Thanks, I new their had to be an easy way of doing that.
     
    creativedingo, Nov 26, 2006 IP