MyBB Community Forums

Full Version: Nginx GeoIP not working within MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've always had this problem, it works in a test script but not MyBB. I have the GeoIP module included, database paths, etc. Of course, it wouldn't work on a test script unless all of that is correct. The only thing I think it could are the variables in fastcgi_params

Current ones:

 fastcgi_param GEOIP_CITY_COUNTRY_CODE $geoip_city_country_code;
  fastcgi_param GEOIP_CITY_COUNTRY_CODE3 $geoip_city_country_code3;
  fastcgi_param GEOIP_CITY_COUNTRY_NAME $geoip_city_country_name;
  fastcgi_param GEOIP_REGION $geoip_region;
  fastcgi_param GEOIP_CITY $geoip_city;
  fastcgi_param GEOIP_POSTAL_CODE $geoip_postal_code;
  fastcgi_param GEOIP_CITY_CONTINENT_CODE $geoip_city_continent_code;
  fastcgi_param GEOIP_LATITUDE $geoip_latitude;
  fastcgi_param GEOIP_LONGITUDE $geoip_longitude;
  fastcgi_param GEOIP_COUNTRY_CODE $geoip_country_code;
  fastcgi_param GEOIP_COUNTRY_CODE3 $geoip_country_code3;
  fastcgi_param GEOIP_COUNTRY_NAME $geoip_country_name;
MyBB can't handle or store GeoIP information.
(2013-10-20, 02:57 PM)StefanT Wrote: [ -> ]MyBB can't handle or store GeoIP information.
Not sure what you mean by that. I'm just trying to fix it so it will show up.
They will not show up because MyBB doesn't recognize GeoIP. You need a plugin for that.
(2013-10-20, 07:55 PM)StefanT Wrote: [ -> ]They will not show up because MyBB doesn't recognize GeoIP. You need a plugin for that.
Then what does the default MyBB function for looking up via the mod cp?
[Image: aTJrAPI.png]
Ah. Thanks a lot Smile
Marked as solved.