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)

Snowhog 05-13-2012 05:55 PM

Quote:

Originally Posted by Trevor Hannant (Post 2329029)
Have you set both the following settings to 'Yes':

Yes.
Quote:

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.
Excellent! That was where I made my mistake - this had no email address at all. I've just corrected that and now have each of our Administrators email address, separated by a space.

Thank you!!

I marked this MOD as installed and voted it for Best MOD of the Month.

Snowhog 05-13-2012 07:13 PM

Got our first email notification, but the new registrant isn't in the Users Awaiting Moderation usergroup; they are still in the Users Awaiting Email Confirmation usergroup. I thought that the MOD was triggered only after the registration email confirmation email was acknowledged, moving the registrant into the Users Awaiting Moderation usergroup.

Am I missing something that I need to check on?

Snowhog 05-13-2012 07:16 PM

Got our first email notification, but the new registrant isn't in the Users Awaiting Moderation usergroup; they are still in the Users Awaiting Email Confirmation usergroup. I thought that the MOD was triggered only after the registration email confirmation email was acknowledged, moving the registrant into the Users Awaiting Moderation usergroup.

Am I missing something that I need to check on?

Apparently I'm missing nothing. Just got a second email notification (another new registrant), and now going into Moderation > Moderate Users shows both of them. So the MOD is working.

Thank you for a very useful and needed MOD.

Trevor Hannant 05-13-2012 08:20 PM

The plugin uses the 'register_activate_process' hook location which is called within the ['do'] == 'activate' section of register.php, the only place it's called so the mails shouldn't be generating until that part of the registration process is called on.

Snowhog 05-13-2012 08:34 PM

Thank you. As I've realized that 'all is working as it should', the first email that I got, and then going into Admin CP > Moderation > Moderate Users which came back with no users to moderate, must have just been a 'timing' issue. As I added to my last post, the MOD is working as designed, and I'm a happy Administrator.

Snowhog 05-14-2012 02:15 AM

Well, again, hmmm.

Just got the following email notification:
Quote:

There is a new user, sandroid at Kubuntu Forums . Net

To view their profile, go here:
http://www.kubuntuforums.net/member.php?21950-sandroid

Email Address : censored for this post
Birthday :
Referrer: N/A
IP Address: 69.156.60.60
This is a new registrant, but is not in the Users Awaiting Moderation group -- they are in the Users Awaiting Email Confirmation group.

Admin CP > Options > User Registration Options > Email Address to Notify About New Members says:
Quote:

This email address will receive an email message when a new user signs up.
Signs up? Not 'when registration is confirmed'?

I don't want to receive emails for new registrants; I want email notifications when they have confirmed the registration email and are now in the Users Awaiting Moderation usergroup.

Added:

Dang it! Right after I posted this, I checked Moderate Users and there this one is! So we receive the email 'before' the user is moved into the usergroup. Why is this?

Snowhog 05-15-2012 02:45 AM

Dag nabit! :)

Okay, I still think something is a miss here. I just got another email notification:

Subject: New User at Kubuntu Forums . Net

There is a new user, ZackaryxHoffman at Kubuntu Forums . Net

To view their profile, go here:
http://www.kubuntuforums.net/member.php?omitted for privacy here

Email Address : omitted for privacy here
Birthday :
Referrer: N/A
IP Address: 24.11.226.135

This member is NOT in the Users Awaiting Moderation usergroup. So the email notification is going out upon registration, whether or not they confirm the registration email. That's what appears to be happening. :confused:

I again point out that Email Address to Notify About New Members says:

Quote:

This email address will receive an email message when a new user signs up.
Your description of the MOD says:
Quote:

Once installed, a new option will be available within AdminCP 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.
Both of those settings are set to Yes.

Trevor Hannant 05-15-2012 05:00 AM

Email Address to Notify About New Members is a default vBulletin field, it's not added by this Mod - it just utilises it for the purposes of notifications.

The emails you've quoted in your posts are the default 'new registrant' emails that go out when someone registers and the admin has set an email address in that field. I'll take a look at adding a new field specifically for the purpose of receiving the 'awaiting moderation' email.

Snowhog 05-15-2012 05:11 AM

I do appreciate the quick replies to my 'concerns'. Okay, so your MOD uses this field, as well as vBulletin itself. That explains why I'm getting what I'm getting.

It doesn't really make sense to have vBulletin send Administrators emails about "Users Awaiting Email Confirmation", unless perhaps, it's so we could opt to activate the user directly -- if we were to choose to do so. But that isn't optimal, IMO.

If your MOD were to add it's own email field, and use it exclusively when the registration email was acknowledged, then as Administrators, we would have a choice of receiving one or the other, both, or neither, which I would find most desirable.

Again, thank you for your good work, and for entertaining my observations and at times, confusion. ;)

Trevor Hannant 05-15-2012 05:24 AM

Some Admins, me included, choose to get notifications of all registrations so they can act on them if needed. Receiving notifications when a user registers and goes into the 'Users Awaiting Email Confirmation' is default vBulletin behaviour - if you don't think Admins should get that email if user's are required to verify their email address then you need to request a change to the core code via an Improvement Request here:

https://tracker.vbulletin.com

I'll look at updating the email field to it's own but it won't likely be this week unfortunately...


All times are GMT. The time now is 01:28 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.01104 seconds
  • Memory Usage 1,751KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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