15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
How To miniBB Support Forums / How To /   

Hide some fields in user profile

Author Anonymous
#1 | Posted: 20 Dec 2004 14:02 
hi miniBB team and community!

I'd like to change the "user profile" page (when you klick on the status member, mod, ...). For example: i don't want the user emails/interests there.

I searched the manual and i tried to modify it with the main_user_info.html and main_user_info_cell.html, but i guess it's the wrong way.

need the bb_func_usernfo.php a special change?
hope someone can help me with this little prob

Author Team
#2 | Posted: 20 Dec 2004 14:23 | Edited by: Admin 
Yes, you need to edit bb_func_usernfo.php file, somewhere here:

for($i=1; $i<10; $i++){
if (isset($l_usrInfo[$i]) and $row[$i]!='') {
$what=$l_usrInfo[$i]; $whatValue=$row[$i];

catch necessary index and make a condition, for example:

if ($i!=5 and isset($l_usrInfo[$i]) and $row[$i]!='') {

Author Anonymous
#3 | Posted: 7 Mar 2005 14:49 

i have got an miniBB 1.7 an i want to change the Profile:
The should be no ICQ, no Website, no Country no Job an no Interessts.
This should be nowhere, also not, when sombody register. How can i do this?


Author Fritzek
#4 | Posted: 7 Mar 2005 15:09 
try to comment this fields out in the template of editing profiles (templates/user_dataform.html). they are not mandatory for users reg and can be "hidden". The most simple way...

Author Anonymous
#5 | Posted: 7 Mar 2005 19:01 
Thank you :-)
It works...

How To miniBB Support Forums / How To / Hide some fields in 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
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB