Search found 3114 matches

by MarkDHamill
Tue Sep 03, 2019 8:37 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.8
Replies: 203
Views: 11000

Re: [RC] Filter by country - version 1.0.6

That database needs to be updated to change the phpbb_fbc_stats table. The country_code would need to change all ?? to ## . The next version will have a migrator program to do this. /controller/acp_controller.php will have additional logic that will avoid invoking file_exist() if the unknown country...
by MarkDHamill
Tue Sep 03, 2019 4:37 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.8
Replies: 203
Views: 11000

Re: [RC] Filter by country - version 1.0.6

Interesting thought. This is a constant easily changed. Thanks.
by MarkDHamill
Tue Sep 03, 2019 3:28 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.8
Replies: 203
Views: 11000

Re: [RC] Filter by country - version 1.0.6

Yes, I should have a work around in the next version. Your situation should only occur though file_exists() triggers a warning, which should only happen if some parts of searchable paths on your server are not accessible. This is typically due to issues with permission on a /tmp folder.
by MarkDHamill
Mon Sep 02, 2019 1:59 am
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.8
Replies: 203
Views: 11000

Re: [RC] Filter by country - version 1.0.6

I assume if the extension returns essentially "an IP is not in the database" message from the MaxMind country code database then it is likely a VPN address, but it could be some new set of IPs that will get assigned to a country at some point and appear in the database. As noted, the Anonymous IP da...
by MarkDHamill
Sun Sep 01, 2019 10:47 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.8
Replies: 203
Views: 11000

Re: [RC] Filter by country - version 1.0.6

I hadn't thought about that as a feature. As release candidate the features are supposed to be set. But I can look into it.
by MarkDHamill
Sun Sep 01, 2019 7:20 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.8
Replies: 203
Views: 11000

Re: [RC] Filter by country - version 1.0.6

The first issue is due to how you have PHP configured. See: https://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths Version check not working is a fair point. The following changes need to be made to composer.json : Replace: "filename": "3....
by MarkDHamill
Sun Aug 18, 2019 2:49 pm
Forum: Extensions in Development
Topic: [RC] Selective mass emails 1.0.8
Replies: 32
Views: 2915

Version 1.0.4 released and sent for review

Version 1.0.4 of the extension is released and has been submitted for review by the phpBB extension review team.

You can download it from my web page.
by MarkDHamill
Tue Aug 13, 2019 5:31 pm
Forum: Wanted!
Topic: Assistance for the creation of a forum
Replies: 8
Views: 978

Re: Assistance for the creation of a forum

Since your top level domain appears to be a Wordpress site, putting a phpBB forum in a subdomain is I think a good idea, as it distinguishes it as having a separate purpose from the Wordpress framework. If you want the forum's style to look different than Wordpress's, it also sets that expectation.
by MarkDHamill
Mon Aug 12, 2019 12:18 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.8
Replies: 203
Views: 11000

Re: [RC] Filter by country - version 1.0.6

after a while I have this popup window that appears http://pixupload.free.fr/upload/o4yxig_erreur.png I doubt that is my extension unless some sort of exception is being returned saying the MaxMind database is unavailable. Since the database is local, you can check that it exists and is readable in...
by MarkDHamill
Sun Aug 11, 2019 11:44 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.8
Replies: 203
Views: 11000

Filter by country - version 1.0.6 released

See the first post. Thanks for all your testing. Here's a summary of what's changed in 1.0.6, a release candidate: When decompressing the Maxmind database, try/catch logic is now used so any exception is properly handled The extension won't try to load the database without first testing if the file ...
by MarkDHamill
Mon Aug 05, 2019 7:18 pm
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 18
Views: 1318

Re: $phpbb_container from migration file

Thanks for the suggestion. I added the following to my migrator program: public function update_data() { return [ ['custom', [[$this, 'install_database']]], ]; } public function install_database() { $language = $this->container->get('language'); $phpbb_root_path = $this->container->getParameter('cor...
by MarkDHamill
Mon Aug 05, 2019 2:26 pm
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 18
Views: 1318

Re: $phpbb_container from migration file

As 3Di pointed out, it won't work in ext.php either. Your services won't be available to the container until you see the page that says your extension has been enabled, at which point all migrations and ext.php code are done executing. I'd solve it with a config value that signals whether your reso...
by MarkDHamill
Mon Aug 05, 2019 1:10 pm
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 18
Views: 1318

Re: $phpbb_container from migration file

I tried first in my ext.php : $helper = $this->container->get('phpbbservices.filterbycountry.common'); which returned (in part): Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "phpbbservices.filterbycountry.co...
by MarkDHamill
Mon Aug 05, 2019 12:00 pm
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 18
Views: 1318

Re: $phpbb_container from migration file

I'll try doing it in ext.php. I am currently using it mainly to make sure all the prerequisites are in place, as the extension requires a number of PHP extensions and modules.
by MarkDHamill
Mon Aug 05, 2019 12:47 am
Forum: Extension Writers Discussion
Topic: $phpbb_container from migration file
Replies: 18
Views: 1318

Re: $phpbb_container from migration file

The custom function would have to be available to other programs. I wonder if I'd have to define a service to the migration program. Thanks for your thoughts.

Go to advanced search