Hide menu Last updated: Sep 21 2015

Updating the geographic location database

The geographic location database included in Episerver CMS contains geographic information created by MaxMind. New versions of this database are released every month as the information is continuously updated.

To get the latest geographic information on your website, you can update the database in the following ways:

  • Update the database manually.
    1. Go to MaxMind’s website at http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz for the latest database version (for free).
    2. Extract the file and replace your current database version at \EPiServer\Framework\[Assembly Version Number]\Geolocation

    If you want a more accurate version, obtain a required license database version at Maxmind.com.

  • Install source code to run the database update as a scheduled job.

    To update the Maxmind GeoIP database as a scheduled job in Episerver CMS Admin mode, go to Episerver World and download the source code EPiServer.Extensions.GeoIPUpdate.

Providing access for editors to visitor groups

To access Visitor Groups in the global menu, you must be a member of the CmsAdmins or VisitorGroupAdmins access groups, otherwise you are prompted to a login page. If you want editors to add, edit, and delete visitor groups, you can provide access by adding them to VisitorGroupAdmins (CmsAdmins and CmsEditors are already defined in the configuration). The following example shows how to configure access for editors with the virtualRoles element in the <episerver.framework> section in web.config:

XML
<virtualRoles replacePrincipal="true">
  <providers>
      ...
      <add name="VisitorGroupAdmins" 
           type="EPiServer.Security.MappedRole, EPiServer" roles="WebEditors" mode="Any" />
  </providers>
</virtualRoles>

Comments