PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
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.
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.
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.
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.
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.