Problem with members as admins of their own sites
March 20, 2013 at 4:41 pm #2296
I’ve set up my own copy of Commons in a Box on WP Engine and am learning my way around, having invited a bunch of people to join: http://www.thedigitalcommons.org (If you’d like an account, email me at email@example.com)
I’m having trouble with getting the network settings right to allow a member who has created their own site to be an admin of that site. What follows are the details of the situation I’ve encountered:
Step 1: As the super admin, from within the Dashboard, I’ve gone to “My Sites > Network Admin > Settings > Registration Settings” and make sure that “Both sites and user accounts can be registered” is selected.
[See screenshot 1 here: https://www.googledrive.com/host/0BziwFClCcZeJeVYtNXlYekZxWDg ]
Step 2: I log out as the super admin and log back in as an individual member. With that account, I’ve gone to “Blogs > Create Site” and submitted info for “Site Domain” and “Site Title”
[See screenshot 2 here: https://www.googledrive.com/host/0BziwFClCcZeJMU0wVnNjZlBuX2M ]
After the site is created, I am presented with a page that reads “Congratulations! You have successfully registered a new site. http://workbook.thedigitalcommons.org/ is your new site. Login as ‘georgehwilliams’ using your existing password.”
Step 3 (The problem): The word “Login” appears as a link, but when I click on it and try to access the dashboard for my new site, I get an error message.
[See Screenshot 3: https://www.googledrive.com/host/0BziwFClCcZeJcktVTTcwckNwN2c ]
How do I adjust the settings on the network so that after a user creates their own blog, they are an Admin on that blog? Any help would be much appreciated. Thanks!
March 21, 2013 at 10:38 am #2308
- This topic was modified 8 years, 1 month ago by George H. Williams.
> The word “Login” appears as a link, but when I click on it and try to access the dashboard for my new site
Are you sure that the Login link is leading to the correct place? It should be something like: http://thedigitalcommons.org/wp-login.php?redirect_to=http://workbook.thedigitalcommons.org/wp-admin/ Related: What’s the URL in your browser’s location bar when you see the error message described in step 3?
Another thing to check: As a super admin, go to Dashboard > Network Admin > Sites. Find the site in question, then click through to the Users tab. Are any users listed there? How about the blog creator? If so, what’s that user’s Role? (It should be Administrator.)
I have a sneaking suspicion that this is a bbPress problem. You might consider temporarily disabling bbPress (through the Commons In A Box admin screen) and then attempt to create another site. Does the problem recur?March 21, 2013 at 1:53 pm #2309
Your first paragraph: You ask 1) is the “Login” link is leading to the correct place, and 2) for the URL when I see the error message.
I think so. It leads to http://workbook.thedigitalcommons.org/wp-login.php
The URL is http://workbook.thedigitalcommons.org/wp-admin/
I’ve created a screenshot-rich page demonstrating the process here: https://www.googledrive.com/host/0BziwFClCcZeJSTJoeV9tNUMwOTQ/
Your second paragraph: When, as a super admin, I go to Dashboard > Network Admin > Sites, I see my regular user account listed as “Participant,” not “Administrator.” As the super admin, I can change that to “Administrator,” of course. But I would like this to be the default when a user creates a new site.
Your third paragraph: “You might consider temporarily disabling bbPress (through the Commons In A Box admin screen) and then attempt to create another site.”
Yep, if I deactivate bbPress, then the problem goes away. When I re-activate it, the problem comes back. Hmm.
Now what?March 21, 2013 at 9:19 pm #2310Matthew K GoldModerator
If possible, please share screenshots that include URLs so that we can see what pages you are on when you receive the error messages you are describing.
Can you please a look at this ticket and see if it sounds like it is address the issue you’re describing? https://github.com/cuny-academic-commons/commons-in-a-box/issues/61March 22, 2013 at 9:37 am #2311
Hi George. I’ve had a chance to look this over more thoroughly, and it is indeed a bbPress problem. It’s related to the issue described here: https://bbpress.trac.wordpress.org/ticket/2103.
bbPress 2.3 will fix the problem. But I don’t know when it will be released, and I don’t know when it’ll be integrated into Commons In A Box.
In the meantime, for your site, here’s a quick and dirty fix. I’ve attached a file to this post called
bbpress-multisite-fix.php. Put it into your
mu-pluginsif it doesn’t exist yet.) After Commons In A Box has upgraded to bbPress 2.3, you’ll no longer need this mu-plugin, but leaving it there will be harmless. For already-created sites, you’ll have to restore the admin users manually – sorry about that.
I’m going to add some information to https://github.com/cuny-academic-commons/commons-in-a-box/issues/61 and perhaps implement a similar stopgap in Commons In A Box. Thanks for your patience debugging the issue, and please let me know whether the attached mu-plugin resolves it.March 22, 2013 at 9:38 am #2312
My previous upload got blocked because of the filetype. I’ve readded it as a .txt file. Please remove the .txt extension before uploading to your site.
Attachments:You must be logged in to view attached files.March 22, 2013 at 3:24 pm #2316
Thanks, Boone! I’ll give this a try.March 22, 2013 at 3:52 pm #2317
Seems to fix the problem! Thanks, again. \o/
- You must be logged in to reply to this topic.