Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Hi
I think I've been right through the cp - but I can't find the answer.

Is there a way to hide ALL email addresses?

i.e. members who are new registrants may choose to hide their email address ...but older members may still have their email addresses set as visible.

(Just trying to protect them from spammers.)

Cheers,
d.

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
easy way, only permit registered users to lookup profile data...

Hard way, sql query (too tired to craft one right now)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
hmm, i'm looking and i can't see it; is there an option to not display your email address? may just be because i'm tired...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
That's why there are 2 email address fields. One for your real email addy that is used for any notifications, and one that is shown on your public profile. The one in your public profile can be left empty if you don't want your email address to show.

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I have a perfect comprimise! Go and edit templates/default/showprofile.tpl, find:
Code
<td valign="top">&nbsp;
<a href="mailto:{$Fakeemail}">{$Fakeemail}</a>
</td>

And replace it with:
Code
<td valign="top">&nbsp;</td>

... Wham, no email address shown ever ...

Though I much prefer just allowing people to set what they want their public email displayed as, hey, if they WANT it seen, then why not let them set it...

Not to mention, you can block guests viewing profiles, which would ban any non-logged in users which includes random bots.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Actually Gizmo,
I think this will work perfectly.

I can use it to hide users emails, whilst I make a board-wide announcement that a spammer is currently trying to harvest their addresses.

This will allow them to hide their emails in the interim period.

Then I'll add the announcement to the newsletter to cover users that haven't been on the site for a few weeks.

2-3 weeks later - I'll lift the 'mod' and anyone who wants their email viewable will get just that.

Everyone's a winner! smile
Cheers mate laugh
d.

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
I think an easier one would ahve been to just set the public email for all users to "Address Hidden", but 'eh manyw ays to do the same thing lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
...but as I said "retrospectively"

Many users will have registered via Classic and not changed their settings, since way back when...

Joined: Aug 2007
Posts: 45
M
newbie
newbie
M Offline
Joined: Aug 2007
Posts: 45
We run a rather contraversal message board and often have people trying to subvert our position. For this reason we need to keep communication in the open, doing our best to limit behind the scenes communication. To this end we prefer to not give our members the ability to get each others email address or to send one another private messages. At least through our message board.

Having an option (as was the case in the version we upgraded from) we were able to hide members email address.

I used the showprofile.tpl mod suggested by Gizmo and it works very nicely. However I prefer not to have customized code that will get altered in a future upgrade.

Having such a feature in a future version would be greatly welcome.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)