Hey folks, there are several different threads trying to solve the problem of allowing users to self-register on a sub-blog (i.e. not the main blog) and assigning them a default role, so I'm going to try to summarize and consolidate them into one thread here.
- New users signing up at the main blog were not getting default permissions, which seems to have been either avoided or fixed. However, this still left the problem of people trying to register as users on sub-blogs.
- A hack was offered that will allow users to click on a register link in the meta widget (although this may no longer be working according to more recent comments).
- However, dubaidan ran into trouble when clicking on the 'Register' link in the meta widget because it links to 'sub-blog.whatever.com/wp-login.php?action=register', which looks just like the login pane (I cannot find a
do_action
argument in 'wp-login', so I wonder if there is an error here). - Finally, even when one does the above and gets to the login pane that has a link to 'Register', this links to 'sub-blog.whatever.com/signup/', which is a dead-end at best and a 404 error at worst. dubaidan confirms this.
So to summarize the question based on the above:
Can anyone figure out how to (1) allow a person to sign up as a new user on a sub-blog (such that he belongs to the sub-blog and not the main blog) and then (2) automatically assign them a default role such as 'Author'?
This seems like such a basic and essential function for a sub-blog, that I can't believe it's not there. Am I just overlooking it?