[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!
Scam Warning
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: 427
Joined: Sun Dec 14, 2008 5:13 am
Location: Guatemala
Name: Jorge

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: 427
Joined: Sun Dec 14, 2008 5:13 am
Location: Guatemala
Name: Jorge

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: 6768
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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: 427
Joined: Sun Dec 14, 2008 5:13 am
Location: Guatemala
Name: Jorge

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
HiFiKabin
Community Team Member
Community Team Member
Posts: 6768
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post by HiFiKabin »

Great news.
User avatar
Jorup16
Registered User
Posts: 427
Joined: Sun Dec 14, 2008 5:13 am
Location: Guatemala
Name: Jorge

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: 6768
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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: 1999
Joined: Wed Jan 30, 2008 8:50 pm

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: 6768
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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: 427
Joined: Sun Dec 14, 2008 5:13 am
Location: Guatemala
Name: Jorge

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 <<<<<
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6768
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post by HiFiKabin »

1.0.0-RC9 now available Image Image Image


"Copy" button added to encoded code

To Update from previous version:
  • Download the latest release and unzip it.
  • Disable Obscure Registration Code in the ACP
  • Delete obscureregistrationcode folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP
  • Go to ACP>Extensions>Obscure Registration Code and change "ChangeMe" to something unique as described in the instructions
NOTEs: If you are updating from RC1 or earlier, please disable and delete data before installing this version

Please read the Install Notes and FAQ before installing
User avatar
RMcGirr83
Former Team Member
Posts: 22061
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

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

Post by RMcGirr83 »

You need to get with the times and github ;)

<b><i>{{lang('COPYCODE')}}</b></i>

wrong order

Also if it's for registration and/or guest posting then it should, probably, only display when registering or making a post. Not on every single page in the forum. Just my .02
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6768
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post by HiFiKabin »

RMcGirr83 wrote: Sat Aug 15, 2020 1:19 pm You need to get with the times and github ;)

<b><i>{{lang('COPYCODE')}}</b></i>

wrong order
*slaps forehead* Its always the little things that slip through the net. Thanks Rich
RMcGirr83 wrote: Sat Aug 15, 2020 1:19 pm Also if it's for registration and/or guest posting then it should, probably, only display when registering or making a post. Not on every single page in the forum. Just my .02
Good point.

... and I just can not get on with GitHub no matter how many times I try :roll:
User avatar
RMcGirr83
Former Team Member
Posts: 22061
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

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

Post by RMcGirr83 »

HiFiKabin wrote: Sat Aug 15, 2020 3:52 pm ... and I just can not get on with GitHub no matter how many times I try :roll:
I use SmartgGit for command line nubs...like myself ;)
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6768
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post by HiFiKabin »

1.0.0-RC10 now available Image Image Image


Typo corrected, Registration Code is only displayed on pages that also display the CAPTCHA

To Update from previous version:
  • Download the latest release and unzip it.
  • Disable Obscure Registration Code in the ACP
  • Delete obscureregistrationcode folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP
  • Go to ACP>Extensions>Obscure Registration Code and change "ChangeMe" to something unique as described in the instructions
NOTEs: If you are updating from RC1 or earlier, please disable and delete data before installing this version

Please read the Install Notes and FAQ before installing

Return to “Extensions in Development”