Pascal
Forum Replies Created
-
Forum: Plugins
In reply to: [iQ Block Country] Blocked all countries but Francia still trying to log inCan you supply screenshot of the iQ Block Country settings page and a screenshot of the information from ThreeWP_Activity_Monitor ?
I am not able to reproduce things so far..
Forum: Plugins
In reply to: [iQ Block Country] Error: Cannot modify header informationI’ll probably implement an option in the settings panel that allows you to choose between sending headers or not.
Forum: Plugins
In reply to: [iQ Block Country] Error: Cannot modify header informationYou can reach me at [firstname]@redeo.nl
Forum: Plugins
In reply to: [iQ Block Country] Error: Cannot modify header informationI must not have been very awake when I wrote my last update on this topic as I completly forgot about the other headers indeed.
Glad that you solved it by yourself!
For blocking countries the .htacccess file cannot be used or it will be a very very long list of ip address that are blocked. For individual IP addresses that approach can be used indeed.
I am curious which headers are send out by your site so if you can supply your website url I can check things out (can also be done via email if you like)
Forum: Plugins
In reply to: [iQ Block Country] Check box instead of ctrl to selectHi demon11c,
On the planned features list is an easier way to select countries planned.
This will probably be a box on the left with unselected countries and a box on the right with selected countries and that you can move countries from one list to the other.
Thank you for your comment
Forum: Plugins
In reply to: [iQ Block Country] not showing the country in administrationHi Lacike,
It happened to me once that my own country did not show because I was using a database of more than a year old. I downloaded a new version and my country was shown this time.
So that may solve things for you as well. In the next version there will be a lookup box for an ip address so you won’t have to check at the maxmind site anymore. Maxmind site will sometimes present other data for an ip address as the database they use are updated more often and are of course more accurate than the free version.
If downloading a new database does not solve things please supply me the ip address (via email if you do not wish to share it on a public forum, or by a reply on the post on my own site)
Forum: Plugins
In reply to: [iQ Block Country] Error: Cannot modify header informationHi,
You can also alter the plugin code.
Where it says
// display block message
Remove the next line that starts with header just above the print of blockmessage. That should make the error disapear as it will. Ot send the 403 forbidden header.
It breaks how it should be done but will still be effective with human visits.
Forum: Plugins
In reply to: [iQ Block Country] Error: Cannot modify header informationHi,
This is because your theme is sending data before the plugin is able to. A theme will always be displayed partly before the plugin kicks in as this is wordpress behavior.
I think in this case you can solve it by removing:
<?php language_attributes(); ?>
The error is generated by PHP and not the plugin itself. I think your hosting provider did not set display_errors to off in the php configuration. This supresses most error messages and should reveal as less as possible.
See for more info:https://phpsec.org/projects/phpsecinfo/tests/display_errors.html
Forum: Plugins
In reply to: [iQ Block Country] Blocked all countries but Francia still trying to log inHi Staipa,
What makes you think that blocked countries are still logging in?
Is it some kind of statistics software and if so which one?
Forum: Plugins
In reply to: [iQ Block Country] Can't login to backend of my site nowv1.0.10 was release a couple of hours ago.
You can select countries that you want to block from the frontend of your site and countries that you want to block from your backend.
So you are now able to block all countries except for the USA from your backend.
Forum: Plugins
In reply to: [iQ Block Country] Can't login to backend of my site nowNice of your hosting provider to give you a hand.
If somebody else has this problem don’t hesitate to contact me. Please supply hosting provider and I’ll check things out the best I can.
In the next version you’ll be alerted better to not block your own country from the backend.
Forum: Plugins
In reply to: [iQ Block Country] Can't login to backend of my site nowI probably should extend the FAQ with help I am blocked but this is included in the FAQ right now:
I select “Block users from the backend of your site option and ban my own country and nothing happens
This is “as-designed” as long as you are logged in you will not be blocked. Open another browser and see if you can login to your backend. By designing it this way you can fix a whoops without you having to alter your database.
As answered on my own site you need access to the database to resolve this:
You can only fix this by going in to the database administrator. Most hosting providers have phpmyadmin installed.
You should be able to login there with probably your database account. Then go to the wp_options table and remove the line that says ‘blockcountry_banlist’
If you need further help just reply!
Forum: Plugins
In reply to: [iQ Block Country] pull request, small changesVersion 1.0.8 and 1.0.9 were release integrating the changes ??
Forum: Reviews
In reply to: [iQ Block Country] Doesn't workI’ve tested with the current database and in this database both IP addreses are from France:
176.31.32.1 FR
94.23.99.213 FRIn an older database the 94.23.99.213 was from Spain, the first IP addresses did not return a country.
So updating the database should work. In v1.0.8 and above this is done automatically once a month if you at least login to the backend once a month.
Forum: Plugins
In reply to: [iQ Block Country] Block only WP-ADMINv1.0.9 has been released. It tested out okay on my system. Hope it works for you as well.