miniBB ®®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
How To miniBB Community Forum / How To /

Hide some fields in user profile

 
Anonymous
Guest
#1 | Posted: 20 Dec 2004 14:02
Reply 
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
Team
8-)
#2 | Posted: 20 Dec 2004 14:23 | Edited by: Admin
Reply 
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]!='') {
Anonymous
Guest
#3 | Posted: 7 Mar 2005 14:49
Reply 
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
Fritzek
Forums Member
#4 | Posted: 7 Mar 2005 15:09
Reply 
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...
Anonymous
Guest
#5 | Posted: 7 Mar 2005 19:01
Reply 
Thank you :-)
It works...
 
Your Reply
Bold Style  Italic Style  Image Link  URL Link 


» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership 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.

 
Online now: Guests - 31
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®