The MU forums have moved to WordPress.org

Define user table before install? (6 posts)

  1. glamrock
    Member
    Posted 17 years ago #

    Hi! I'm wanting to integrate a WPMU setup out-of-the-box with my current membership site (joomla-based). I'm fairly proficient with PHP, so I'd like to modify the files so that they call a specific table for user information instead of the usual WP table.

    My questions are:

    Is it possible to define which table holds user data?
    If so, does anyone know which file(s) would be involved?

    I've considered copying the users over to the WP table, but I would have to do it all the time to make sure that new users were accounted for and expired users deleted quickly. Plus with that sort of setup new users wouldn't automatically be given a blog, which could result in a lot of support requests.

  2. glamrock
    Member
    Posted 17 years ago #

    PS: Thanks in advance! I really do appreciate the help that the WP and WPMU forums has given me in the past. :)

  3. andrewbillits
    Member
    Posted 17 years ago #

    Do a search for Joomla. Joomla has been discussed here several times and I don't believe anyone has found a solution.

    Thanks,
    Andrew

  4. glamrock
    Member
    Posted 17 years ago #

    People have found a solution in the past, but are hoarding their code. I've already searched far and wide looking for code examples, and have searched every php file in the MU installation package for something that defines the user table as wp_users, but so far I've found nothing.

    I've been *VERY* surprised by people today. Everyone seems to be saying "Well, it's never been done before, so why bother trying?" When it Has been done in the past, quite successfully -- just not in an open-source fashion.

    Come one everybody, this is Wordpress! It wasn't built with a "why bother" attitude!

  5. lunabyte
    Member
    Posted 17 years ago #

    So just because it's WordPress, and "I" write something really nice for myself, I have to give it to anyone that wants it, just because they want it?

    Heh, whatever.

    If someone does something nice, and wants to keep it to themselves to make their site a little more special, that's their right.

    So it isn't "Why Bother", it's... "I did it, and if you put some effort into it, you can do it too."

    Or hey, we can call up a Nanny, buy a bunch of gerber, and spoons too.

  6. mysorehead
    Member
    Posted 17 years ago #

    Not really sure what you want to do but I'd start by looking at the pluggable functions -- pluggable.php in the mu-plugins folder.

    Hope this helps,
    Richard

About this Topic

  • Started 17 years ago by glamrock
  • Latest reply from mysorehead