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,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
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, Scouters World
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,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
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, Scouters World
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,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
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, Scouters World
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,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
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, Scouters World
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
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
5 members (Gizmo, Baldeagle, Ruben, ahmed047, 1 invisible), 791 guests, and 149 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)