Country Flags by IP Address [Deleted]

I have installed this, set permissions, but no flags show up.

I checked with my hosting company, Nimbus, and everything is as it should be re cURL and BC Math

Code:
'./configure' '--disable-fileinfo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-

can anyone say why no flags would be showing?

cf.webp
 
And have the people that you are looking at logged in yet? Flags do not show until the person logs in after the add-on is installed.

If they have, then switch to the default XF style and see if they are showing there. If they are then either the style you are using doesn't have the default items from the standard XF style or there is another add-on interfering with this one.
 
Last edited:
Aha, it's working now, I needed to log out then back in again.

But it doesn't work for thread view or member list.
 
I wish this add-on would use the Fam Fam Fam flag icons, much better looking...

http://www.famfamfam.com/lab/icons/flags/
http://www.flag-sprites.com/


I could manually change them of course (even though that takes a while I guess changing each country's css line by hand), but fam fam fam flags don't have the "unknown" and "localhost" flags that this add-on uses as far as I'm aware?

Maybe someone could design fitting icons for those missing ones...
 
I wish this add-on would use the Fam Fam Fam flag icons, much better looking...

http://www.famfamfam.com/lab/icons/flags/
http://www.flag-sprites.com/


I could manually change them of course (even though that takes a while I guess changing each country's css line by hand), but fam fam fam flags don't have the "unknown" and "localhost" flags that this add-on uses as far as I'm aware?

Maybe someone could design fitting icons for those missing ones...
No, those flags won't have the unknown, localhost, satellite, mobile or reserved flags.

The flags won't be changing but you are free to modify the css to use your own flags if you wish.
 
Edit the snog_countryflag template and change or remove this..
margin-right:10px;
That worked thanks - also i just saw this on a users postbit, she has been logged in many times since I installed the add on- local intranet when hovered over.

Screen Shot 2015-02-03 at 5.23.04 AM.webp
 
That worked thanks - also i just saw this on a users postbit, she has been logged in many times since I installed the add on- local intranet when hovered over.
If you could supply that user's IP address by PC here, I'll look into it.

EDIT: That should mean the user is logging in with a private IP address. Private IPv4 addresses are:
10.0.0.0 - 10.255.255.255
172.16.0.0 - 172.31.255.255
192.168.0.0 - 192.168.255.255

Those addresses should never appear on the public internet. If they are, then the user is spoofing his IP address.

OR, for some reason your server isn't returning the proper IP address for that user.
 
Last edited:
Back
Top Bottom