miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

How do I eliminate some of the Sign Up Necessary fields.

Author Liz Zil
Registered
#1 | Posted: 5 Feb 2006 17:25 
Hi and thanks for such great software.

I want to eliminate some of the “Sign Up” Necessary fields.

I have eliminated those fields in my “install minibb”.
Do I need to change array order, see below

$dbUserSheme=array(
'username'=>array(1,'username','login'),
'user_password'=>array(3,'user_password','passwd'),
'user_email'=>array(4,'user_email','email'),
'user_from'=>array(5,'user_from','from'),
'user_viewemail'=>array(6,'user_viewemail','user_viewemail'),
'user_sorttopics'=>array(7,'user_sorttopics','user_sorttopics'),
'language'=>array(8,'language','language'),
'num_topics'=>array(9,'num_topics',''),
'num_posts'=>array(10,'num_posts',''),
'user_custom1'=>array(11,'user_custom1','user_custom1'),
'user_custom2'=>array(12,'user_custom2','user_custom2'),
'user_custom3'=>array(13,'user_custom3','user_custom3')

should I leave the array numbers alone?

$dbUserSheme=array(
'username'=>array(1,'username','login'),
'user_password'=>array(3,'user_password','passwd'),
'user_email'=>array(4,'user_email','email'),
'user_from'=>array(8,'user_from','from'),
'user_viewemail'=>array(10,'user_viewemail','user_viewemail'),
'user_sorttopics'=>array(11,'user_sorttopics','user_sorttopics'),
'language'=>array(14,'language','language'),
'num_topics'=>array(16,'num_topics',''),
'num_posts'=>array(17,'num_posts',''),
'user_custom1'=>array(18,'user_custom1','user_custom1'),
'user_custom2'=>array(19,'user_custom2','user_custom2'),
'user_custom3'=>array(20,'user_custom3','user_custom3')
);

And do the same in mysql database? Have I done this correctly, If so is there anything else I need to change.

Author Ivan
Advanced Member
#2 | Posted: 5 Feb 2006 19:48 | Edited by: Ivan 
The necessary fields are only:

* Name
* Password
* Repeat Password
* Email


You cannot work without them.

You can simply remove any other field from

user_dataform.html

with a HTML editor and that's all. But you don't need to, they're not mandatory. However, some of your users could like to share something about themselves :)

Author Liz Zil
Registered
#3 | Posted: 5 Feb 2006 22:13 
Thanks for the answer. I found it.

I wanted to delete the ICQ, Website and occupation. which I did. I use PHP Designer, a free editor.

So if I understand you correctly. I do nothing with _install or install_options, is that correct.
Liz

Author marsbar
Associated Member
#4 | Posted: 5 Feb 2006 22:45 
To remove ICQ, web site, and occupation fields, you don't need to touch the script files - just edit template user_dataform.html. Make sure you keep the essential fields (i.e. name, password, repeat password, email) - as mentioned by Ivan.
All the best -
mb

Author Liz Zil
Registered
#5 | Posted: 6 Feb 2006 00:09 
Thank-you!

Specific miniBB Support Forums / Specific / How do I eliminate some of the Sign Up Necessary fields. Top

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

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB