[wp-hackers] Members Database
Thomas Belknap
dragonfly at dragonflyeye.net
Mon Jun 28 20:45:38 UTC 2010
I'd say that, in a bubble, it's probably less hassle to stick to WP users if
you're going to be using WP users in the end.
On Mon, Jun 28, 2010 at 4:42 PM, Alex Hempton-Smith <hempsworth at gmail.com>wrote:
> They may need to be brought online at some point, but I guess we could
> change the email address at a later date...
>
> -- Alex (Hempsworth)
>
>
> On Mon, Jun 28, 2010 at 9:34 PM, Thomas Belknap
> <dragonfly at dragonflyeye.net>wrote:
>
> > Hmm... I don't think I get why you wouldn't just make them WordPress
> users
> > with random-generated passwords? If they don't have email addresses, you
> > could just create random_characters at yourdomain.com. Since you can create
> > members without having to send them verification emails, there's no need
> > for
> > the email addresses to be legitimate unless you actually do want to bring
> > their memberships online at some point?
> >
> > Either way, there must be some way to use the structure WP already has to
> > make whatever you are trying to do work.
> >
> > On Mon, Jun 28, 2010 at 4:23 PM, Alex Hempton-Smith <
> hempsworth at gmail.com
> > >wrote:
> >
> > > Hi all,
> > >
> > > I'm building a social network with BuddyPress and WordPress, but I have
> a
> > > special use case which I'd like some advice on. This isn't a BP
> specific
> > > question though.
> > >
> > > We need a database of 'members', but some will be offline (no need for
> a
> > > login, possibly won't have an email address) and some will be online
> > > (username/password). I'd like to build this on top of WordPress because
> > all
> > > of the other tools I'm building are WP plugins. There will also be
> > > different
> > > 'types' of members, which I will use custom user roles for.
> > >
> > > I have a two options I think:
> > >
> > > - Custom post type for each 'member', and for online ones create an
> > > actual WP user in wp_users, assign that wp_user ID to a 'member' via
> > post
> > > meta
> > > - Kind of hack wp_users with users who don't have an email address or
> > > password (auto generate a username?) - will WP allow me to do this,
> and
> > > is
> > > it best-practice?
> > >
> > > Does anyone have any better ideas? I'm not totally happy these are the
> > > best.
> > >
> > > Many thanks,
> > >
> > > -- Alex (Hempsworth)
> > > _______________________________________________
> > > wp-hackers mailing list
> > > wp-hackers at lists.automattic.com
> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> > >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> 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