Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: maxinho - syyskuu 15, 2011, 03:34:21 AP

Otsikko: how to remove hide show my email address option
Kirjoitti: maxinho - syyskuu 15, 2011, 03:34:21 AP
i would like to know how to remove the hide show email address option from my forum.

when you read post if people have the email on show you can click the link and send them a email.

i would like this link to be removed.

can anyone help me

thanks
Otsikko: Re: how to remove hide show my email address option
Kirjoitti: kat - syyskuu 15, 2011, 05:58:27 AP
But, people can do the same by going to their profile, if they have that enabled.

So, removing that won't achieve much.
Otsikko: Re: how to remove hide show my email address option
Kirjoitti: maxinho - syyskuu 15, 2011, 01:29:48 IP
yes  want it so it hides there email and they cant have it on show.

so they have no option to show there email.

this stops spamming.
Otsikko: Re: how to remove hide show my email address option
Kirjoitti: kat - syyskuu 15, 2011, 01:33:29 IP
Yeah. I think it's a failing of SMF that e-mails aren't hidden, by default, myself.

To save you the hassle of editing files and the like, can I suggest that you send a mass-PM to your members, advising them to hide their e-mail addresses, explaining why?
Otsikko: Re: how to remove hide show my email address option
Kirjoitti: maxinho - syyskuu 15, 2011, 01:48:39 IP
i am happy to donate for someone to help me edit the code.
Otsikko: Re: how to remove hide show my email address option
Kirjoitti: kat - syyskuu 15, 2011, 04:48:34 IP
I could possibly figure it out, for free, mate.

Thing is, I'm a bit busy over the next few days.

If you can wait until then, I'll see what I can do. :)
Otsikko: Re: how to remove hide show my email address option
Kirjoitti: live627 - syyskuu 15, 2011, 11:27:35 IP
Koodi (Find in ./Themes/default/Register.template.php and remove) [Valitse]

<dt><strong><label for="allow_email">', $txt['allow_user_email'], ':</label></strong></dt>
<dd>
<input type="checkbox" name="allow_email" id="allow_email" tabindex="', $context['tabindex']++, '" class="input_check" />
</dd>


EDIT: Oh crap, wrong version :/

Koodi (Find, same file as above) [Valitse]
<label for="hideEmail"><input type="checkbox" name="hideEmail" id="hideEmail" class="check" /> ', $txt[721], '</label>

Koodi (Replace the above with) [Valitse]
<input type="hidden" name="hideEmail" value="1" />
Otsikko: Re: how to remove hide show my email address option
Kirjoitti: maxinho - syyskuu 16, 2011, 03:30:05 AP
is this the code? can someone help me to load it in?

whiling to donate.  :D
Otsikko: Re: how to remove hide show my email address option
Kirjoitti: kat - syyskuu 16, 2011, 05:20:20 AP
Themes/default/Register.template.php

If you attach that file, someone can edit that out, if you like.