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 06-02-2012 06:11 PM

Quote:

Originally Posted by res6cue (Post 2335891)
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.

Are you using a space between the two emails?

I re-added the other Administrators email address (with a space between them). Maybe it will work now, given that I got it to work with just one email address.

If it turns out to be some quirk about our forum setup, I have not clue where to look.

res6cue 06-02-2012 06:15 PM

Yes, a single space between emails, same as we've always used in the Email Address to Notify About New Members field.

Trevor Hannant 06-03-2012 01:22 PM

1 Attachment(s)
I'm still waiting on the results of you checking your email logs...

I've retested this again with the settings attached (2 email addresses in Email Address to Notify About User Awaiting Moderation separated by a single space, no email addresses in Email Address to Notify About New Members) and the mails delivered to both addresses as seen in the 2nd attachment.

Can you uninstall the modification, download a fresh copy and re-install. Then re-set the settings in AdminCP and do a test registration. Do you:

- get the emails to both addresses and
- are both emails shown in the email log

Snowhog 06-03-2012 01:43 PM

1 Attachment(s)
Trevor -

From ACP > Administrator Notes:
Quote:

2012-06-02
Administrator: Snowhog
Created directory /srv/www/kubuntuforums.net/email_logs
Set Settings > Options > Error Handling & Logging > Log Emails to a File to email_logs
Added the other Admin email address to Email Address to Notify About User Awaiting Moderation, as I got the emails to work when I had just one email address in the field (mine), so maybe now it will work. If no emails are received, hopefully /srv/www/kubuntuforums.net/email_logs will contain some useful information.
No one was receiving emails with 'multiple email addresses' in the field, yet we were getting Users Awaiting Moderation. The email_logs directory contained nothing.

So, again, last night, I removed all the email addresses but mine. This morning there are two Users Awaiting Moderation, and I got an email about both of them.

Added:
Okay, uninstalled the MOD (version 1.2) then downloaded the MOD again (first deleting it from my PC), extracted the product-th_moderate_user_email_1-2.xml file and imported it as suggested. Added our Admin email addresses and ensured the appropriate questions were marked Yes.

Now I wait to see if anything changes.

In case it is important, the two emails I got this morning (in the attached image) were for 'Unregistered' users?
Quote:

The following user is awaiting moderation:

Unregistered

Please visit this link to moderate this user:

http://www.kubuntuforums.net/adminco...hp?do=moderate

Thank you
Quote:

The following user is awaiting moderation:

Unregistered

Please visit this link to moderate this user:

http://www.kubuntuforums.net/adminco...hp?do=moderate

Thank you
I guess that both used 'Unregistered' as the username. Hmm. I'll add nregistered to our list of Illegal User Names.

Snowhog 06-03-2012 04:24 PM

A new entry in in Users Awaiting Moderation usergroup since uninstalling/reinstalling the MOD this morning. No email has been received about it. The email_logs directory remains empty.

If this MOD is working 'as intended' for everyone else, why isn't it working for us? It only works for us if I use a single email address in the field.

We have a standard vBulletin installation. We are running version 4.2.0. There has to be a clue in the "one email address works" but "multiple email addresses don't" that can be used to point to a controlling .php file. I just need expert help in tracking this bugger down.

Snowhog 06-23-2012 02:54 PM

Trevor -

I found my mistake regarding the email logging. I had the directory in the wrong location. I've put it in the 'correct' location and have put two email addresses into the field. I'm expecting that neither of us will receive any of the user awaiting moderation emails, but hopefully the log file will now be generated. If it is, I'll provide the content here for your review.

Snowhog 06-23-2012 07:56 PM

A new user has replied to the new user registration email confirmation. I received no email notice, and the email_logs directory contains no .log file. So using more than one email address for this MOD does not work for our forum. I don't have to create a blank .log file in the directory to be used, do I? I wouldn't think so, but...

How in the heck do I trouble shoot this?

Snowhog 07-28-2012 09:53 PM

I want to modify the email notification message to reflect the following:

The following user is awaiting moderation:

$bbuserinfo[username]

Please visit this link to moderate this user:

$vboptions[bburl]/$admincpdir/user.php?do=moderate

View member profile: $memberlink

Check IP location in Melissa: http://www.melissadata.com/lookups/iplocation.asp?ipaddress=$ipaddress

Check for Spam (email): http://www.stopforumspam.com/search?q=$email
Check for Spam (name): http://www.stopforumspam.com/search?q=$username
Check for Spam (IP): http://www.stopforumspam.com/search?q=$ipaddress

Thank you

This 'works', except that the contents of the variables $email, $username, and $ipaddress don't appear in the email that I get. Why?

Rock$tar 08-28-2012 11:06 PM

Worked for me. Thanks!

Flibnipktz 03-29-2015 12:41 PM

Hi, We've opted to use this instead of the welcome email, and it works well. However I'd like to edit some of the text in this email format, where can I do that?

Trevor Hannant 03-29-2015 01:02 PM

