Advanced Double Activation Pack

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.
toomedic
Registered User
Posts: 141
Joined: Tue Apr 15, 2008 6:31 am

Re: Advanced Double Activation Pack

Post by toomedic »

Yep, you were right, found it, Thanks Martin!
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello toomedic,
as I told it above: In most cases the failure is in the line before. ;)

Thanks for the feedback.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
brunoais
Registered User
Posts: 447
Joined: Wed Jun 18, 2008 10:50 am

Re: Advanced Double Activation Pack

Post by brunoais »

I have a problem installing. I don't know what I'm doing wrong. Anyway the problem is that when i try to enter the ACP the menu doesn't appear
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello brunoais,
1. check your edited ACP language files
2. Purge your cache manually per FTP
3. check all editings made by the MOD again

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
brunoais
Registered User
Posts: 447
Joined: Wed Jun 18, 2008 10:50 am

Re: Advanced Double Activation Pack

Post by brunoais »

I get this error in
adm/index.php

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3526: Cannot modify header information - headers already sent by (output started at /language/en/acp/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3528: Cannot modify header information - headers already sent by (output started at /language/en/acp/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3529: Cannot modify header information - headers already sent by (output started at /language/en/acp/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3530: Cannot modify header information - headers already sent by (output started at /language/en/acp/common.php:1)
and
adm/index.php
after I sign in

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /language/en/acp/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /language/en/acp/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /language/en/acp/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /language/en/acp/common.php:1)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /language/en/acp/common.php:1)

Warning: Cannot modify header information - headers already sent by (output started at */language/en/acp/common.php:1) in *includes/functions.php on line 3526

Warning: Cannot modify header information - headers already sent by (output started at *language/en/acp/common.php:1) in *includes/functions.php on line 3528

Warning: Cannot modify header information - headers already sent by (output started at */language/en/acp/common.php:1) in */includes/functions.php on line 3529

Warning: Cannot modify header information - headers already sent by (output started at */language/en/acp/common.php:1) in *includes/functions.php on line 3530
I modified the "*" so that I wouldn't identify any personal data
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello brunoais,
sorry the reason for this error couldbe anything.

Please check the code changes again. Reupload the modified files. And purge the cache folder manually per FTP.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
xex
Registered User
Posts: 25
Joined: Wed Jun 18, 2008 1:28 am

Re: Advanced Double Activation Pack

Post by xex »

Hi martin, I have just installed this wonderfull mod but I have a problem. I have activated the mod and can see verify at users and groups pannel, the problem is that i cannot activate user+admin cause it doesn't appear to me at user registry configuration in acp, it only appear Dissallow and None...what may I have done wrong?

Thanks
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello xex,
perhaps the user has been activated before.
Do you have several administrator (founders) at your board?

Do you really have uploaded all edited files? Please check the edited files directly included at the folder includes.

Please check the User Activation Method setting again.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
xex
Registered User
Posts: 25
Joined: Wed Jun 18, 2008 1:28 am

Re: Advanced Double Activation Pack

Post by xex »

I am the only admin for the moment. I think I have explained bad(sorry for my English), the problem is that at acp there is no user+admin method activation(it doesn't appear), I dunno where the path for that config is but I think that I must have some code missing that I need for User+admin to appear there.

Image

P.D.: And yes, I have cleared my cache and refreshed style :(
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello xex,
have you modified following files for your language (spanish ? ), too?
language/es/acp/board.php,
language/es/acp/common.php,
language/es/acp/users.php,
language/es/email/admin_activate.txt,
language/es/memberlist.php,
language/es/ucp.php,

Please try it with english, too.

P.S. It would be nice if you would send me translations to include them into the MOD! :)

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
xex
Registered User
Posts: 25
Joined: Wed Jun 18, 2008 1:28 am

Re: Advanced Double Activation Pack

Post by xex »

Hey Martin, here you are the translations ;) I have checked all those files and nothing missed so still dunno what can be wrong >.<

Hope this helps you(sorry it's a bit messed up)
language/es/acp/board.php
Find:

Code: Select all

//	'ACC_USER_ADMIN'			=> 'Usuario + Admin',
Replace with:

Code: Select all

	 'ACC_USER_ADMIN'			 => 'Usuario + Admin',
language/es/acp/common.php
Find:

Code: Select all

	'ACP_USER_SIG'					=> 'Firma',
Add after:

Code: Select all

    'ACP_USER_VERIFY'				=> 'Verificar',
language/es/acp/users.php
Find:

Code: Select all

));
Add before:

Code: Select all

	'VERIFY'						=> 'Verificar',
	'USER_VERIFY'					=> 'Verificar nuevo usuario',
	'USER_VERIFY_EXPLAIN'			=> 'Borrar o activar nuevo usuario o banear usuario u otros valores.',
	'USER_DELETE'					=> 'Click aqui para borrar usuario.',
	'USER_IS_ACTIVE'				=> 'Usuario está activo',
	'USER_ACTIVATE'					=> 'Activar este usuario',
	'USER_ACTIVATE_EXPLAIN'			=> 'Click aquí para activar este usuario.',
	'PROFILE_INFO'					=> 'Detalles de perfil',
	'ADD_DISALLOW_VERIFY'			=> 'Prohibir este nombre de usuario',
	'ADD_DISALLOW_VERIFY_EXPLAIN'	=> 'Click aquí para prohibir este nombre de usuario.',
	'BAN_USERNAME_VERIFY'			=> 'Banear este usuario(nombre)',
	'BAN_USERNAME_VERIFY_EXPLAIN'	=> 'Click aquí para banear este usuario(nombre).',
	'BAN_EMAIL_VERIFY'				=> 'Banear esta cuenta de correo',
	'BAN_EMAIL_VERIFY_EXPLAIN'		=> 'Click aquí para banear esta cuenta de correo.',
	'BAN_DOMAIN_VERIFY'				=> 'Banear este dominio de correo',
	'BAN_DOMAIN_VERIFY_EXPLAIN'		=> 'Click aquí para banear este dominio de correo. Por favor tenga cuidado con esta opción!',
	'BAN_IP_VERIFY'					=> 'Banear esta dirección IP',
	'BAN_IP_VERIFY_EXPLAIN'			=> 'Click aquí para banear esta dirección IP. Por favor tenga cuidado con esta opción!',
	'TIMEZONE_VERIFY'				=> 'Tiempo local',
	'TIMEZONE_VERIFY_EXPLAIN'		=> 'La mayoría de las cuentas SPAM usan tiempo local [UTC - 12].',
	'USER_BAN_REASON_VERIFY'		=> 'Baneado al verificar la cuenta de usuario',
