Log in

View Full Version : Miscellaneous Hacks - Remove receive email from admin option from registration page


CK
05-08-2011, 10:00 PM
Open up your "Register" template and find the following code and remove it. Save and you're done. Be sure to remove all the code shown in the checkbox from your template as if you don't you'll only partially remove either the check box or the associated text.

<li>
<label for="cb_adminemail"><input type="checkbox" name="options[adminemail]" value="1" id="cb_adminemail" tabindex="1" {vb:raw checkedoff.adminemail} /> {vb:rawphrase receive_email_from_bulletin_board_staff}</label>
</li>

Why would I need this

If you're like me and you send newsletters to your users this will be handy as upon initial registration the option not to receive admin emails is gone. This will also have a knock on effect with new users being reminded of threads they've become involved in if you have set that they will automatically be subscribed to threads.

Don't worry

Users will still be able to edit these options from userCP but it allows you the option of firing off a few newsletters or thread updates first.

129664

LordVader
06-02-2011, 01:48 AM
Thanks. :)

It's Not bad but it would be better if you pointed out the fact that it only removes the "Tick Box" But it still leaves the original text in place.

To make it look cleaner & more professional to prospective new members i would suggest doing the following.

01 Admin CP
02: Languages & Phrases
03: Search In Phrases
04: Search For Text: (From time to time, the administrators) No Brackets
05: Select: Phrase Text and Phrase Variable Name
06: Click Find

Then simply write whatever text you wish your prospective new member to see.

Attachment below of how mine now looks, Resized so it's easier to read.

CK
06-02-2011, 08:26 AM
Lordvader - The text and checkbox are both removed if you follow my instructions above. If you read the code to remove you can see it covers the checkbox and text and actually turns out like your screenshot :)

I've updated the instructions just in-case others miss all the code in the box, you need to make sure you scroll across and get all the code in the box:)

LordVader
06-02-2011, 12:05 PM
LOL

Don't I feel like a (Dummy) :o

Sorry about that, But to be honest i'm going to leave mine the way it now looks, This way it stops them from initially blocking Admin Emails & alerts them to the fact that I will spam them on occasion.

Thanks for the reply & thanks for the hack. :)

L.V

CK
06-02-2011, 01:05 PM
No worries mate :)