It looks like you're new here. If you want to get involved, click one of these buttons!
Flags do not show.
Why?
First check that the flags found exists inside the plugins/geoipflags/ folder and that images exist in there. Plugin also assumes that the default url of your plugins folder is http://www.yoursite.com/plugins/
Error in default.php
echo '<td><img src="/plugins/geoipusers/flags/' . $countrycode . '.png" alt="' . $countrycode . '" /></td>';
I change geoipusers for GeoIPFlags but not work :(
Do you mean they do not show in the dashboard.
First off it requires version 2.1
Second - it believe it may have the wrong permission on all the files when you unzip they all pretty much need 755 permissions, or don't they.
third - what is in the .dat file - make me wonder what it does. hard to tell whether there is anything i don't want in there (paranoia vs. suspicion).
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
I use Vanilla 2.0.18.4 and get this plugin to work through the following steps:
line 39:
$countrycode = geoip_country_code_by_addr($handle, $Sender->EventArgs['User']->LastIPAddress);
change for
$countrycode = strtolower(geoip_country_code_by_addr($handle, $Sender->EventArgs['User']->LastIPAddress));
line 41:
echo '<td><img src="/plugins/GeoIPFlags/flags/' . $countrycode . '.png" alt="' . $countrycode . '" /></td>';`
On unix systems the paths are case sensitive, which is why the above change are needed.
I also needed to change the path to GeoIP.dat
My changes are here: https://github.com/gingerbeardman/GeoIPFlags
I ended up rolling my own plugin: https://github.com/gingerbeardman/WorldFlags
Answers
Error in default.php
echo '<td><img src="/plugins/geoipusers/flags/' . $countrycode . '.png" alt="' . $countrycode . '" /></td>';I change geoipusers for GeoIPFlags but not work :(
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Do you mean they do not show in the dashboard.
First off it requires version 2.1
Second - it believe it may have the wrong permission on all the files when you unzip they all pretty much need 755 permissions, or don't they.
third - what is in the .dat file - make me wonder what it does. hard to tell whether there is anything i don't want in there (paranoia vs. suspicion).
factoid: Most questions have been previously answered, try the search box first, please provide your Vanilla version Number!
Peregrine's Addons - donations gladly accepted for "successful solutions" and addons - kind of like tipping a waiter at a restaurant
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I use Vanilla 2.0.18.4 and get this plugin to work through the following steps:
line 39:
change for
line 41:
change for
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •On unix systems the paths are case sensitive, which is why the above change are needed.
I also needed to change the path to GeoIP.dat
My changes are here: https://github.com/gingerbeardman/GeoIPFlags
- Spam
- Abuse
- Troll
0 • 1Off Topic 1Insightful Awesome LOL •I ended up rolling my own plugin: https://github.com/gingerbeardman/WorldFlags
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •