[3.2][RC] No DEA Emails 1.0.0-RC4

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)
picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

[3.2][RC] No DEA Emails 1.0.0-RC4

Post by picaron » Sat May 11, 2019 3:31 pm

Warning: It is necessary to completely eliminate any previous version by deleting all the saved data and files hosted on the server prior to the installation of the new version 1.0.0-RC4, following the steps described in the file README.md included in the extension itself.
Extension Name: No DEA Emails
Author: Picaron

Extension Description:
This extension prevents the registration of a user in the forum when using a disposable or temporary email account (DEA).
Such as:
  • Mailinator
  • Spamgourmet
  • TrashMail
  • Burnr
  • HMail
  • Temp Mail
NoDEAemails 1.0.0-RC4
Supported Templates: All.

Requirements:
  • phpBB >=3.2.4
  • PHP >=5.6
  • Extension cURL of PHP loaded.
Spanish support:
http://www.phpbb-es.com

Download:
Download NoDEAemails 1.0.0-RC4

History:
  • 1.0.0-rc1 - First release.
  • 1.0.0-rc2 - Management is removed through NameAPI.
  • 1.0.0-rc3 - Including management through cURL.
  • 1.0.0-RC4
    - Management is eliminated through API.
    - The external load of DEA domains is done through CRON.
    - DEA domain management is enabled locally.
    - Management of registered Users with DEA domains is enabled.
Installation:
  1. Download the latest release.
  2. Unzip the downloaded release.
  3. Copy the content of /pikaron/nodeaemails/ folder to /ext/pikaron/nodeaemails/.
  4. Navigate the ACP -> Customize -> Manage Extensions.
  5. Search for "No DEA Emails" in the Extensions list and click on the Enable link.
  6. Configure browsing on the ACP -> EXTENSIONS-> No DEA Emails
Screenshots:

Image
Last edited by picaron on Tue Jun 11, 2019 4:17 am, edited 10 times in total.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

User avatar
LanikSJ
Registered User
Posts: 27
Joined: Thu Aug 20, 2015 7:43 pm

Re: [3.2][RC] No DEA Emails

Post by LanikSJ » Sat May 11, 2019 4:00 pm

I get an error:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Duplicate entry 'nodeaemails_apikey' for key 'PRIMARY' [1062]

SQL

INSERT INTO phpbb_config (config_name, config_value, is_dynamic) VALUES ('nodeaemails_apikey', 'my-uber-secret-key', 0)

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 997
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 193
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 161
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/phpbb/config/db.php
LINE: 122
CALL: phpbb\config\db->set_atomic()

FILE: [ROOT]/ext/pikaron/nodeaemails/acp/acp_nodeaemails_module.php
LINE: 104
CALL: phpbb\config\db->set()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: pikaron\nodeaemails\acp\acp_nodeaemails_module->main()

FILE: [ROOT]/adm/index.php
LINE: 82
CALL: p_master->load_active()
After pasting the key and submitting it.

phpbb: 3.2.7
PHP: 7.2
If it ain't broke don't fix it.

User avatar
</Solidjeuh>
Registered User
Posts: 1533
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] No DEA Emails

Post by </Solidjeuh> » Sat May 11, 2019 4:33 pm

So if I understand correctly, this ext blocks "temp mails" like https://temp-mail.org/en/, https://www.tempmailaddress.com/?
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~
Have a secret? --> https://www.tellyoursecrets.eu

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] No DEA Emails

Post by picaron » Sat May 11, 2019 6:49 pm

Hi LanikSJ.

This error is quite improbable.
Duplicate entry 'nodeaemails_apikey' for key 'PRIMARY' [1062]
The extension creates the variable using the methods established in phpBB and should not be duplicated in any case.
Please uninstall the extension completely, deleting all data.
Clean the forum cache and reinstall the extension.
You should not repeat this error again.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] No DEA Emails

Post by picaron » Sat May 11, 2019 6:55 pm

</Solidjeuh> wrote:
Sat May 11, 2019 4:33 pm
So if I understand correctly, this ext blocks "temp mails" like https://temp-mail.org/en/, https://www.tempmailaddress.com/?
Right, </Solidjeuh>, that's the mission of the extension.
The extension locates a large number of DEA providers.
Such as:
Mailinator
Spamgourmet
TrashMail
Burnr
HMail
And as new DEA sites appear, nameapi.org will be includes them.
Last edited by picaron on Sun May 12, 2019 8:56 pm, edited 1 time in total.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

User avatar
</Solidjeuh>
Registered User
Posts: 1533
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] No DEA Emails

Post by </Solidjeuh> » Sat May 11, 2019 7:30 pm

Now this is a useful ext :D
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~
Have a secret? --> https://www.tellyoursecrets.eu

User avatar
3Di
Former Team Member
Posts: 13661
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.2][RC] No DEA Emails

Post by 3Di » Sat May 11, 2019 7:44 pm

Looks interesting at a first glance.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
👨‍🏫 | Take a tour to | The Studio | 👨‍🏫

User avatar
LanikSJ
Registered User
Posts: 27
Joined: Thu Aug 20, 2015 7:43 pm

Re: [3.2][RC] No DEA Emails

Post by LanikSJ » Sat May 11, 2019 7:50 pm

Removed the extension, deleted the data and reinstalled it. Now I get this:

Code: Select all

ERROR: Connection with the API of NameAPI could not be made.
I use other APIs like Stop Forum Spam API so I know I can make calls out.
If it ain't broke don't fix it.

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] No DEA Emails

Post by picaron » Sat May 11, 2019 8:15 pm

LanikSJ wrote:
Sat May 11, 2019 7:50 pm
Removed the extension, deleted the data and reinstalled it. Now I get this:

Code: Select all

ERROR: Connection with the API of NameAPI could not be made.
I use other APIs like Stop Forum Spam API so I know I can make calls out.
Everything indicates that you have not correctly placed the data of the API of the NameAPI or, failing that, the one you have is not valid.

Edit:
It is necessary that the php file_get_contents function be enabled.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

User avatar
LanikSJ
Registered User
Posts: 27
Joined: Thu Aug 20, 2015 7:43 pm

Re: [3.2][RC] No DEA Emails

Post by LanikSJ » Sat May 11, 2019 8:48 pm

picaron wrote:
Sat May 11, 2019 8:15 pm
It is necessary that the php file_get_contents function be enabled.
I'm not sure I follow where to set that.

I've copied and pasted the API key.
If it ain't broke don't fix it.

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] No DEA Emails

Post by picaron » Sun May 12, 2019 5:09 am

It has been updated to version 1.0.0-rc2.
Now it is not necessary to register in NAMEAPI and obtain API-Key.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

nou nou
Registered User
Posts: 318
Joined: Sat Oct 29, 2016 8:08 pm

Re: [3.2][RC] No DEA Emails

Post by nou nou » Sun May 12, 2019 6:40 am

Seems very useful indeed!

Would you consider having some sort of search feature to see if any of the currently registered users have used a DEA to register in the past?

A little note on https://www.nameapi.org/en/live-demos/d ... -detector/ was interesting:

For new account signups etc, you can refuse disposable email addresses. As a result, the user can fall back to his real address, which will usually be a freemail address such as gmail. You may want to store a flag in the record that the signup attempt was with a disposable. Alternatively you can silently accept and flag it.

The logging of a first DEA attempt may be interesting as a feature as well?

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] No DEA Emails

Post by picaron » Sun May 12, 2019 6:58 pm

Note: The development of the extension has been separated from NameAPI since its API has been abandoned for more than two years.

nou nou wrote:
Sun May 12, 2019 6:40 am
Would you consider having some sort of search feature to see if any of the currently registered users have used a DEA to register in the past?
Of course. Could be implemented in the future, but I have an important question ... what would we do with each user registered in our forum with an email type DEA? ... We eliminate it? ...

nou nou wrote:
Sun May 12, 2019 6:40 am
The logging of a first DEA attempt may be interesting as a feature as well?
I'll keep it in mind for future versions of the extension.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

User avatar
</Solidjeuh>
Registered User
Posts: 1533
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm
Contact:

Re: [3.2][RC] No DEA Emails

Post by </Solidjeuh> » Sun May 12, 2019 7:02 pm

picaron wrote:
Sun May 12, 2019 6:58 pm
what would we do with each user registered in our forum with an email type DEA
Simple, delete. I don't like users that register with fake emails. I delete them immediately.
Register a free account & Play!!
~~~ https://www.solidjeuh.be ~~~
Have a secret? --> https://www.tellyoursecrets.eu

picaron
Registered User
Posts: 114
Joined: Wed Apr 05, 2006 8:55 am
Location: Spain

Re: [3.2][RC] No DEA Emails

Post by picaron » Sun May 12, 2019 7:07 pm

</Solidjeuh> wrote:
Sun May 12, 2019 7:02 pm
Simple, delete. I don't like users that register with fake emails. I delete them immediately.
:lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol: :lol:

Perfect. I take note to add the option to check registered users with DEA type accounts.
My extensions: Anti Adblock, PayForLink, SlideWeUni, StoreToMega, SearchBack, ShowSnow, No DEA Emails.

Post Reply

Return to “Extensions in Development”