The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
User Awaiting Moderation Email Notification Details »» | |||||||||||||||||||||||||||||
User Awaiting Moderation Email Notification
Developer Last Online: Jan 2023
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
Show Your Support
|
Comments |
#52
|
||||
|
||||
The email body text can be found in the phrase 'moderatenewuser'
|
#53
|
||||
|
||||
Quote:
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... |
#54
|
||||
|
||||
Snowhog, if you're still using the mod, this should work for you:
Quote:
|
#55
|
||||
|
||||
Updated to 1.3 to change the username variable to allow for those coming back to activate in a new browser session.
|
#56
|
|||
|
|||
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-
|
#57
|
||||
|
||||
'moderation_validated' isn't part of this mod, it's been a phrase in the default vB language file for a long time
|
#58
|
|||
|
|||
Quote:
Code:
Check IP location in Melissa: http://www.melissadata.com/lookups/iplocation.asp?ipaddress=59.89.35.201 |
#59
|
||||
|
||||
Seems most now require an account for this
|
#60
|
|||
|
|||
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 |
#61
|
||||
|
||||
Hmmm, might add those in to it later...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|