WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Understanding logins (6 posts)

  1. shastaw
    Member
    Posted 3 years ago #

    I have an MU site. Currently clicking on the "sign up" link at the top of the page on a subdomain (jaxworx.litsam.com) causes it to redirect to the main site's registration page (litsam.com/register)

    At that point filling in and submitting the information redirects back to the same sign-up page and no account is created for either the subdomain or the main domain. This happens if you access the registration page from the main domain too.

    Ideally I'd like a user to sign up for a general Litsam account from any subdomain and get a permanent permission to that particular subdomain blog. Once signed up I'd like a user to be able to add subdomain blogs to their permissions. (i.e. they could be registered for jaxworx.litsam.com and also foo.litsam.com but not bar.litsam.com, but they'd only need to create an account once. After that they'd just add to their permissions.)

    I understand I probably need to create a new table to store this information, but think I need to understand how log-ins are supposed to work much better first.

    Thank you for any light you can shed.

  2. No, you don;t need to create anything - your site is jacked up.

    This part:

    At that point filling in and submitting the information redirects back to the same sign-up page and no account is created for either the subdomain or the main domain.

    tell me semthing is wrong on your end. DIsable plugin, revert to the default theme.

    The logins for multisite (it's not MU anymore) work exaclty the same way your logins at wordpress.COM work.

    You sign up at the MAIN site.
    You are logged in to leave comments across ALL sites in the network.
    Blogs are not added to users - users are added to blogs. They only have one account.

  3. shastaw
    Member
    Posted 3 years ago #

    Well, I figured the registration was jacked. ;-) Any tips more specific than "disable plug-ins and revert to default theme"? That leaves a lot of ground to cover to get back to here...I'd like to be more targeted and understanding the functions/files/etc. involved in logging in (or maybe in redirecting?) might help.

    Re. the "adding blogs to users" I know this isn't standard, but it's what I'll need so I was asking for tips on getting started. I'm thinking I need a new table where each user has a list of sites they have enhanced access to, and then obviously I'll need to add functionality to each subdomain blog for someone to register for that (likely with a password provided by the author.)

  4. I'm thinking I need a new table where each user has a list of sites they have enhanced access to, and then obviously I'll need to add functionality to each subdomain blog for someone to register for that (likely with a password provided by the author.)

    No, you don't. Avoid making new tables. There's plugins to handle this for you already.

    the users already get a list of sites they've been added to in the dashboard under "my sites".

    and look at
    http://wordpress.org/extend/plugins/more-privacy-options/

    I'd like to be more targeted and understanding the functions/files/etc. involved in logging in (or maybe in redirecting?) might help.

    same as in single wp. EXCEPT they are logged in to the network with pseudo-subscriber access, meaning just because they have a username does not give them access to the admin areas of blogs they haven't been added to .

    Any tips more specific than "disable plug-ins and revert to default theme"?

    look at error/acess logs? otherwise it's a stab in the ark for us. It;s not the redirection that is borked - it's supposed to do that.

    just go to the page and try and sign up. what happens? (make sure you;re logged out first)

    Can you add a user from the backend? what happens?

    other than the not being able to sign up issue, i think you're trying to make the rest of it overly complicated when, from what I get from your posts, most of what you want is built in and the rest is handled via plugins.

    once a user ha a login to the entire network, they cannot re-register on a sub blog. they can only be added to that blog.

    (and yes there's already plugins for that)

  5. shastaw
    Member
    Posted 3 years ago #

    Ok, after poking around the various suggestions I figured out it was a cookie issue. Dumped cookies and now it works fine.

    One reason it took so long for me to realize that is that I'd had a user report the problem to me -- someone who (probably) hadn't been to my site before and had certainly never logged in. He does use WordPress in other contexts though -- just not my site previously.

    I've read in a few places that there may be an issue with cookie handling in WordPress (3.+?) Can anyone point me towards more information? Since it's not just me I still need a solution better than "dump cookies".

    It sounds like what I thought I was doing (visit author.domain.com and register + get added to that blog) isn't how it works. I need to manually add users on the backend? Is there a recommended plug-in or technique for reducing the overhead for that? Ideally one that allows the user to choose between making a small payment or entering a code to be automatically added.

    Thanks for the boost in the right direction! I'm starting to build a picture of how WP3+ and login/registration works. It would probably have been smart not to add buddypress at the start...I'm still figuring out which parts are buddypress and which are multiuser.

  6. Yes, it woudl be easier to understadn without buddypress. Also, to *really* understand how it works from a user perspective... go get a blog at wordpress.com.

    that's exactly how your users sign up and go around the network.

Topic Closed

This topic has been closed to new replies.

About this Topic