Page 1 of 1
phpbb user register, email veiwing
Posted: Tue Feb 28, 2006 5:20 am
by BlueFlame
in phpbb, when a user registers theres a option where the user can say not to show his/hers email address, well im trying to get rid of that and allow all emails to be shown, i just have to find the line of code that sends that to the database. I think iv found it but im not to sure.
Code: Select all
$viewemail = ( isset($HTTP_POST_VARS['viewemail']) ) ? ( ($HTTP_POST_VARS['viewemail']) ? TRUE : 0 ) : 0;
Posted: Tue Feb 28, 2006 9:43 am
by feyd
If that element name matches the radio button or whatever phpBB uses for it, then that should be it.
Re: phpbb user register, email veiwing
Posted: Tue Feb 28, 2006 6:28 pm
by Roja
BlueFlame wrote:in phpbb, when a user registers theres a option where the user can say not to show his/hers email address, well im trying to get rid of that and allow all emails to be shown
Have you considered the implications for users, and the internet in general? Thats going to cause members to get a considerable amount of spam, and no option to avoid it.
Posted: Tue Feb 28, 2006 7:13 pm
by John Cartwright
Not to mention you can still access their emails from the database through simple query, even if they did decide to hide their email from public view.. no need to expose them to spambots.
Posted: Wed Mar 01, 2006 12:57 am
by BlueFlame
As you should know phpbb dosnt directly display there email addresses so people wouldnt get spammed. I will still allow the user to switch the email veiwing off but i would like it to make it automacally switch on when they register.
Posted: Wed Mar 01, 2006 6:55 am
by Roja
BlueFlame wrote:I will still allow the user to switch the email veiwing off but i would like it to make it automacally switch on when they register.
Thats different than what you described initially. Changing the default to show is totally different from "Removing the option to hide your email", which was your initial post.
That said, yes, phpbb does some protection around the email - but there is a reason it defaults to off. It still remains a spammers paradise.
I'm glad to hear you will at least leave members the option to hide it, despite your preference to the contrary.
Posted: Wed Mar 01, 2006 3:26 pm
by BlueFlame
can someone tell me how to make it default to yes?
Posted: Wed Mar 01, 2006 10:03 pm
by feyd
Posted: Thu Mar 02, 2006 2:22 am
by BlueFlame
thanks, worked perfectly.