Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Remove receive email from admin option from registration page Details »»
Remove receive email from admin option from registration page
Version: 1.00, by CK CK is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.1.3 Rating:
Released: 05-08-2011 Last Update: Never Installs: 13
Template Edits
 
No support by the author.

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.

Code:
<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.

Receive.png

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-02-2011, 01:48 AM
LordVader LordVader is offline
 
Join Date: Aug 2009
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Images
File Type: jpg 01.JPG (14.7 KB, 0 views)
Reply With Quote
  #3  
Old 06-02-2011, 08:26 AM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 06-02-2011, 12:05 PM
LordVader LordVader is offline
 
Join Date: Aug 2009
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL

Don't I feel like a (Dummy)

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
Reply With Quote
  #5  
Old 06-02-2011, 01:05 PM
CK CK is offline
 
Join Date: Dec 2007
Location: http://xenforo.com/
Posts: 241
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No worries mate
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04114 seconds
  • Memory Usage 2,256KB
  • Queries Executed 19 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (1)postbit_attachment
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete