miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | 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 Top

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

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


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
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB