Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Making "Hide E-Mail" default when registering
#1
Not Solved
I have MyBB 1.6, and this is a new installation. It's important that the "hide e-mail" box is checked when people first register.

The other posts here on this topic don't seem to really fix it. However, I noticed instructions on the Simple Machines (SMF) forum where you can go in and change the php. Could something this simple be done, or maybe there is another solution?

How/where would I go to change the php? I can write HTML but am pretty new to php. This is from the post [undefined=undefined]for SMF[/undefined].

"1. Go to to your cPanel or FTP your files.
2. Proceed to Themes
3. Choose Default
4. Open Register.template.php
5. Find this line: <label for="hideEmail"><input type="checkbox" name="hideEmail" id="hideEmail" class="check" /> ', $txt[721],

'</label>';

6. Change that line into: <label for="hideEmail"><input type="checkbox" name="hideEmail" id="hideEmail" class="check" checked /> ',

$txt[721], '</label>';

7. Save Register.template.php"

Thanks a lot.
#2
Not Solved
The steps for doing that in MyBB are almost identical:

1. Open ACP
2. Go to Templates & Style, choose Templates
3. Select your template set (usually Default Templates)
4. Expand 'Member Templates' and go into the 'member_register' template
5. Find
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>
6. Replace it with
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" checked /></td>
7. Save 'member_register'
#3
Not Solved
(2012-12-09, 04:33 PM)Beardy Wrote: The steps for doing that in MyBB are almost identical:

1. Open ACP
2. Go to Templates & Style, choose Templates
3. Select your template set (usually Default Templates)
4. Expand 'Member Templates' and go into the 'member_register' template
5. Find
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" {$hideemailcheck} /></td>
6. Replace it with
<td valign="top" width="1"><input type="checkbox" class="checkbox" name="hideemail" id="hideemail" value="1" checked /></td>
7. Save 'member_register'

You da man! Very easy. Thanks much!


Forum Jump:


Users browsing this thread: 1 Guest(s)