htmlspecialchars()
is all I need when loading the $countries
array. If not, using the array approach sounds promising.htmlspecialchars()
is all I need when loading the $countries
array. If not, using the array approach sounds promising.$dom->loadHTML( '<?xml encoding="utf-8" ?>' . $this->language->lang('ACP_FBC_OPTIONS') );
try (tested with another extension)MarkDHamill wrote: ↑Mon Jun 17, 2019 4:30 pmThese are excellent ideas. Maybe using a function likehtmlspecialchars()
is all I need when loading the$countries
array. If not, using the array approach sounds promising.
Code: Select all
$xml_countries = $dom->getElementsByTagName('option');
$xml_countries = @iconv('UTF-8', 'UTF-8//IGNORE', $xml_countries);
I can confirm that this works.
$dom->loadHTML($this->language->lang('ACP_FBC_OPTIONS'));
with $dom->loadHTML( '<?xml encoding="utf-8" ?>' . $this->language->lang('ACP_FBC_OPTIONS') );
phpbb_fbc_stats
table but only once by using the same approach. This should allow for multi-user access on busy boards where two log entries may occur at the same second from different IPs. Hopefully I can package this up soon for your testing./language/en/common.php
:Code: Select all
'ACP_FBC_IP_NOT_FOUND_EXPLAIN' => 'If a user’s IP addresses isn’t in the database, it’s most likely because it is associated with a virtual private network (VPN) service. Enabling this option will let in users using VPN services, but could also allow entry by spammers.',
Code: Select all
'ACP_FBC_IP_NOT_FOUND_EXPLAIN' => 'If a user’s IP addresses isn’t in the database, it’s likely from a virtual private network (VPN) service. Enabling this option will let in users using VPN services, but could also let in some spammers.',
Code: Select all
'ACP_FBC_UNKNOWN' => 'Unknown',
Code: Select all
'ACP_FBC_UNKNOWN' => 'VPN (unknown)',
https://github.com/Solidjeuh/filterbycountryMarkDHamill wrote: ↑Thu Jul 04, 2019 9:55 pm</Solidjeuh>, here are the language changes for version 1.0.3:
Code: Select all
Error while creating an image
»Error in [ROOT] /ext/phpbbservices/filterbycountry/core/common.php on line 134: gzopen(./store/phpbbservices/filterbycountry/GeoLite2-Country.tar.gz): failed to open stream: No such file or directory
/store
and the /store/phpbbservice/filterbycountry
folders are 777. You can try just deleting the folder. It should get recreated.