language/es/email/admin_activate.txt
Find:

Code: Select all

La cuenta de "{USERNAME}" ha sido desactivada o creada nuevamente, 
debería verificar los detalles de este usuario (si se requiere) y proceder según sea apropiado.
Add before:

Code: Select all

Use este enlace para ver el perfil del usuario y activar la cuenta:
{U_VERIFY}
language/es/memberlist.php
Find:

Code: Select all

	'USER_PRESENCE'			=> 'Presente en el foro',
Add after:

Code: Select all

	'USER_VERIFY' 			=> 'Usuario verificado',
language/es/ucp.php
Find:

Code: Select all

	'ACCOUNT_INACTIVE_ADMIN'		=> 'Su cuenta ha sido creada. Sin embargo, este foro requiere activación de cuenta por el administrador. Un email le ha sido enviado y se le informará cuando haya sido activada su cuenta',
Add after:

Code: Select all

	'ACCOUNT_INACTIVE_USER_ADMIN'	=> 'Su correo ha sido verificado. Ahora la cuenta necesita ser activada por un administrador. Otro correo de activación ha sido enviado a las direcciones de correo de los administradores.',
Find:

Code: Select all

	'LINK_REMOTE_SIZE_EXPLAIN'		=> 'Especifique el ancho y alto del avatar, déjelo en blanco para intentar una verificación automática.',
Add After:

Code: Select all

	'LOGIN_ACTIVATE'		    	=> 'Por favor logueese si quiere activar su cuenta de usuario.',
Find:

Code: Select all

	'WRONG_ACTIVATION'	=> 'La contraseña de activación proporcionada no coincide con ninguna en la base de datos',
Add after:

Code: Select all

	'WRONG_USER'		=> 'Su cuenta tiene que ser activada de forma manual por un administrador. Los administradores son informados sobre esto automáticamente.',
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello,
okay.
The other related files are:
includes/constants.php,
includes/acp/acp_board.php,

Please check them again.

If this will not help please send all your modified to my email. I will check them.

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!
xex
Registered User
Posts: 25
Joined: Wed Jun 18, 2008 1:28 am

Re: Advanced Double Activation Pack

Post by xex »

I finally got it!! :D
Checking acp_board.php I saw this at my code:

Code: Select all

	/**
	* Select account activation method
	*/
	function select_acc_activation($value, $key = '')
	{
		global $user, $config;

		$radio_ary = array(USER_ACTIVATION_DISABLE => 'ACC_DISABLE', USER_ACTIVATION_NONE => 'ACC_NONE');
		if ($config['email_enable'])
		{
			$radio_ary += array(USER_ACTIVATION_SELF => 'ACC_USER', USER_ACTIVATION_ADMIN => 'ACC_ADMIN', USER_ACTIVATION_USER_ADMIN => 'ACC_USER_ADMIN');
		}

		return h_radio('config[require_activation]', $radio_ary, $value, $key);
	}
This is how it should be following your instructions but I realized that USER_ACTIVATION_DISABLE and USER_ACTIVATION_NONE wich are in the up line of the one which has to be modified are the only two options that I could see at my acp while selecting activation method so I tried to put USER_ACTIVATION_USER ADMIN with them and it has worked :mrgreen:

It finally was like this:

Code: Select all

	/**
	* Select account activation method
	*/
	function select_acc_activation($value, $key = '')
	{
		global $user, $config;

		$radio_ary = array(USER_ACTIVATION_DISABLE => 'ACC_DISABLE', USER_ACTIVATION_NONE => 'ACC_NONE', USER_ACTIVATION_USER_ADMIN => 'ACC_USER_ADMIN');
		if ($config['email_enable'])
		{
			$radio_ary += array(USER_ACTIVATION_SELF => 'ACC_USER', USER_ACTIVATION_ADMIN => 'ACC_ADMIN');
		}

		return h_radio('config[require_activation]', $radio_ary, $value, $key);
	}
Dunno if my forum is crazy and has different code position from other or maybe it's an error but thank's anyway!!
xex
Registered User
Posts: 25
Joined: Wed Jun 18, 2008 1:28 am

Re: Advanced Double Activation Pack

Post by xex »

Well I can now select user+admin activation method but I tested registering a new user myself twice and it didn't work :S I could registry as normal without beeing validated by admin and without having to validate my mail. Dunno what can be wrong :cry:
User avatar
Martin Truckenbrodt
Registered User
Posts: 3045
Joined: Sun Mar 23, 2003 6:22 pm
Location: Franconia
Name: Martin Truckenbrodt

Re: Advanced Double Activation Pack

Post by Martin Truckenbrodt »

Hello xex,
ucp_register.php
ucp_activate.php

Bye Martin
Free tutorial: Installing MODs in phpBB 3.0
Advanced Block MOD - Prevent spam on your phpBB 3.0 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists!
My MODs
Use the official phpBB Ideas to vote missing core features!!!

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