• Resolved roxor

    (@roxor)


    Hello all the good people,
    I have a main domain and have several other domains mapped to it such that people can create their own blogs on mapped domains. (using multisite and domain mapping)
    Say-
    Pets.com -main domain
    cats.com -mapped domain 1
    dogs.com -mapped domain 2
    The problem is I can’t have same name sub-domains or sub-directory blogs on all three domains
    blog1.cats.com OR cats.com/blog1 -is fine.
    blog1.dogs.com OR dogs.com/blog1 -says this site is already reserved.
    blog1.pets.com OR pets.com/blog1 -says this site is already reserved.
    seems like WP is ignoring the domain name part
    Finally I came across this plugin *Networks for WordPress*, I am excited to know Will creating a network with this plugin solve the issue or is there other way around?
    I also want a single buddypress install on main network domain, so that people of one sub-network can also interact and be friends with people on other sub-network. Do you think “BP Multi Network plugin” will be helpful in this case ??
    I will be very-very thankful for any kind of support ??
    roxor

    https://www.ads-software.com/extend/plugins/networks-for-wordpress/

Viewing 15 replies - 16 through 30 (of 45 total)
  • Thread Starter roxor

    (@roxor)

    ok thanks, no problem Ipstenu ??
    I am also waiting for David’s reply.

    Hey, all.

    Roxor, the usernames issue has added WAY too much to this. You should just create your new networks and get things working before dealing with users. Also, Andrea is right that you can’t re-use usernames; if that’s a core requirement for this project, you’ll have to find some other solution.

    To be blunt, things are way too muddled by usernames and the specter of domain mapping. Here’s what you should do:

    1. Clean install of WP, clean DB. Set up multisite.
    2. Install Networks plugin of your choice (they are all the same) – DO NOT add domain mapping yet.
    3. Create a sub-site with the blog “name” you want.
    4. Create another network.
    5. Now GO TO that network’s admin screen. You cannot do this from your first network’s admin screen.
    6. Create another site with the blog “name” you want.
    7. Let us know how this goes for you!
    8. Now start creating users.

    Ipstenu – Give re-using blog names a try if you are unconvinced! ?? I was not at all sure, so I actually tried it out before posting that, even though it’s pretty clear from the code.
    https://core.trac.www.ads-software.com/browser/tags/3.3.1/wp-includes/ms-functions.php#L1073

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    My one site with mutliple networks is using a different plugin, and I’ve never actually thought about using a site name more than once. When I get the chance, though, I will.

    Thread Starter roxor

    (@roxor)

    Thank you David, I got it almost working now, the little issue is..
    An ADMIN
    Can create different blogs of same names under different networks.
    For example as an Admin I created –
    name1.pidia.org
    name1.pidia.net
    name1.pidia.co
    name1.pidia.us
    name1.pidia.eu
    name1.pidia.in
    So all these sites belong to one user (admin)

    A normal USER
    Creates a blog say name2.pidia.org
    Then from inside his dashboard he can-
    >>> book blogs of different names under same network (pidia.org)
    Ex- name3.pidia.org, name4.pidia.org …etc
    >>> But he CAN-NOT book blogs of same names on different networks.
    Ex- name2.pidia.us, name2.pidia.eu …etc
    But hey not problems there, I don’t want it that happen So its fine for me ??

    Now for a GUEST
    If someone else has already registered a blog name2.pidia.org
    When guest tries to register a blog of same name on different networks
    Then even after using different usernames they are not allowed to register blogs like
    name2.pidia.net
    name2.pidia.co
    name2.pidia.us
    name2.pidia.eu
    name2.pidia.in
    That is what I am looking for, If particular blog already exists on one network, then new guests could create blogs(of same name) by themselves on other networks.
    Has this something to do with advanced settings?? I tried few combinations but it didn’t help.
    & sorry for the very long text, I thought it would be easier to understand this way.

    Great! That it worked for the admin account lets us narrow it down to what looks like a permission problem.

    Can a “USER” or “GUEST” create a blog with a different name on one of the other networks? You’ll have to set each network’s “Network Settings” to allow users to create blogs, if you haven’t already done so.

    Thread Starter roxor

    (@roxor)

    Hi David,
    A user once registered on a network does not have access to other networks. So he CAN-NOT create blogs on other networks.
    A guest CAN create blogs with different names on any network. However there is no centralized list/dropdown to choose from. So he has to switch between different networks to do so.
    Here are few observations that I made, this might help, please find the linked image first here
    1- The registration settings under each Network allow blogs to be created by anyone.
    2- Since admin has created all the blogs (name1) till now, So all these blogs also appear in the dropdown menu.
    3- There was an update network alert on top of other networks. After I updated the network it didn’t bring any change.
    4- The networks menu tab under sites which is generated by plugin is only present on first network because I didn’t activate the plugin on all other networks. Should I do that?
    There are individual settings which control role of 1 network, there doesn’t seem to be any network wide settings which could control roles of all networks.

    There will never be a dropdown list unless you make one. Your WP networks don’t know about each other, so there’s no cross-network aggregation or anything. Your point (2) is the only real exception to that, but that’s for admins.

    (3) You will have to run the update on each network. Your networks are all separate.

    (4) This plugin just creates the dashboard page for managing networks, so you don’t need it on your other networks.

    There aren’t any “install”-wide settings, although the issue has caught the attention of WP: https://wpdevel.wordpress.com/2011/12/23/core-team-meetup-recap-multisite/

    Thread Starter roxor

    (@roxor)

    Hi David, the main issue for me is

    If particular blog already exists on one network, then how can guests create blogs(of same name) by themselves on other networks.

    By specifying the same name for the blog at signup?

    I actually just tried this scenario out on my test setup, and it works fine. The big thing to remember is that users cannot have the same username. So the 2nd “guest” who wanted to use that blog name would have to use a different username, then change the suggested blog name on the next page.

    roxor, can you confirm whether guests on different networks who register different usernames can create blogs with the same name?

    If it works, you might want to look into an email-as-username or Facebook connect registration process to eliminate the confusion.

    Thread Starter roxor

    (@roxor)

    Hi David, good news, yes guests can register blogs of same name with different usernames on other networks.
    Here is the album of screenshots.
    https://www.flickr.com/photos/76068561@N08/sets/72157629560189993/detail/
    There is also not so good news-
    Sometimes everything works fine while testing and other times with exact same installations and settings it shows errors “this site is already reserved.”
    This is driving me crazy. Now have a look at these images.
    https://www.flickr.com/photos/76068561@N08/sets/72157629671558961/detail/
    I tried –
    1- Commenting & uncommenting the line define( ‘DOMAIN_CURRENT_SITE’, ‘pidia.org’ ); didn’t really made any difference.
    2- Skipping registration on .ORG(main network)
    3- Registering according to network ID order, in opposite order and also random, but all these didn’t really made any difference.
    4- I also tried clearing up all cache and cookies and even registering from a different computer.
    Try it yourself
    1- Go to any of the site pidia.org, pidia.net, pidia.co, pidia.eu, pidia.us, pidia.in
    2- Make your account with details you want.
    Username, E-mail, Site name
    3- Confirm your account and get your blog.
    4- Now, switch to other Network and try making account with same blog name.
    5- Give username same as first one, after it gives error correct the username (just being superstitious here)
    6- When you reach the second page of registration you might get an error “This site is already reserved.”
    Did you notice anything like that ?

    Thread Starter roxor

    (@roxor)

    Hi David, in case you haven’t read the comment above, I tried the whole process again. Made screenshots, you should have a look at this one.
    These seven images gives more clear picture of Database, Network panel and Registration process altogether.
    1

    Thread Starter roxor

    (@roxor)

    hi david,
    I have found the exact-exact problem with the registration process.
    So if you haven’t read my previous comments then you should ignore those.
    Its because of the usernames, Try it yourself
    1- This registration should be successful-
    username- David1
    email- any you like
    URL- David.pidia.us
    Site title- any you like
    and then getting same name on other network
    username- David2
    email- any you like
    URL- David.pidia.eu
    Site title- any you like

    2- This registration should be UNsuccessful-
    username- Dean
    email- any you like
    URL- Dean.pidia.us
    Site title- any you like
    and then getting same name on other network
    username- Dean1
    email- any you like
    URL- Dean.pidia.eu
    Site title- any you like

    did you notice the difference
    this issue was because of the numbering of the usernames
    so when I add numbers 1 & 2 in the end of usernames (david1) & (david2) in first category. -it does work.
    and when I add number only in second username (dean1) in second category. – it doesn’t work.
    the problem remains no matter what plugin I use.
    Can you confirm this. Say something about it.

    Hi roxor,

    That’s an interesting observation! I’m actually out of my depth here talking about the registration process, and was hoping someone with more insight would weigh in.

    I’ve looked over the code in wp-signup.php and ms-functions.php, and nothing has popped out that looks like it is checking usernames the way you’ve described.

    Thread Starter roxor

    (@roxor)

    HI david, thank you
    I think this is the only problem, because I have tried every other possible combinations and all of them have worked. except for this one.
    and sorry for the long trouble, your plugin was always good.
    b.t.w. you did notice the difference yourself right ?

Viewing 15 replies - 16 through 30 (of 45 total)
  • The topic ‘Networks for WordPress, having multisites and multidomains -HELP’ is closed to new replies.