miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  
 

Make All boxes in User Registration *Required

 
Author Steve Shaw
Partaker
#1 | Posted: 29 Jan 2013 12:09 
I've had a look, but can't work out how to make all user 'Sign-up entries' *required???

Our forum is very specific, and making users add company name and website will help filter out users that are not really valid.

Is this possible?

Steve

Author Paul
Lead Developer 
#2 | Posted: 29 Jan 2013 18:17 
Answering your question - yes, it's possible. There are at least two ways of doing it more properly.

The simplest one is to give verification routine to JavaScript. You can create a function which will verify all fields before the form is being submitted. But this is only client-side-related solution; still, it will cover 95% of cases.

If you would like to perform a "hard" routine on checking fields in the PHP code, there are also two ways of doing that:

- Modify bb_func_checkusr.php and apply some custom modifications adding new fields and values to provide new custom errors (you must know a bit of miniBB working principle to do it properly) - this will exclude this script from the easy updates though;

- Modify bb_plugins_user.php and add some new codes to handle all related fields and values at the non-destructive level - this will allow to keep easy upgrades in the future.

Since your task is customized and I don't have an idea what kind of fields you have on form, I can't recommend more. Also, if you need exact codes, you may refer to our private/paid customers support for that.

Specific miniBB Support Forums / Specific /
 Make All boxes in User Registration *Required
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