Title: ACF: User Role Selector
Author: danielpataki
Published: <strong>2. Februara 2014.</strong>
Last modified: 27. Aprila 2015.

---

Pretražite dodatke

![](https://ps.w.org/acf-role-selector-field/assets/banner-772x250.png?rev=1140412)

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

![](https://ps.w.org/acf-role-selector-field/assets/icon-256x256.png?rev=1140412)

# ACF: User Role Selector

 Od [danielpataki](https://profiles.wordpress.org/danielpataki/)

[Skini](https://downloads.wordpress.org/plugin/acf-role-selector-field.zip)

 * [Detalji](https://bs.wordpress.org/plugins/acf-role-selector-field/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/acf-role-selector-field/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/acf-role-selector-field/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/acf-role-selector-field/#developers)

 [Podrška](https://wordpress.org/support/plugin/acf-role-selector-field/)

## Opis

This plugin helps you out if you need to have the ability to select one or more 
user roles. Roles can be chosen with a select element (single or multiple choice),
checkboxes or radio buttons. Roles can be returned as a role name or a role object.

You also have the option of specifying allowed roles. This lets you control the 
roles users are allowed to select.

#### ACF Compatibility

This ACF field type is compatible with both _ACF 4_ and _ACF 5_.

#### Thanks

 * [Advanced Custom Fields](http://www.advancedcustomfields.com/) for the awesome
   base plugin.
 * [Umar Irshad](https://www.iconfinder.com/Umar) for the field icon.

## Instalacija

#### Automatic Installation

Installing this plugin automatically is the easiest option. You can install the 
plugin automatically by going to the plugins section in WordPress and clicking Add
New. Type “ACF Role Selector” in the search bar and install the plugin by clicking
the Install Now button.

#### Manual Installation

 1. Copy the `acf-role_selector-field` folder into your `wp-content/plugins` folder
 2. Activate the Role Selector plugin via the plugins admin page
 3. Create a new field via ACF and select the Role Selector type
 4. Please refer to the description for more info regarding the field type settings

## Recenzije

![](https://secure.gravatar.com/avatar/e03f75aa94db1ec2def9174f14e7b2b89f819d867f1f1dc841b4c1fd5799e175?
s=60&d=retro&r=g)

### 󠀁[Reliable.](https://wordpress.org/support/topic/reliable-21/)󠁿

 [SMacEwan](https://profiles.wordpress.org/smacewan/) 3. Septembra 2016.

Works right out of the box. Works with both ACF and ACF Pro. It's a little gem…

![](https://secure.gravatar.com/avatar/71fd8d9ce9b46d7ac64c9cf328cec0be0a7a5de618e275ac752e98ac2e70cb8d?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-2866/)󠁿

 [jonnyvaughan](https://profiles.wordpress.org/jonnyvaughan/) 3. Septembra 2016.

This is great for creating bespoke user login areas that you can restrict by user
role.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/)

## Saradnici i programeri

“ACF: User Role Selector” is open source software. The following people have contributed
to this plugin.

Doprinositelji

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

[Prevedi “ACF: User Role Selector” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/acf-role-selector-field)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/acf-role-selector-field/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/acf-role-selector-field/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/acf-role-selector-field/)
od [RSS](https://plugins.trac.wordpress.org/log/acf-role-selector-field/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

#### 3.0.2 (2015-04-27)

 * Fixed an error displayed in ACF 4 when returning roles as object

#### 3.0.1 (2015-04-21)

 * Fixed a typo which prevented checkbox fields from saving

#### 3.0.0 (2015-04-21)

 * Updated for WordPress 4.2
 * Complete rewrite of code documentation
 * Fixed a bug where an empty checkbox set would not save properly
 * Added hook to manipulate roles shown
 * Added Hungarian translation

#### 2.0.1

 * Updated for WordPress 4.1

#### 2.0

 * Added ACF 5 Support
 * Removed ACF 3 Support
 * Fixed an undefined variable error

#### 1.0

 * Initial Release.

## Meta

 *  Version **3.0.2**
 *  Last updated **prije 11 godina**
 *  Active installations **700+**
 *  WordPress version ** 3.4 ili viša **
 *  Tested up to **4.2.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/acf-role-selector-field/)
 * Tags
 * [acf](https://bs.wordpress.org/plugins/tags/acf/)[custom fields](https://bs.wordpress.org/plugins/tags/custom-fields/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/acf-role-selector-field/advanced/)

## Ocjene

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/acf-role-selector-field/reviews/)

## Doprinositelji

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

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/acf-role-selector-field/)