Search found 3017 matches

by MarkDHamill
Wed Jun 05, 2019 9:06 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

In my case, I hard coded your IP. You might want to check your assumptions. After line 162 in /event/main_listener.php : $user_ip = $this->request->server('REMOTE_ADDR'); // Fetch the user's actual IP address. add echo $user_ip; And see what appears on the screen. Also make sure your settings are id...
by MarkDHamill
Wed Jun 05, 2019 9:01 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

My testing suggests is it operating normally. I forced the IP to be the one sent in the PM Country Belgium - Restricted Allow registered users to login from restricted countries - No Action to take if the user’s IP address is not found in MaxMind database - Restrict Result: Blocked Country Belgium -...
by MarkDHamill
Wed Jun 05, 2019 7:44 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

The database is proprietary. I suspect it works by saying a range of IPs belong to an ISP in a particular country.
by MarkDHamill
Wed Jun 05, 2019 7:40 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

Can you send me the IP you used for Belgium? That will let me debug it. You can PM me.
by MarkDHamill
Wed Jun 05, 2019 4:06 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

I guess I need to look at my logic again. It's pretty simple. The filter_by_country() function in event/main_listener.php is where traffic is blocked or allowed. If you feel up to it to do some debugging to document where it fails, I'd appreciate it. If the IP is not in the MaxMind database, the cat...
by MarkDHamill
Wed Jun 05, 2019 3:49 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

Presumably the database is good. What country do you get when you go here?

https://whatismycountry.com
by MarkDHamill
Wed Jun 05, 2019 3:40 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

It's unclear to me if it's not working as expected. VPNs I think would count as out of country logins, so if that setting is enabled you should be able to login. I'm having a conversation with MaxMind about including their Anonymous IP database in the extension, for those willing to pay for it. I'm ...
by MarkDHamill
Wed Jun 05, 2019 3:13 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

Indeed. What I really need is a good production test. It seems that rejected hits get double counted, maybe some sort of page refresh thing.
by MarkDHamill
Wed Jun 05, 2019 2:51 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

That explains it. Thanks. It didn't fail for me because I had selective mass emails extension installed, which I am also developing. Thanks for updating your language translation so quickly as well. I will update master with it, along with this bug fix.
by MarkDHamill
Wed Jun 05, 2019 11:57 am
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

This can happen if you did not follow the procedures for updating extensions. It must minimally be disabled first, the old software removed, then the new software uploaded. If you want to make this go away, manually purging the /cache/production folder should work.
by MarkDHamill
Wed Jun 05, 2019 1:51 am
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [DEV] Filter by country

If you do it as a tab, Can you mark it as "Statistics" on the same line as "Home" & "Board index"??! Thnx I have to think more about this. Probably you should concentrate on the changes to the statistics report in the ACP. To expose a public report opens a lot of questions, like who should see it a...
by MarkDHamill
Wed Jun 05, 2019 1:49 am
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [ALPHA] Filter by country - version 1.0.1

Version 1.0.1-alpha is now released. See the first post for links to download the version. The main changes are to the statistics report. You can select a relative or absolute date range. For an absolute range, you use the jQuery UI datepicker control. You can also sort by column, either ascending o...
by MarkDHamill
Tue Jun 04, 2019 9:55 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [DEV] Filter by country

Thanks. Working on a new version and there will be language file changes.
by MarkDHamill
Sat Jun 01, 2019 12:21 pm
Forum: Extensions in Development
Topic: [RC] Selective mass emails
Replies: 15
Views: 1232

Re: [3.2][ALPHA] Selective mass emails

I depend on others to provide translations. So no, unless someone steps up. Since the interface is purely for administrators only, often it doesn't matter too much.
by MarkDHamill
Sat Jun 01, 2019 12:20 pm
Forum: Extensions in Development
Topic: [BETA] Filter by country - version 1.0.3
Replies: 77
Views: 3150

Re: [DEV] Filter by country

If you mean allow users to see it who don't have ACP access, yes, it's possible but not currently a feature. How do you envision it working?

Go to advanced search