PDA

View Full Version : How do I add extra fields to registration?


marcolav
05-15-2010, 06:21 PM
Hello all

how can I add extra fields to my forum registration form, like full name, city, country etc? i want to have more fields as to prevent spambot registrations

Thanks

marco

Wired1
05-15-2010, 06:52 PM
http://www.vbulletin.com/docs/html/profile_add_single_line
Field Required - You can require the user to answer this field at registration. If you add it after the user registers, then they will need to answer it before they can update their profile. If set to Yes, always then the user will be forced to complete this field before doing anything else on the forum. If you wish to display this field at registration but not have it required, select No, but display at registration.

your24hourstore
05-15-2010, 08:15 PM
that is the most complicated thing on this forum for people to figure out how to get it working

Regular Expression - Expressions allow you to filter the data you allow the user to input in the field. Regex can be rather complicated so ask for assistance if you have trouble getting this to work properly. For example, the following regex would only accept a number in the range of 1 to 50:
^([1-9]$|[1-4][0-9]|50)$The following regex would only accept a 7 or 8 digit number:
^([0-9]{7,8})$

lol somone once ask me why i didnt just set this up instead of useing the hack advanced registrations
well thats why, so go over to mods get advansed registrations (https://vborg.vbsupport.ru/showthread.php?t=236117&highlight=advanced+registrations)its so easy and it will stop spambots dead in their tracks i swear by it. plus you can setup more reg questions if you want more than just one!