Vocabulary per User

in

I've been working for a few days on a module to allow for per-user vocabularies. Needs testing. Here is the README, and the archive is attached below.

The primary goal of the vocabulary per user (VPU) module is to provide a vocabulary for users with correct permissions that only they can edit and use.

A secondary goal is to make the vocabulary/term interface easier to use, since this permission can be given to non-admins.

REQUIREMENTS

VPU requires Taxonomy.

It supports Token.

PERMISSIONS

VPU has two permissions:

* 'maintain personal vocabulary' - grants users of this role a personal vocabulary.

* 'access full term form' - without this permission, users with 'maintain personal vocabulary' will see only a simplified version of the term form: title, description, and weight.

TEMPLATE

VPU requires a sacrificial vocabulary to be used as a template for the personal vocabularies it will create. Whatever settings this template has will be applied to all new personal vocabularies.

VPU supports user tokens in the title, so if you have the token module installed you can name your template such as "[user]'s vocab ([uid])".

CONFIGURE

After setting permissions, visit /admin/content/taxonomy/vocabulary_per_user

Pick whether personal vocabs for other users should be disabled or hidden.

Choose the template vocab.

There is a batch option at the top to create all the new vocabs.

BEHAVIOR

Users with the 'maintain personal vocabulary' permission will now have a "My Vocabulary" tab on /user. Under this they can manage add, edit, and delete terms within that vocab.

They cannot change the vocab name.

When editing/creating a node, users with 'maintain personal vocabulary' will see their personal vocab. Depending on the module settings, they might see other users' vocabs, but they will be disabled. The template vocab will not show up. Non-personal, non-template vocabs will work as always.

Users with 'administer taxonomy' rights can also manage personal vocabs from /user

THANKS & NOTES

The base for this module was http://drupal.org/project/taxonomy_user

In contrast with http://drupal.org/project/community_tags, these vocabularies are essentially private.

VPU was needed to allow non-profits to define their own distinct set of terms for an agency catalog.

QUESTIONS & TODO

Not yet sure of the best reaction to user deletion and/or uninstall

Views integration is hawt

AttachmentSize
vocabulary_per_user.zip7.13 KB

The only thing that makes me

The only thing that makes me leery of a module like this is that it's not on drupal.org's infrastructure. It would be great if you could make it official by taking over the Taxonomy user module and replacing it with this code.

I understand if you don't have time, or can't be arsed to deal with the support requests and other things that come with maintaining a drupal.org module, but it might just attract more people to your site and get you more kudos. ;)

Do you have any intention of maintaining this code or is it just upload and forget?

This one really saved my life

Allows each seller to edit the sections of their little shop based on a simple template vocabular "[uid] shop sections", really cool!!!

Thanks a million!

Victor Kane
http://awebfactory.com.ar
http://projectflowandtracker.com

vocbulary per user

Good day, any issues on this great module in D6? thanks :)

nevermind

the archive is corrupt. going to have to fix this.

fun

Okay, should be good now. It got overwritten with an old copy, always a good time.