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
  #32  
Old 05-25-2012, 01:08 AM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As requested. I had 17 new members awaiting moderation this evening, and not a single email telling me about them.

[S]http://www.kubuntuforums.net/attachment.php?attachmentid=3313&d=1337911682[/S]
Reply With Quote
  #33  
Old 05-25-2012, 08:34 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

Attachment isn't working for me - can you attach it to here rather than your own site please?
Reply With Quote
  #34  
Old 05-26-2012, 12:37 AM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay. I believe I've attached it now.
Attached Images
File Type: jpg vBulletin_Admin_CP_User_Registration_Options.jpg (113.8 KB, 0 views)
Reply With Quote
  #35  
Old 05-30-2012, 03:25 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

I've just setup the same settings as your attachment on 2 different sites and all still email me when a user activates their account. Have you enabled email logging on your install:

AdminCP > Settings > Options > Error Handling and Logging

If not, try that and see if the emails are written to the logs Ok.
Reply With Quote
  #36  
Old 05-30-2012, 06:39 PM
res6cue res6cue is offline
 
Join Date: Nov 2010
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working perfectly on 4.2.0! Thanks for writing this mod, it's exactly what I needed.
Reply With Quote
  #37  
Old 05-31-2012, 02:18 AM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trevor Hannant View Post
I've just setup the same settings as your attachment on 2 different sites and all still email me when a user activates their account. Have you enabled email logging on your install:

AdminCP > Settings > Options > Error Handling and Logging

If not, try that and see if the emails are written to the logs Ok.
I created a directory (Logs) and made it writable by the server (chmod 777) and put Logs in AdminCP > Settings > Options > Error Handling and Logging > Log Emails to a File. I'll check the created .log file tomorrow and report back.

I really want to figure this one out.

I'm still wondering if it has to do with the fact that I removed the email address from:

Quote:
Email Address to Notify About New Members
This email address will receive an email message when a new user signs up. Leave the option blank to disable this function.
Reply With Quote
  #38  
Old 05-31-2012, 04:37 AM
res6cue res6cue is offline
 
Join Date: Nov 2010
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snowhog View Post
I created a directory (Logs) and made it writable by the server (chmod 777) and put Logs in AdminCP > Settings > Options > Error Handling and Logging > Log Emails to a File. I'll check the created .log file tomorrow and report back.

I really want to figure this one out.

I'm still wondering if it has to do with the fact that I removed the email address from:
I just tested the mod by removing the email addresses I had under Email Address to Notify About New Members and leaving only the email addresses under Email Address to Notify About User Awaiting Moderation, and everything worked fine. I did not get a New User notification email (expected behavior), but I did get the "A New User is Awaiting Moderation" email as expected after clicking the verification link.

It appears that this mod does not look at or care about the Email Address to Notify About New Members field. I've tested a few different options and have gotten the expected results every time. Good luck figuring out why it's not working on your forum. :up:
Reply With Quote
  #39  
Old 06-01-2012, 01:11 AM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wish it did here. It still isn't working. I had eleven new registrants in Users Awaiting Moderation, and I received no emails on any of them. I really hope that Trevor Hannant chimes in soon.
Reply With Quote
  #40  
Old 06-02-2012, 05:50 AM
Snowhog's Avatar
Snowhog Snowhog is offline
 
Join Date: Oct 2011
Location: Andover, MN
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only way that I can get emails on new members awaiting moderation is to limit to only one email address in Email Address to Notify About User Awaiting Moderation.

Before the MOD, we could put multiple email addresses in Email Address to Notify About New Members, and that worked. We should be able to blank this field and put multiple email addresses in Email Address to Notify About User Awaiting Moderation and get the emails, but apparently, this isn't the case.

Trevor Hannant - Can you look into this. Multiple email address, separate by a space, in Email Address to Notify About User Awaiting Moderation should work just as it did when putting multiple email addresses in Email Address to Notify About New Members.
Reply With Quote
  #41  
Old 06-02-2012, 05:51 PM
res6cue res6cue is offline
 
Join Date: Nov 2010
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snowhog View Post
The only way that I can get emails on new members awaiting moderation is to limit to only one email address in Email Address to Notify About User Awaiting Moderation.

Before the MOD, we could put multiple email addresses in Email Address to Notify About New Members, and that worked. We should be able to blank this field and put multiple email addresses in Email Address to Notify About User Awaiting Moderation and get the emails, but apparently, this isn't the case.

Trevor Hannant - Can you look into this. Multiple email address, separate by a space, in Email Address to Notify About User Awaiting Moderation should work just as it did when putting multiple email addresses in Email Address to Notify About New Members.
I just tested that exact scenario (2 email addresses in Email Address to Notify About User Awaiting Moderation, no email addresses in Email Address to Notify About New Members), and it worked perfectly.

There doesn't seem to be any issues with this mod, rather something specific to your forum that you need to figure out.
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 06:19 AM.


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.05272 seconds
  • Memory Usage 2,335KB
  • Queries Executed 26 (?)
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
  • (4)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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