miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Re-cycled miniBB Support Forums / Re-cycled /  
 

Add / remove fields from user profile

 
Author Guest
~
#1 | Posted: 22 Jul 2008 05:02 
Hi there,

Is there a way I can prevent the following info from being published on a user's profile?

- icq
- occupation
- from
- interest

Also, how easy is it to add a new field?

Thanks

Loz

Author Paul
Lead Developer 
#2 | Posted: 24 Jul 2008 03:53 
Guest:
Is there a way I can prevent the following info from being published on a user's profile?
Refer to $dbUserShema setting and disable (comment) or remove the fields you would like to avoid to display. For example:

$dbUserSheme=array(
'username'=>array(1,'username','login'),
'user_password'=>array(3,'user_password','passwd'),
'user_email'=>array(4,'user_email','email'),
//'user_icq'=>array(5,'user_icq','icq'),
//'user_website'=>array(6,'user_website','website'),
//'user_occ'=>array(7,'user_occ','occupation'),
//'user_from'=>array(8,'user_from','from'),
'user_interest'=>array(9,'user_interest','interest'),
'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')
);
Also you may remove those fields from the database table. All proper indexes of the left fields must be kept then. Refer to "Determine Fields" tool for knowing them out.

About adding a new field read: Extending miniBB's User Profile with the New Field(s)

Re-cycled miniBB Support Forums / Re-cycled /
 Add / remove fields from user profile
 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.


  ⇑