Log New User

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
User avatar
david63
Registered User
Posts: 18073
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Log New User

Post by david63 »

Check you edits - there is one that must go after a "}" - if it goes before (which is easily done) the mod does not work.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
.kngihtl3y
Registered User
Posts: 3
Joined: Wed Aug 29, 2007 2:54 pm

Re: Log New User

Post by .kngihtl3y »

david63 wrote:Check you edits - there is one that must go after a "}" - if it goes before (which is easily done) the mod does not work.
Could you specify which file it might be in? I checked the functions_user.php file over again and didn't find a fault there.

in includes/acp/acp_board.php sould it be like this?

Code: Select all

'allow_birthdays'		=> array('lang' => 'ALLOW_BIRTHDAYS',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
			// Log new user mod
						'log_new_user'			=> array('lang' => 'LOG_NEW_USER',			'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),

						'legend2'				=> 'ACP_LOAD_SETTINGS',
						'load_birthdays'		=> array('lang' => 'YES_BIRTHDAYS',			'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => true),
						'load_moderators'		=> array('lang' => 'YES_MODERATORS',		'validate' => 'bool',	'type' => 'radio:yes_no', 'explain' => false),
User avatar
david63
Registered User
Posts: 18073
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Log New User

Post by david63 »

functions_user.php is the one that may have the problem.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
Sascha Mueller
Registered User
Posts: 95
Joined: Tue Mar 28, 2006 8:11 pm
Contact:

Re: Log New User

Post by Sascha Mueller »

Is this mod ready for phpBB 3.0.1 ?
Please excuse my bad English, I'm German!
User avatar
david63
Registered User
Posts: 18073
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Log New User

Post by david63 »

Sascha Mueller wrote:Is this mod ready for phpBB 3.0.1 ?
Yes
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
Sascha Mueller
Registered User
Posts: 95
Joined: Tue Mar 28, 2006 8:11 pm
Contact:

Re: Log New User

Post by Sascha Mueller »

david63 wrote:
Sascha Mueller wrote:Is this mod ready for phpBB 3.0.1 ?
Yes
Thx for your reply. :)
Please excuse my bad English, I'm German!
periodista
Registered User
Posts: 3
Joined: Tue May 13, 2008 3:14 pm

Re: Log New User

Post by periodista »

Hello

The event is when user register or is actived?
I actived this option in Administrator Panel, but when register (user is not active) not found this log

Sorry, I write from Spain :roll:

Thanks
User avatar
david63
Registered User
Posts: 18073
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Log New User

Post by david63 »

The log entry is created in the User log when the new user registers not when the account is activated.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
periodista
Registered User
Posts: 3
Joined: Tue May 13, 2008 3:14 pm

Re: Log New User

Post by periodista »

I activated in "site features" "Log new users", he registered a user and I do not appear on "maintenance" tab, "user registration". are other logs.
the user appears on the list of inactive users

I see that the code is put on condition (in functions_user.php)

Code: Select all

if ($user_row['user_type'] == USER_NORMAL)
Is right?

What may be the problem?
periodista
Registered User
Posts: 3
Joined: Tue May 13, 2008 3:14 pm

Re: Log New User

Post by periodista »

:oops: :oops: upss
this is the problem. :oops:
"after" ;)
works fine
sorry and thanks a lot
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Log New User

Post by IPB_Refugee »

Hi David,

I installed your MOD and tried to register a test account. This is the result:
[phpBB Debug] PHP Notice: in file /includes/functions_user.php on line 297: Undefined index: log_new_user

Warning: Cannot modify header information - headers already sent by (output started at /home/nwtftm/public_html/includes/functions.php:2956) in /home/nwtftm/public_html/includes/functions.php on line 3599

Warning: Cannot modify header information - headers already sent by (output started at /home/nwtftm/public_html/includes/functions.php:2956) in /home/nwtftm/public_html/includes/functions.php on line 3601

Warning: Cannot modify header information - headers already sent by (output started at /home/nwtftm/public_html/includes/functions.php:2956) in /home/nwtftm/public_html/includes/functions.php on line 3602

Warning: Cannot modify header information - headers already sent by (output started at /home/nwtftm/public_html/includes/functions.php:2956) in /home/nwtftm/public_html/includes/functions.php on line 3603
The sql query had been performed successfully. Board mails are off, debug mode is on.

Regards
Wolfgang

edit: same error in ACP/board configuration/board settings
User avatar
david63
Registered User
Posts: 18073
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Log New User

Post by david63 »

Hi Wolfgang

The only reason that I can think of that will generate that error is that either you do not have the variable "log_new_user" in the config table or that after you did the sql you did not purge the cache.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Log New User

Post by IPB_Refugee »

david63 wrote:Hi Wolfgang

The only reason that I can think of that will generate that error is that either you do not have the variable "log_new_user" in the config table or that after you did the sql you did not purge the cache.
Hi David,

I manually purged the cache and now your MOD works fine. It's a bit strange because I enabled the automatic recompilation of obsolete style components in ACP.

Thanks for your MOD! :)
Wolfgang
User avatar
david63
Registered User
Posts: 18073
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Contact:

Re: Log New User

Post by david63 »

Wolfgang - it is nothing to do with styles, you need to clear the cached version of the $config variables.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Log New User

Post by IPB_Refugee »

Ahhh, I see. :) I will keep this in mind for my future MOD installations.

Have a nice evening
Wolfgang
Locked

Return to “[3.0.x] MOD Database Releases”