Meu primeiro plugin. Permite que você relacione Níveis de Usuários a Categorias, fazendo com que somente usuários com um nível mínimo possam publicar posts em determinada categoria. É útil para quem quer reservar uma categoria onde somente Editores ou Administradores (ou qualquer um que você escolher) poderem publicar.
My first plugin. Allows you to create a relationship between User Levels and Categories, so only users with a defined level will be able to post on a chosen category. Its useful if you want to reserve a category only for Editors or Administrators (or whoever you choose) to be able to post on.
Download
Level2Categories for wordpress up to 2.2 (before native taxonomy)
Level2Categories 2 for wordpress 2.3 and newer (after native taxonomy)
Instalação / Installing
. Faça o download do arquivo
. Descompacte ó conteúdo do pacote no diretório “plugins” do seu wordpress
. Acesse o Painel de Administração > Plugins e ative o plugin
. (testado em wordpress 2.1, mas deve funcionar em outras versões, por favor me avisem)
. Download the package
. Extract it to the “plugins” folder of your wordpress
. In the Admin Panes go to “Plugins” and activate it
. (tested with wordpress 2.1, but should work with other versions, please let me know)
Modo de usar / Usage
. Go to Manage > Level2Categories
. Select the Category and choose the minimum level a user must have to post on this category
Se você não sabe como usar os Níveis de Usuário (User Levels), dê uma olhada nessas páginas. A partir do wordpress 2.0, você pode usar este plugin para administrar facilmente esses níveis.
. Acesse Manage > Level2Categories
. Selecione a Categoria e o Nível Mínimo que um usuário deve ter para postar naquela categoria
If you dont know how to use User Leves, check these pages out. From wordpress 2.0 on, you can use this plugin to easily manage User Levels.
ScreenShot

For those having trouble getting this to work in WP 2.8, here’s what i did. Change line 170 from:
if ($user_level Edit screen.
I guess I should’ve used the code tags. Let’s try again. Line 170 from:
if ($user_level<$fetch['level']){to:
if (!current_user_can('level_'.$fetch['level'])){Re: Cam (17:11:59) :
I tried this but now I am finding that people can only post if their level matches exactly that given in levels2categories, not if they are above that level? Are you noticing that behaviour by any chance or can anyone understand why this is happening?
Alas it seems like the only simple solution that existed is becoming outdated/incompatible, I’m blown away it is so hard to bind/limit categories and roles in wordpress.