News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Notify administrator when a new member joins - STOPPED WORKING

Started by wtucker, July 19, 2017, 10:29:28 AM

Previous topic - Next topic

wtucker

Notify administrator when a new member joins, stopped working so we updated to 2.0.13 and it still isn't working.

Settings:
Method or registration employed for new members: Admin Approval
Notify administrator when a new member joins: checked (THIS IS NOT WORKING)
Default member group: 9

symptoms:
- New member gets email, after registration
- New member has Awaiting Approval on Manage Members page
- Admin Never get email for approval
- Only one admin in system and when using "Send Email" a test email shows up in the admins company's email.

Not sure how to fix this, any help would be appreciated.

Sir Osis of Liver

What version did you update from?  What was last change you made before notification stopped?

You could try unchecking the notification option, save, then check it and save.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

wtucker

We were at 2.0.2 and without any changes for a year, for some reason we lost the Notify administrator functionality. So we checked our email server to make sure it was not blocking and once we found out that it wasn't started updating and testing. Now we are at 2.0.13 and cant go to 2.0.14 without an update for PHP 5.3.0 . I don't think it would be wise to go all the way back since it stopped working without any changes at 2.0.2

Sir Osis of Liver

Quote from: Sir Osis of Liver on July 19, 2017, 01:10:56 PM
You could try unchecking the notification option, save, then check it and save.

Did you try this?  If your forum is sending other emails from webmaster email address, it's not an email server problem.  Post the version info from Admin -> Support and Credits.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

wtucker

Tried this several times before but will try again: unchecking the notification option, save, then check it and save. I have even tried to change admin email address and still the same result.

Version Information:
Forum version: SMF 2.0.13 (more detailed)
Current SMF version: SMF 2.0.14
GD version: bundled (2.0.34 compatible)
MySQL version: 5.0.96-log
PHP: 5.2.17
Server version: Apache

Sir Osis of Liver

Wow, php 5.2 went eol over six years ago, mysql 5.0 is even older.  Both have been unsupported for a long time, and are security risks.  Probably has nothing to do with your problem, though.  Check your database, look in _settings, what's the value for notify_new_registration?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

wtucker

Interesting:

   ('rand_seed', 1617507408),
   ('mostOnlineUpdated', '2012-02-19'),
   ('notify_new_registration', 1),
   ('calendar_updated', 1501603002),

Any other Ideas would be appreciated.



Sir Osis of Liver

Database setting is correct, sounds like a mod problem.  List of installed mods?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

wtucker

I think this is what you are asking for:

Modification Packages
Mod Name   Version   
1.   Default_Membergroup   2.0     
2.   SMF 2.0.3 Update   1.0 
3.   Membergroup ID with Group Name   1.1     
4.   SMF 2.0.4 Update   1.0 
5.   Enhanced Dropdown   1.3     
6.   SMF 2.0.5 Update   1.0     
7.   SMF 2.0.5 Update   1.0     
8.   SMF 1.1.19 / 2.0.6 Update   1.0     
9.   SMF 1.1.19 / 2.0.6 Update   1.0     
10.   SMF 2.0.7 Update   1.0     
11.   SMF 2.0.8 Update   1.0     
12.   SMF 1.1.20 / 2.0.9 Update   1.0     
13.   SMF 1.1.21 / 2.0.10 Update   1.0     
14.   SMF 2.0.11 Update   1.0     
15.   SMF 2.0.12 Update   1.0 
16.   SMF 2.0.13 Update   1.0     
17.   SMF 2.0.14 Update   1.0   
18.   SMF 2.0.14 Update   1.0   
19.   SMF 2.0.14 Update   1.0   
20.   SMF 2.0.14 Update   1.0   
21.   SMF 2.0.14 Update   1.0   
Installed mods:   current version   older version Advanced

Steve

Why do you have multiple copies of the same mod installed?
DO NOT pm me for support!

Colin

"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Sir Osis of Liver

Look in /Sources/ManageRegistration.php, what do you see here?



// This is really quite wanting.
require_once($sourcedir . '/ManageServer.php');

$config_vars = array(
array('select', 'registration_method', array($txt['setting_registration_standard'], $txt['setting_registration_activate'], $txt['setting_registration_approval'], $txt['setting_registration_disabled'])),
array('check', 'enableOpenID'),
array('check', 'notify_new_registration'),
array('check', 'send_welcomeEmail'),
'',


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

wtucker

The only reason I can think that there are multiple modules is from each time I tried to install and could not perform the function for some reason. Like not having the required PHP version.

Very simple forum, one admin and as far as I know there are no other email messages.

Code - (looks the same to me? Maybe at another level?):

// This function handles registration settings, and provides a few pretty stats too while it's at it.
function ModifyRegistrationSettings($return_config = false)
{
global $txt, $context, $scripturl, $modSettings, $sourcedir;

// This is really quite wanting.
require_once($sourcedir . '/ManageServer.php');

$config_vars = array(
array('select', 'registration_method', array($txt['setting_registration_standard'], $txt['setting_registration_activate'], $txt['setting_registration_approval'], $txt['setting_registration_disabled'])),
array('check', 'enableOpenID'),
array('check', 'notify_new_registration'),
array('check', 'send_welcomeEmail'),
array('int', 'default_group'),
'',
array('int', 'coppaAge', 'subtext' => $txt['setting_coppaAge_desc'], 'onchange' => 'checkCoppa();'),
array('select', 'coppaType', array($txt['setting_coppaType_reject'], $txt['setting_coppaType_approval']), 'onchange' => 'checkCoppa();'),
array('large_text', 'coppaPost', 'subtext' => $txt['setting_coppaPost_desc']),
array('text', 'coppaFax'),
array('text', 'coppaPhone'),
);



Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

wtucker

Not sure how that would help - what an I missing?

It is an OEM forum that has limited exposure to the public.  I will try to send you an internal message with the link.

Sir Osis of Liver

Looks like a straightup 2.0.13 install, running Curve.  Couple of suggestions:

- Upgrade server to at least php 5.4.  Currently supported versions are 5.6, 7.0, 7.1, as per this.

- Do a clean 2.0.13 test install in another directory, import your production database, see if problem persists.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Advertisement: