Viewing 15 replies - 31 through 45 (of 63 total)
  • @john,

    I got is working but doe to the inner workings of WordPress user registration in multisite mode it’s not straightforward.

    Okay, so a new user can register in multisite (if configure that way at Network Settings to allow “Both sites and user accounts can be registered”) can register as a user for for a new site.

    If you sign up only as a user you don’t get assigned to any blog so you have no permissions to view admin pages crete by plugins like Subscribe2 (yet). Next I installed Join my Multisite and enable it ‘manually’ using a shortcode on a page but all I got was a message saying “You are logged in already. No need to register again!” but I wanted to join that site as a user.

    So, I tried placing the widget. That gave me a button in the sidebar saying “Join this Site”. Clicking that button added my new account as a user of that blog, created all the usermeta keys I would expect for Subscribe2 and granted me access to the Subscribe2->Your Subscriptions page.

    So, it seems that it can be made to work with the right configuration. Does my config description above mean anything to you? can you replicate and test it and see if it works as you expect.

    Thread Starter John

    (@dsl225)

    Hi, thanks for the good news!

    Yes, Multisites are not a piece of cake… I’m also spending a lot of time trying to get the right config and it’s not straightforward. I have to say that “Join My Multisite” was a great finding and the dev helped me a lot doing the right design for my network.

    What you describe as the settings you have done with “Join My Multisite” are exactly those I have for my own network. That’s correct.

    But I didn’t try to join a given site with an existing user. I always made my tests with new users. The idea with “joining” is that all users are already registered at network level and this plugin simply adds them to a given network site. The main one or a sub-domain.

    You may want to check out this discussion I started in the beginning and that helped a lot going forward. Mika, the dev of “Join My Multisite” also brought some useful insight:
    http://ww.wp.xz.cn/support/topic/user-registrations-for-network-sites?replies=17

    The only difference, in my own network config, with what you describe here, is the network settings. I don’t use the setting you used (Both sites and user accounts can be registered) but rather the second one (User accounts may be registered) because I don’t want to let my users create their site by themselves. They have to register first and then the super-admin creates their initial site.

    I don’t know whether this makes a difference here, but I don’t think so as we are working on EXISTING sites and not the ones to be created.

    In any case, if you want to replicate the issues, just do this:
    1 – register a new user at the MAIN site: he will not be able to access you Subscribe2 menu AT ALL and you’ll get a WP error that states you don’t have the access rights to this page.
    2 – register a new user at any NETWORK site: you may access the Subscribe2 menu without problem but at User Profile, the related check-box is not checked and this is because the default settings of Subscribe2 have NOT been saved for that new user.

    Let me know if you want me to test something else. Thanks.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Ah, now I understand. The widgets and shortcodes for the join this site only options probably won’t show any check boxes since they’re simplified forms. The ones for the full form will, and that’s kinda the design. The shortcode and widget would redirect a new user to register via the normal (or even the abnormal per-site) registration page.

    Next I installed Join my Multisite and enable it ‘manually’ using a shortcode on a page but all I got was a message saying “You are logged in already. No need to register again!” but I wanted to join that site as a user.

    I should make that more clear, eh? Registration is for non-registered users. Joining is for registered users who just aren’t site members. I’ll work on it this week πŸ™‚

    Thread Starter John

    (@dsl225)

    Lots of thanks to both of you!

    @john,

    Okay, I change my multisite configuration to match your with the “User accounts may be registered” setting, and it made no difference.

    1 – register a new user at the MAIN site: he will not be able to access you Subscribe2 menu AT ALL and you’ll get a WP error that states you don’t have the access rights to this page.
    2 – register a new user at any NETWORK site: you may access the Subscribe2 menu without problem but at User Profile, the related check-box is not checked and this is because the default settings of Subscribe2 have NOT been saved for that new user.

    1/ Agree here completely, registering centrally creates the account only but assigns it to no blog. Only when you click “Join this Site” in Mika’s plugin is the user account assigned to a blog and the Subscribe2 settings created.

    2/ I don’t think I understand this. It doesn’t matter which site I’m on, if I click register I’m taken to the root blog to create a user account at root/wp-signup.php so my Multisite does seem configure to register a new user on a network site. What do I need to change to get that?

    Thread Starter John

    (@dsl225)

    Hello,

    I don’t think it works exactly that way.

    1/ With Mika’s plugin enabled in Manual mode, a new user (Not registered on the network) that joins AT MAIN SITE (root) gets this message at the Widget: Register for an account. From there he is either directed to the network’s registration page either the login is activated in the widget and he may process his registration right in the widget.
    The text then changes to “Hi, new member.”

    When this is done, he is member of the network AND of the main site! Problem here is, as previously stated, that he cannot access the Subscriber2 menu at all and he gets the message “You do not have sufficient permissions to access this section.”. This also happens WITHOUT Mika’s plugin activated.

    2/ When you repeat exactly the same process as above, with Mika’s plugin activated, at a NETWORK SITE, the process goes through and the member is then registered at the Network level PLUS at the sub-domain he made his registration at.

    In that case, everything goes well, your own menu My Subscriptions is accessible but you will notice that the Subscribe2 settings are not enabled and you have to save them manually in order for them to be active. That’s the reason why, in this new user’s Profile you’ll find this check-box related to your plugin NOT checked (Email Subscription – Subscribe / Unsubscribe)!

    @john,

    I have been using the core Registration form. I also think I’ve found some glitches in Join My Multisite.

    If you have never checked the Registration Per-Site box the plugin uses the wp-signup.php page but if you have ever checked that setting and created a page then it will use that even if if subsequently uncheck the setting or delete the page. If the core signup form is used this works fine.

    Also, if your multisite is in a subdomain (mine is as it’s for testing) the link to the wp-signup.php page uses the root and not the root subdomain. That’s because the link to the form is relative (‘/wp-signup.php’) rather than a full url using get_option(‘siteurl’) ro get_option(‘home’). That may be a fringe issue though.

    Thread Starter John

    (@dsl225)

    I’m not sure I well understand what you say.

    Remember, the first issue – not able to access Subscribe2 menu at all – also happens when Join My Multisite is not active!

    In my case, the main site is at root (www.domain.com) while my network sites are at sub-domains (www.domain.com/sites).

    For the remaining, I really don’t know more than what I exposed in my previous message.

    Maybe Mika will have a feedback for you?

    @john,

    My sites for testing are arranged as http://www.domain.com/subdomain/sites but that something I just have to work with.

    Coming back to the first issue though, when you say the menu is not accessible, are you clicking on a link to it? From the front end of the website or admin? Or are you typing it in?

    Thread Starter John

    (@dsl225)

    OK, I understand. Maybe you should try to test on a root domain, because MU creates also sub-domains and it’ll be difficult to find out what’s happening with all of them!

    Regarding this issue at MAIN site, at root level, your menu is visible like normal at the registered user’s Dasnboard (registered as Subscriber) right after he validates his subscription.

    But when I click on it I get this WP error message:

    You do not have sufficient permissions to access this section.

    @john,

    Maybe you should try to test on a root domain

    I’d love to but I don’t have access to a domain where I could do that.

    I’ll see if I can recheck the main site access later with a basic level user.

    Thread Starter John

    (@dsl225)

    Where can I send you a private email?
    Will explain to you how to do this.

    @john,

    Explain how to do what? Register a user on the core site?

    Thread Starter John

    (@dsl225)

    I was replying to that:

    I’d love to but I don’t have access to a domain where I could do that.

    If you want I’ll send you access to root domain of multisite.

    @john,

    I see what you mean now, the top level menu is present in the sidebar but submenus are not. Clicking on the top level menu takes me to the Your Subscriptions page but no settings have been created. I need to find the right Multisite hook to tie my singup process to.

Viewing 15 replies - 31 through 45 (of 63 total)

The topic ‘Multisites?’ is closed to new replies.