• Resolved aliixer

    (@aliixer)


    Hello,

    I’m new to WordPress and have decided to build it into a WWW search engine I’ve built mainly for college students and professors. I’m almost already in love with WP after 2 days. ??

    On to the question . .

    First let me state that I’m using WPMU. I have a login system already on my website and I want the users to have the ability to utilize their same login, I’ve successfully accomplished this part by adding them to the “wp_users” table when they create an account.

    Now . .

    I would like to automatically create a blog for the user as well when I add them to the “wp_users” table. As I understand it the blogs are stored in the “wp_blogs” table . . . my question is: how do I link a blog in the “wp_blogs” table to a user in the “wp_user” table so the user can manage this blog upon login?

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Actually, in WPMU, you connect the user with the sub-blog (in subdomain or subdirectory structure) by going to your site’s Site Admin > Blogs > the name of blog created then to sublog’s Admin > Users. Then you add the user you already created and set his/her as Admin or Editor etc.
    Note: Create users and/or sub-blogs in Site Admin mode

    This forum is for single WP, For further assistance in WPMU,
    WPMU forum – https://mu.www.ads-software.com/forums/
    WPMU forum search – https://mu.www.ads-software.com/forums/search.php

    Thread Starter aliixer

    (@aliixer)

    Thanks mercime, I actually already saw that feature your referring to in “dmin > Blogs > the name of blog created then to sublog’s Admin > Users” but I don’t want to have to do this manually, I want to link the user to the blog via my pre-existing PHP script, the same one that ads them to the “wp_user” database, any ideas?

    PS: I’ve posted this in the MU forum as well, didn’t realize it was seperate, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WPMU–How Blogs & Users are linked in MySQL Question’ is closed to new replies.