vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - User Awaiting Moderation Email Notification (https://vborg.vbsupport.ru/showthread.php?t=280979)

Trevor Hannant 03-31-2012 10:00 PM

User Awaiting Moderation Email Notification
 
1 Attachment(s)
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... :p

lapiervb 04-01-2012 07:11 PM

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

Trevor Hannant 04-02-2012 05:56 AM

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.

lapiervb 04-02-2012 09:56 AM

Quote:

Originally Posted by Trevor Hannant (Post 2315929)
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...

Trevor Hannant 04-02-2012 10:02 AM

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.

ptceuro 04-02-2012 11:59 PM

Excellent, I really like it.

Snowhog 05-12-2012 10:41 PM

Do all Administrators receive the email notifications?

ForceHSS 05-13-2012 12:20 AM

any screenshots

Snowhog 05-13-2012 03:33 PM

Quote:

Originally Posted by Snowhog (Post 2328838)
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?

Trevor Hannant 05-13-2012 03:45 PM

Quote:

Originally Posted by ForceHSS (Post 2328855)
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 (Post 2329020)
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.


All times are GMT. The time now is 02:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01066 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete