Search found 3017 matches

by MarkDHamill
Fri May 31, 2019 11:40 pm
Forum: Extensions in Development
Topic: [RC] Selective mass emails
Replies: 15
Views: 1272

Re: [3.2][ALPHA] Selective mass emails

Is it possible to offer a translation in other languages? I'm glad to hear it worked. If you want to make a language translation, you should copy the /language/en folder for the extension into the appropriate folder for the language, like /language/es for Spanish and make your changes there. Thorou...
by MarkDHamill
Fri May 31, 2019 12:25 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3223

Re: [DEV] Filter by country

The VPN issue is still being assessed as the MaxMind country code database apparently does not include IP ranges for VPNs. As a workaround, the extension does allow admins to allow in traffic where the IP is not found in the MaxMind database. This should work but it opens the forum to spam from spam...
by MarkDHamill
Fri May 31, 2019 2:19 am
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3223

Re: [DEV] Filter by country

It's got it already, but has to be enabled in settings for the extension.
  • Turn on statistics in settings to start collecting statistics on countries blocked and allowed
  • Turn on logging to start putting admin log entries every time an IP is blocked.
by MarkDHamill
Thu May 30, 2019 7:00 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3223

Re: [DEV] Filter by country

BTW, here is what the blocked message should look like. There are two variations depending on whether logging in from restricted countries is allowed. It should be noted that no forum content is shown and clicking on any link should return the same message. http://www.phpbbservices.com/wp-content/up...
by MarkDHamill
Wed May 29, 2019 5:47 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3223

Re: [DEV] Filter by country

Thanks for helping to test the extension. I installed the Cron Status extension too. The state it is showing is "Auto". Not sure what that means but as I have repeatedly installed, deactivated and deleted data for the extension, and it was most recently reinstalled yesterday, I think it means it's w...
by MarkDHamill
Wed May 29, 2019 12:08 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3223

Re: [DEV] Filter by country

Yes, the database is updated every seven days. The database is updated by MaxMind on Tuesdays, but not knowing when on Tuesdays and due to timezones, I set it to check on Wednesdays, but only if seven days have elapsed since the last time it was downloaded. No doubt the code can be better and the fe...
by MarkDHamill
Tue May 28, 2019 9:35 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3223

Re: [DEV] Filter by country

The download link is fixed. There are other ways to block by country. Services like CloudFlare can do this and arguably can do a better job by keeping traffic from ever hitting your site. This consumes a little CPU but probably not too much plus it optionally allows registered users to login from a ...
by MarkDHamill
Tue May 28, 2019 5:20 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3223

[BETA] Filter by country - version 1.0.3

This extension allows an administrator to filter traffic by country, allowing in only traffic from selected countries, or disallowing traffic only from selective countries. So if you get a lot of spam traffic from countries like Ukraine, Russia and Belarus, hopefully this will get rid of it. Or if y...
by MarkDHamill
Sun May 26, 2019 1:56 pm
Forum: Extension Writers Discussion
Topic: Non-existent service
Replies: 5
Views: 645

Re: Non-existent service

It would be helpful if the skeleton extension was updated to use this approach.
by MarkDHamill
Sun May 26, 2019 1:40 pm
Forum: Extension Writers Discussion
Topic: Non-existent service
Replies: 5
Views: 645

Re: Non-existent service

Unfortunately, that isn't it. I think the issue is related to injecting the phpbb container into services.yml because it worked before then. On another extension I was advised to do this because they don't like me using $phpbb_container global variable, so I thought I'd be proactive in this one. Tak...
by MarkDHamill
Sat May 25, 2019 3:58 pm
Forum: Extension Writers Discussion
Topic: Non-existent service
Replies: 5
Views: 645

Non-existent service

So I used the skeleton extension to create the files for my new extension. It creates a default /acp/main_module.php program as follows which has been working fine: <?php /** * * Filter by country. An extension for the phpBB Forum Software package. * * @copyright (c) 2019, Mark D. Hamill, https://ww...
by MarkDHamill
Fri May 24, 2019 8:57 pm
Forum: Extension Writers Discussion
Topic: cron doesn't run
Replies: 13
Views: 460

Re: cron doesn't run

Right you are. They were used at one point but the code was since simplified. I would have removed this and '%core.root_path%' at some point during clean up.
by MarkDHamill
Fri May 24, 2019 8:40 pm
Forum: Extension Writers Discussion
Topic: cron doesn't run
Replies: 13
Views: 460

Re: cron doesn't run

Thank you, 3Di. This time I got the proper debug message in my error log: run() function attempted. Originally, services.yml was: phpbbservices.filterbycountry.cron.task.cron_task: class: phpbbservices\filterbycountry\cron\task\update_country_database arguments: - '@config' - '%core.root_path%' - '@...
by MarkDHamill
Fri May 24, 2019 8:12 pm
Forum: Extension Writers Discussion
Topic: cron doesn't run
Replies: 13
Views: 460

Re: cron doesn't run

Thanks for the suggestions. Relevant part of services.yml is now: phpbbservices.filterbycountry.cron.task.cron_task: class: phpbbservices\filterbycountry\cron\task\update_country_database arguments: - '@config' - '%core.root_path%' - '@phpbbservices.filterbycountry.common' - '@log' calls: - [set_nam...
by MarkDHamill
Fri May 24, 2019 7:57 pm
Forum: Extension Writers Discussion
Topic: cron doesn't run
Replies: 13
Views: 460

Re: cron doesn't run

Thanks for the suggestions. I changed services.yml as follows: phpbbservices.filterbycountry.cron.task.cron_task: class: phpbbservices\filterbycountry\cron\task\update_country_database arguments: - '@config' - '%core.root_path%' - '@phpbbservices.filterbycountry.common' - '@log' calls: - [set_name, ...

Go to advanced search