News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Hide email address, unread posts list

Started by SethStudent, September 20, 2021, 04:04:56 AM

Previous topic - Next topic

SethStudent

Sorry for my ignorance. I just updated to 2.1 RC4 today (LOVE IT, wow!) and have had questions from members that I can't answer.

One: there used to be a personal profile option "allow other members to email me" that we can't seem to find (some want that turned off).

Two: Apparently Unread Posts alerts were obviously marked on the home page upon login in 2.0 (I never noticed that myself), and now there's instead a link on the Home page to Unread Posts. Any way to change that back?

Arantor

1. The option is now simply off IIRC.

2. Unread posts + unread replies link is on every page in the breadcrumb trail. Nothing gone, simply in a different place.

Kindred

you can style the links as "buttons" using CSS

e.g.
.unread_links a {
    color: #444;
    font-size: 0.7rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 1px solid;
    border-color: #ddd #bbb #aaa #ddd;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(221, 221, 221, 0.57);
    box-sizing: border-box;
    vertical-align: middle;
    padding-right: 10px !important;
}
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SethStudent

Quote from: Arantor on September 20, 2021, 04:23:39 AM1. The option is now simply off IIRC.

I just can't find where to turn off "allow other members to email me," I think it used to be in Forum Profile. Has it been moved?

Quote from: Kindred on September 20, 2021, 10:08:35 AMyou can style the links as "buttons" using CSS

Thank you, great idea. I did see style sheets can now more easily edited. Pretty exciting!


Arantor

Yes the option has been removed because it's now forcibly off for everyone. Don't need an option to turn it off when off is the only choice.

SethStudent

Quote from: Arantor on September 20, 2021, 10:30:54 AMYes the option has been removed because it's now forcibly off for everyone. Don't need an option to turn it off when off is the only choice.

Oh OK I didn't realize that. Thank you. I had a member ask me how to turn it off. Being logged in as Admin, all the envelope icons appeared under all posting members' names. I then logged into my forum as a regular member, and the icons are now gone. It wasn't obvious to me—such as here, under my Posts:80 I see the envelope.

shadav

Quote from: SethStudent on September 20, 2021, 10:37:56 AM
Quote from: Arantor on September 20, 2021, 10:30:54 AMYes the option has been removed because it's now forcibly off for everyone. Don't need an option to turn it off when off is the only choice.

Oh OK I didn't realize that. Thank you. I had a member ask me how to turn it off. Being logged in as Admin, all the envelope icons appeared under all posting members' names. I then logged into my forum as a regular member, and the icons are now gone. It wasn't obvious to me—such as here, under my Posts:80 I see the envelope.

as an admin you can see everyone's
as a member you can see your own

if you wanted to you could just pull it from the display.template.php

// Show the email if necessary
if (!empty($message['member']['email']) && $message['member']['show_email'])
echo '
<li class="email"><a href="mailto:' . $message['member']['email'] . '" rel="nofollow">', ($settings['use_image_buttons'] ? '<span class="main_icons mail centericon" title="' . $txt['email'] . '"></span>' : $txt['email']), '</a></li>';

Advertisement: