Usernames as Vocabularies
Posted by As If on January 5, 2008 at 7:58pm
One possible approach to taxonomy on a social networking/community site is to give each user their own Vocabulary. The following snippet does just that. It is a basic no-frills hack for creating a Vocabulary with the name of the current User (first it checks to make sure such a Vocab doesn't already exist). I left the "echo" lines in it so you can see what it's doing. Feel free to bang on it, bag on it, chop it up, use it in your modules, whatever.
Read more