[3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Jorup16
Registered User
Posts: 422
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by Jorup16 »

Ok.

This is the Spanish translation.
https://github.com/Jorup16/Obscure-Regi ... M-stopper-


:D
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<

User avatar
Jorup16
Registered User
Posts: 422
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by Jorup16 »

I had only done the translation but I had not configured the extension as a method against SPAM, but now that I have done it, I have a problem.

The admin panel is blank, I can't login.

If I delete the extension using FTP, I cannot enter the entire site, the forum is left without access and this message appears.

Image

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/class_loader.php on line 160: require(./ext/hifikabin/obscureregistrationcode/event/listener.php): failed to open stream: No such file or directory
What I can do?
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4662
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

First replace the extension files, as you have seen deleting them by FTP will only cause even more errors.

Next delete the contents of the cache directory by FTP leaving only index.htm and .htaccess and then try to access your site.

If you are still having problems, the you can disable ALL of your extensions by using the Disable Extensions script from this link Knowledge Base - Disabling all extensions at once

Once you have your board back, you can re enable the extensions from the ACP as none of the date will have been removed

User avatar
Jorup16
Registered User
Posts: 422
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by Jorup16 »

Thank you very much, I had to disable all extensions using the script.
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<


User avatar
Jorup16
Registered User
Posts: 422
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by Jorup16 »

But do you know what could have happened?

Why did the admin panel go blank?
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4662
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

I don't know, but had you added your translation to the extension? Thats one possible cause if there was an error in it.

User avatar
spaceace
Registered User
Posts: 1975
Joined: Wed Jan 30, 2008 8:50 pm
Contact:

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by spaceace »

Jorup16 wrote:
Thu May 21, 2020 7:17 pm
But do you know what could have happened?

Why did the admin panel go blank?
maybe this line?
https://github.com/Jorup16/Obscure-Regi ... de.php#L42

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 4662
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by HiFiKabin »

Thats the culprit. I have just tested and that page should be :-

Code: Select all

<?php
/**
*
* @package phpBB Extension - Obscure Contact Us
* @copyright (c) 2015 - HiFiKabin
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

if (!defined('IN_PHPBB'))
{
	exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
	'ACP_OBSCUREREGISTRATIONCODE'				=>'Código de registro oscuro',
	'ACP_OBSCUREREGISTRATIONCODE_CONFIG'		=>'Configuración del código de registro oscuro',

	'OBSCUREREGISTRATIONCODE_CONFIG'			=>'Código de registro oscuro',
	'OBSCUREREGISTRATIONCODE_CONFIG_EXPLAIN'	=>'Configure el código de registro que se utilizará en el phpBB Q&A CAPTCHA incorporado.<br />Se mostrará de una manera que sea difícil de acceder para los SPAMbots pero fácil de leer para los humanos.<br />Antes de continuar, DEBE leer las instrucciones y las preguntas frecuentes siguiendo este',
	'OBSCUREREGISTRATIONCODE_CONFIG_SET'		=>'Configuración',
	'OBSCUREREGISTRATIONCODE_CONFIG_SAVED'		=>'Opciones de código de registro oscuro guardadas',

	'RANDOMGENERATOR'							=>'Generador de código aleatorio',
	'CREATE'									=>'Crear nuevo código',
	'COPY'										=>'Copiar al portapapeles',

	'OBSCUREREGISTRATIONCODE'					=>'Código de registro',
	'OBSCUREREGISTRATIONCODE_EXPLAIN'			=>'Ingrese el código que creó arriba.<br />Recuerde agregar este código a la configuración de Q&A CAPTCHA.',

	'OBSCUREREGISTRATIONCODE_DIV'				=>'Primera capa adicional de Resistencia SPAMbot',
	'OBSCUREREGISTRATIONCODE_ORC'				=>'Segunda capa adicional de Resistencia SPAMbot',
	'OBSCUREREGISTRATIONCODE_CODE_EXPLAIN'		=>'Se recomienda que cambie este campo para aumentar la resistencia SPAMbot de esta extensión.',
	'OBSCUREREGISTRATIONCODE_CODE_LETTERS'		=>'Sin números, espacios o caracteres especiales.',

	'OBSCUREREGISTRATIONCODE_BG_ON'				=>'Colorea el fondo del código de registro',
	'OBSCUREREGISTRATIONCODE_BG_ON_EXPLAIN'		=>'Si se establece en "NO", es posible que deba cambiar el color de fuente predeterminado',

	'OBSCUREREGISTRATIONCODE_BG'				=>'Color de fondo del código de registro',
	'OBSCUREREGISTRATIONCODE_BG_EXPLAIN'		=>'Seleccione el color de fondo del código de registro',
	'OBSCUREREGISTRATIONCODE_COLOUR'			=>'Haga clic en el cuadro para seleccionar el color',
	'OBSCUREREGISTRATIONCODE_HASH'				=>'#',

	'OBSCUREREGISTRATIONCODE_FONT'				=>'Color de fuente de código de registro',
	'OBSCUREREGISTRATIONCODE_FONT_EXPLAIN'		=>'Seleccione el color de fuente del código de registro',

	'OBSCUREREGISTRATIONCODE_SIZE'				=>'Tamaño de la fuente del código de registro',
	'OBSCUREREGISTRATIONCODE_SIZE_EXPLAIN'		=>'Escriba el tamaño de la fuente en px',
));

User avatar
Jorup16
Registered User
Posts: 422
Joined: Sun Dec 14, 2008 5:13 am
Location: Zacapa, Guatemala
Name: Jorge
Contact:

Re: [3.2][3.3][RC] Obscure Registration Code (SPAM stopper)

Post by Jorup16 »

I did not notice that small error, thank you very much for your help.
Spanish Translations for Ext phpBB :D - Traducciones al español para Ext phpBB :)
>>>>> https://github.com/Jorup16 <<<<<

Post Reply

Return to “Extensions in Development”