[wp-hackers] Shared Users Table

kingler kingler at 72pines.com
Sat Mar 1 21:58:35 GMT 2008


Try doing something like this in a plugin enabled on all blogs:

if(is_user_logged_in())
if(!current_user_can('read'))
    $user->set_role('subscriber');

Only need to hook this to admin_menu, so that it only runs in the backend.

-Liang

kingler from 72pines

On Sat, Mar 1, 2008 at 1:48 PM, Eric Marden <wp at xentek.net> wrote:
> I'll take a look at this a little bit more and see if its useful for
>  my situation.
>
>  Thanks!
>
>  -e
>
>
>
>  On Mar 1, 2008, at 11:55 AM, Stephen Rider wrote:
>
>  > Two things that might help you out:
>  >
>  > Run any number of individual WP blogs off a single install
>  > (individual admin sections for each):
>  > <http://striderweb.com/nerdaphernalia/features/virtual-multiblog/>
>  >
>  > This plugin (_very_ beta) might get you started with getting shared
>  > user tables working:
>  > <http://www.lyonesse.info/WPP/>
>  >
>  > (And if you _do_ get shared user tables working, I would love to
>  > see what you come up with!)
>  >
>  > Good luck,
>  > Stephen
>  >
>  > --
>  > Stephen Rider
>  > <http://striderweb.com/>
>  >
>  > On Mar 1, 2008, at 9:21 AM, Charles E. Frees-Melvin wrote:
>  >
>  >> For this to work all the blogs need to be wp 2.3.2 or earlier. for
>  >> 2.5 you
>  >> will need the secret key the same on all of them and all blogs
>  >> would need to
>  >> be update simultaniusly or passwords will be messed up after the
>  >> first user
>  >> uses a 2.5 site, then tries to enter a 2.3 site.
>  >>
>  >> On Sat, Mar 1, 2008 at 1:59 AM, Aaron Brazell
>  >> <emmensetech at gmail.com> wrote:
>  >>
>  >>> We have a
>  >>> different approach than you, as well as WordPRess.com. WP.com
>  >>> takes the MU
>  >>> approach. You take the CUSTOM_USER_TABLE approach where we have
>  >>> hundreds
>  >>> of
>  >>> single WP installs - actually I see this being a problem at some
>  >>> point but
>  >>> it is what it is.
>  > _______________________________________________
>  > 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