Quote:

Originally Posted by Flibnipktz (Post 2541827)
Hi, We've opted to use this instead of the welcome email, and it works well. However I'd like to edit some of the text in this email format, where can I do that?

The email body text can be found in the phrase 'moderatenewuser'

Trevor Hannant 03-29-2015 01:07 PM

Quote:

Originally Posted by Snowhog (Post 2352212)
I want to modify the email notification message to reflect the following:

The following user is awaiting moderation:

$bbuserinfo[username]

Please visit this link to moderate this user:

$vboptions[bburl]/$admincpdir/user.php?do=moderate

View member profile: $memberlink

Check IP location in Melissa: http://www.melissadata.com/lookups/iplocation.asp?ipaddress=$ipaddress

Check for Spam (email): http://www.stopforumspam.com/search?q=$email
Check for Spam (name): http://www.stopforumspam.com/search?q=$username
Check for Spam (IP): http://www.stopforumspam.com/search?q=$ipaddress

Thank you

This 'works', except that the contents of the variables $email, $username, and $ipaddress don't appear in the email that I get. Why?

I know this is an old post - apologies that I've not seen it until now... :(

Those variables, as far as I remember, will only be populated when a user is logged in. When they register, they are effectively logged in (without a remember me option/function). If they leave that browser instance open, then when they click on the link to verify their email address, they will still be "logged in" and the variables populated and passed to the email text.

If they close their browser and then click the link in the email, they won't be logged in although the link will correctly set them from "Awaiting email verification" to "Awaiting Moderation". As such, the variables are empty and cannot be passed into the email text (hence why $bbuserinfo[username] will show as 'Unregistered' or something along that line".

If I can find some time, I'll look to see if there's another way to process these so that the details are picked up and passed to the email although I can't promise that or when...

Trevor Hannant 03-29-2015 02:39 PM

Snowhog, if you're still using the mod, this should work for you:

Quote:

The following user is awaiting moderation:

$userinfo[username]

Please visit this link to moderate this user:

$vboptions[bburl]/$admincpdir/user.php?do=moderate

View member profile: $memberlink

Check IP location in Melissa: http://www.melissadata.com/lookups/iplocation.asp?ipaddress=$userinfo[ipaddress]

Check for Spam (email): http://www.stopforumspam.com/search?q=$userinfo[email]
Check for Spam (name): http://www.stopforumspam.com/search?q=$userinfo[username]
Check for Spam (IP): http://www.stopforumspam.com/search?q=$userinfo[ipaddress]

Thank you

Trevor Hannant 03-29-2015 03:14 PM

Updated to 1.3 to change the username variable to allow for those coming back to activate in a new browser session.

Flibnipktz 03-30-2015 12:51 PM

H'm... thanks for the quick reply. However, after some searching, discovered it under moderation_validated. Not sure if that's a recent change or edit? Anyway, looks like I'm on my way. Thanks-

Trevor Hannant 03-30-2015 08:14 PM

'moderation_validated' isn't part of this mod, it's been a phrase in the default vB language file for a long time

djbaxter 06-20-2015 09:18 PM

Quote:

Originally Posted by Trevor Hannant (Post 2541837)
Snowhog, if you're still using the mod, this should work for you:

The Melissa query no longer passes the IP address - it just opens the Melissa IP Lookup page.

Code:

Check IP location in Melissa:  http://www.melissadata.com/lookups/iplocation.asp?ipaddress=59.89.35.201
Anyone know of another site that would pass the IP string as Melissa used to do?

Trevor Hannant 06-22-2015 06:20 AM

Seems most now require an account for this

djbaxter 06-22-2015 10:57 AM

Actually you can use your choice of:

http://whatismyipaddress.com/ip/$ipaddress
http://www.ip2location.com/free.asp?$ipaddress
http://www.ip-tracker.org/locator/ip-lookup.php?ip=$ipaddress

Trevor Hannant 06-23-2015 01:42 PM

Hmmm, might add those in to it later...

Soidberg 08-06-2015 08:36 AM

Quote:

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

One Emailadress = OK, two Emailadresses = fails...

LOG:
Code:

FAILED
Thu, 06 Aug 2015 12:34:40 +0200
To: XXX@XXX.com XXX@XXX.com
Subject: Ein neu registrierter Benutzer warten auf Freischaltung
From: "Forum" <XXX@XXX.com>
Auto-Submitted: auto-generated
Return-Path: XXX@XXX.com
Message-ID: <20150806103440.1db0c34bf112@XXX.XXX.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-Mailer: vBulletin Mail via PHP


Der Benutzer Test11 wartet auf Freischaltung!

Username: Test11

Any Idea?

Soidberg

Trevor Hannant 08-06-2015 03:57 PM

How are you separating the email addresses in the 'Email Address to Notify About New Members' field?


All times are GMT. The time now is 01:54 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.01167 seconds
  • Memory Usage 1,795KB
  • 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
  • (2)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)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