Title: Region Detect
Author: joebrewer
Published: <strong>26. мај 2011.</strong>
Last modified: 17. октобар 2013.

---

Претражи додатке

Овај додатак **није испробан са последња 3 главна издања Вордпреса**.Можда се више
не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

![](https://s.w.org/plugins/geopattern-icon/regiondetect.svg)

# Region Detect

 [joebrewer](https://profiles.wordpress.org/joebrewer/)

[Преузимање](https://downloads.wordpress.org/plugin/regiondetect.1.02.05.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/regiondetect/#description)
 * [Прегледи](https://sr.wordpress.org/plugins/regiondetect/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/regiondetect/#installation)
 * [Изградња](https://sr.wordpress.org/plugins/regiondetect/#developers)

 [Подршка](https://wordpress.org/support/plugin/regiondetect/)

## Опис

Region detect is a plugin for WordPress that detects the country that the current
visitor is browsing from.

It can display the country to the user; something like: Hello visitor from Spain!
or display a flag of the country. The plugin also makes the ISO 3166-1 country code
and country name avaliable to other plugins.

## Постављање

 1. Extract the zip file and just drop the contents in the `wp-content/plugins/` directory
    of your WordPress installation.
 2. Activate the plugin through the ‘Plugins’ page.
 3. Copy the MaxMind country database to the plugin folder, or add your MaxMind license
    key to the plugin admin panel.
 4. If you are using the web service enable caching and select the cache length that
    you need.
 5. Use %%COUNTRYCODE%% or %%COUNTRYNAME%% in your posts to display the two character
    country code or country name respectively.

## ЧПП

  Do I have to pay for the MaxMind database?

No, MaxMind offer a free version of the database. However the paid for version is
more accurate.

  I am a wordpress developer and want to access the country code or name in my code.
How do I do that?

Easy 🙂 Just declare the global variables $rdISO3166_1 or $rdCountryName in your
code and away you go.

## Прегледи

Нема рецензија за овај додатак.

## Сарадници и градитељи

„Region Detect“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

 *   [ joebrewer ](https://profiles.wordpress.org/joebrewer/)

[Преведите „Region Detect“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/regiondetect)

### Заинтересовани сте за градњу?

[Прегледајте код](https://plugins.trac.wordpress.org/browser/regiondetect/), проверите
[SVN складиште](https://plugins.svn.wordpress.org/regiondetect/) или се пријавите
на [белешку градње](https://plugins.trac.wordpress.org/log/regiondetect/) преко 
[RSS-а](https://plugins.trac.wordpress.org/log/regiondetect/?limit=100&mode=stop_on_copy&format=rss).

## Белешка о изменама

#### 1.00.00

 * Initial version

#### 1.01.00

 * Added option to set the country from the url

#### 1.02.00

 * Corrected bug with the cache clearing too quickly
 * Added a table that shows countries and number of ip addresses that are cached

#### 1.02.01

 * Corrected spelling mistakes

#### 1.02.02

 * Removed debugging code

#### 1.02.04

 * Fixed installation bug which was causing a crash when installing

#### 1.02.05

 * Made plugin multisite compliant

## Мета

 *  Version **1.02.05**
 *  Last updated **13 година раније**
 *  Active installations **10+**
 *  WordPress version ** 3.1.2 или новије **
 *  Tested up to **3.6.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/regiondetect/)
 * Tags
 * [country detection](https://sr.wordpress.org/plugins/tags/country-detection/)
   [geolocation](https://sr.wordpress.org/plugins/tags/geolocation/)[localisation](https://sr.wordpress.org/plugins/tags/localisation/)
   [localization](https://sr.wordpress.org/plugins/tags/localization/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/regiondetect/advanced/)

## Оцене

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/regiondetect/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/regiondetect/reviews/)

## Сарадници

 *   [ joebrewer ](https://profiles.wordpress.org/joebrewer/)

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/regiondetect/)

## Донирај

Желите ли да подржите напредак овог додатка?

 [ Донирај овом додатку ](http://www.brewsterware.com/region-detect-wordpress-plugin.html)