Using "Classic" style - question about e-mail show

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
Locked
User avatar
cwipperman
Registered User
Posts: 36
Joined: Wed May 01, 2002 9:40 am

Using "Classic" style - question about e-mail show

Post by cwipperman » Fri Dec 03, 2004 12:53 am

I am using the "Classic" style on one of my sites. I was noticing that on the "memberlist" page - everyones e-mail address is shown. I have a test account that I put "do not show e-mail" on. How would I adjust the settings so that if a person selects not to show their e-mail - it will not be displayed on the memberlist page?

Thank You

atomic_punk
Registered User
Posts: 42
Joined: Fri Dec 03, 2004 4:02 am
Location: United States
Contact:

May not be the most eliquent way...

Post by atomic_punk » Fri Dec 03, 2004 6:57 am

Cwipperman,

Take this code out of the memberslist_body.tpl:

Code: Select all

{memberrow.EMAIL_IMG}
This is a permanant revision and the only way to show e-mail again is to put the code back or over write with a backup.

But it is fool proof...

Best regards,
-Atomic_Punk :mrgreen:

User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin
Contact:

Post by Arty » Fri Dec 03, 2004 10:42 am

This is not style problem. Style shows what phpBB tells it to show. In admin control panel in general configuration enable option "email via board" and forum won't show any email addresses.
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework

Graham
Former Team Member
Posts: 8462
Joined: Tue Mar 19, 2002 7:11 pm
Location: UK
Contact:

Post by Graham » Fri Dec 03, 2004 6:53 pm

The other point which has been overlooked is that if you are an administrator, then you will see the email addresses on that page regardless of what is in the user profile. Test it with a normal user id and see what it shows.
"So Long, and Thanks for All the Fish"

phpBB Useful Links: Knowledge Base | Userguide | Forum Search | MOD Database | Styles Database
My Links: Blog!

Locked

Return to “[2.0.x] Styles Development & Discussion”