miniBB ® 

miniBB

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

Is this possible ?

 
Author jon_bennett
Partaker
#1 | Posted: 27 Feb 2002 19:50 
Hi,

I love this software. Elegantly simple, yet enormously powerful!!

The project I wish to use this on reqires a certain amount sercurity as the target audience is the under 16's. This means we don't want any personal info about them to be visible to anyone except the admin. It would be better if the option wasn't even there.

So is it possible to remove these from the files:

Location
Ocupation

And have their email addresses hidden from all except admin(s) without the option to show it ??

How hard would that be ??

Thanks

Jon
_______________________________________________
Jon Bennett // jon.bennett@SoundsWest.org
SoundsWest.org // promoting CREATIVE action in the West Country

Author Aleck
Activator
#2 | Posted: 28 Feb 2002 01:28 
but wouldn't it be up to them to decide whether they want to show their information to the public or not?

You can always put a notice in registration page saying that they shouldn't list their location/occupation, and have their emails hidden from public.

just a suggestion. :)

Author jon_bennett
Partaker
#3 | Posted: 28 Feb 2002 02:42 
Maybe, if they weren't minors, if the we hadn't got funding by the local concil, who are insisting on such things because they have no choice.

Sorry, I guess I didn't make myself clear enough, I'd much rather I didn't have to worry about this but my hands are tied.

I've removed the location / ocupation fields from the "user_dataform.html" template, and changed it so that the default is 'hide email from public' with a small note to the right saying "If you are under 16 please leave this as it is. Thanks".

Hopefully that'll do it, but I'm dealing with burecocy (spelling) here so you never know !

To check it out go here:
http://www.soundswest.org/miniBB/

Thanks

Jon
_______________________________________________
Jon Bennett
SoundsWest.org // promoting CREATIVE action in the West Country

Author Team
8-)
#4 | Posted: 28 Feb 2002 10:09 
Yes, that's possible, but you need to edit php file, not html. By default, all values if they are "empty" or equal to '' are not displayed. If they containt any info, find function userInfo() in bb_functions, find string

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

and add 2 other statements: "and $i!=7 and $i!=8"

so you will have

if (isset($l_usrInfo[$i]) and $row[$i]!='' and $i!=7 and $i!=8)

As about hidden emails, there is an option user_viewemail in database. If it equal to 0, email is not shown. User himself defines, is this option set up or not.

Please, if you are going to edit PHP files, wait for new update coming soon, since it contains some bug-fixes.

How To miniBB Support Forums / How To /
 Is this possible ?
 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
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