[wp-hackers] alternative taxonomy to relate users to pages
Aram
aram.bv at gmail.com
Wed Feb 10 11:58:42 UTC 2010
isn't it possible to do by custom fields?
On Wed, Feb 10, 2010 at 3:48 PM, <anybody at nobodyhere.com> wrote:
> I'd like to relate users to pages and post, which isn't supported by
> taxonomies.
>
> Eventually I'd like to relate anything (user, post, page etc) to anything.
>
> I couldn't find an existing plugin, so I decided to write my own.
>
> But before I start coding, I'd appreciate some feedback.
>
> After reading Murray Woodman
> (http://murraywoodman.com/355/wordpress-taxonomies) I'm considering the
> following mysql table structure:
>
> RELATIONS
> - id
> - subject_id
> - subject_type (user/page/post/comment)
> - predicate_id
> - object_id
> - object_type
>
> PREDICATES
> - id
> - title (e.g. "is part of", "likes")
> - slug (e.g. "part_of", "likes")
>
> Any suggestions?
>
> Marcel van der Drift
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list