Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
User Awaiting Moderation Email Notification Details »»
User Awaiting Moderation Email Notification
Version: 1.3, by Trevor Hannant (Senior Member) Trevor Hannant is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.x Rating:
Released: 03-31-2012 Last Update: 03-28-2015 Installs: 41
Uses Plugins
 
No support by the author.

This modification will enable the sending of an email to the email address specified in 'AdminCP > Settings > Options > User Registration Options > Email Address to Notify About User Awaiting Moderation' when a users clicks on the Activation link in the registration email.


INSTALLATION


Go to:

AdminCP > Plugins & Products > Manage Products > [Add/Import Product]

...and import the 'product-th_moderate_user_email_1-2.xml' file.

Once installed, new options will be available within AdminCP > Settings > Options > User Registration Options allowing you to enable this setting. It will only send the email if the following settings are set to Yes:

- AdminCP > Settings > Options > User Registration Options > Moderate New Members
- AdminCP > Settings > Options > User Registration Options > Verify Email address in Registration


If EITHER of the above settings are set to No, the email will not be sent.

UNINSTALLING

Go to:

AdminCP > Plugins & Products > Manage Products

...and select 'Uninstall' from the dropdown next to the Product.


TRANSLATIONS

The email text uses a new Email Subject Text and Email Body Text Phrase (moderatenewuser). These can be translated within the Phrase Manager into your own language if this is not English.

The AdminCP phrases used are:

- setting_TH_UAME_active_title
- setting_TH_UAME_active_desc
- setting_modnewemail_desc
- setting_modnewemail_title

Note: Although not tested in previous version, given that the code has not changed, it's likely that this will work in previous version including 3.8.x however if there are any issues with previous versions, they will not be supported. If the code changes within the vBulletin core, this product will only be updated for that version onwards.


Versions

1.3 Changed variable names in email body text to account for users ending browser sessions then completing activation.
1.2 Added separate field to allow notifications to be sent to a different address. Removed product dependency.
1.1 Corrected Email Body Text phrase to use AdminCP directory from config.php rather than hard-coded value
1.0 Initial release

Thanks to BirdOfPrey5, Lynne and Paul M for putting me right on some rank stupidity with this...

Download Now

File Type: zip User Awaiting Moderation Email 1.3.zip (2.5 KB, 64 views)

Show Your Support

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

Comments
  #2  
Old 04-01-2012, 07:11 PM
lapiervb lapiervb is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not compatable with 4.1.10? Many of us have stopped upgrading at 4.1.10 due to vb not supporting older browsers. 40% of my traffic uses browser that arent supported in 4.1.11
Reply With Quote
  #3  
Old 04-02-2012, 05:56 AM
Trevor Hannant's Avatar
Trevor Hannant Trevor Hannant is offline
Senior Member
 
Join Date: May 2003
Location: Edinburgh, Scotland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can remove the Product Dependency from the XML if you wish - see note in original post:

Quote:
Note: Although not tested in previous version, given that the code has not changed, it's likely that this will work in previous version including 3.8.x however if there are any issues with previous versions, they will not be supported. If the code changes within the vBulletin core, this product will only be updated for that version onwards.
Reply With Quote
  #4  
Old 04-02-2012, 09:56 AM
lapiervb lapiervb is offline
 
Join Date: Mar 2010
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trevor Hannant View Post
You can remove the Product Dependency from the XML if you wish - see note in original post:
Yea Im just a board owner I wouldn't know how to do that. I like the idea of the mod anyhow...
Reply With Quote
  #5  
Old 04-02-2012, 10:02 AM
Trevor Hannant's Avatar
Trevor Hannant Trevor Hannant is offline
Senior Member
 
Join Date: May 2003
Location: Edinburgh, Scotland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open the XML file in a text editor and remove this line:

Code:
        <dependency dependencytype="vbulletin" minversion="4.1.11" maxversion="" />
Then try the import again.
Reply With Quote
  #6  
Old 04-02-2012, 11:59 PM
ptceuro ptceuro is offline
 
Join Date: Jan 2012
Location: U.S.A
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent, I really like it.
Reply With Quote
  #7  
Old 05-12-2012, 10:41 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do all Administrators receive the email notifications?
Reply With Quote
  #8  
Old 05-13-2012, 12:20 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any screenshots
Reply With Quote
  #9  
Old 05-13-2012, 03:33 PM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snowhog View Post
Do all Administrators receive the email notifications?
Well, I guess the answer is 'no', at least, this morning, there were 5 new users in Users Awaiting Moderation, but I didn't get emails for any of them.

So where is the address that controls who gets notified? Can more than one administrators email address be included, or would we need to use a group email address?
Reply With Quote
  #10  
Old 05-13-2012, 03:45 PM
Trevor Hannant's Avatar
Trevor Hannant Trevor Hannant is offline
Senior Member
 
Join Date: May 2003
Location: Edinburgh, Scotland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
any screenshots
What would you like a screenshot of? There's a single 'Yes/No' option added to the User Registration Options settings group, that's all.

Quote:
Originally Posted by Snowhog View Post
Well, I guess the answer is 'no', at least, this morning, there were 5 new users in Users Awaiting Moderation, but I didn't get emails for any of them.

So where is the address that controls who gets notified? Can more than one administrators email address be included, or would we need to use a group email address?
Have you set both the following settings to 'Yes':

- AdminCP > Settings > Options > User Registration Options > Moderate New Members
- AdminCP > Settings > Options > User Registration Options > Verify Email address in Registration

If EITHER of the above settings are set to No, the email will not be sent.

You can have the emails sent to more than one address by entering additional email addresses in:

AdminCP > Settings > Options > User Registration Options > Email Address to Notify About New Members

Separate each address in that field with a space.
Reply With Quote
Reply

Thread Tools

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 08:53 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.09568 seconds
  • Memory Usage 2,316KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete