miniBB ® 

miniBB

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

Hide some fields in user profile

 
Author Anonymous
Guest
#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
8-)
#2 | Posted: 20 Dec 2004 14:23 
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];
$USERINFO.=ParseTpl($usrCell);
}
}

catch necessary index and make a condition, for example:

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

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

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?

cu,
Stephan

Author Fritzek
Partaker
#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
Guest
#5 | Posted: 7 Mar 2005 19:01 
Thank you :-)
It works...

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


  ⇑