Remove Create a Blog option from signup
-
Is there anyway to remove the Create a Blog section from the registration / signup form, without hacking the core code?
I want to allow users to create blogs, but not to have the option in the initial account registration form.
-
Hi Roger,
Try this:
https://buddypress.org/forums/topic/default-to-just-a-username#post-14828
Requires hacking a core file and a little bit of CSS to hide the “Create A Blog” block.
If there’s a better method, let us know!
I thought it was an option:
o Disabled
o Enabled. Blogs and user accounts can be created.
x Only user account can be created.
o Only logged in users can create new blogs.
This will be super easy in bp1.1 as the whole registration page is themeable, so you can easily comment out or delete that section as it is off by default.
That’ what I do as in conjunction with the groupblog plugin, as groups do can create blogs at group creation, but not at user signup.
You’ll see, bp1.1 will be so much easier to theme.
PS. Sorry if this info doesn’t help you right now Thought I’d give you some hope for what’s to come!
@gerikg If you set the option like that, users can not create blogs at any given stage, which is not what the initial request was from the poster
@mariusooms: thanks, we’ll probably hold off until 1.1. Incidentally, where do you get the information on 1.1 from? I’ve had a quick look, but couldn’t find anything.
@gerikg: yes, mariusooms is right about those options, there’s nothing that simply turns blogs off at registration, but allows you to create them later.
The 4th option (Only logged in users can create new blogs) implies it might be the solution. But, with that enabled, users can’t even complete a new account registration.. . has anyone else encountered that problem?
@R-A-Y: thanks. Yes, I could see how to do it with a hack, but didn’t want to have to mess with the core code.
Incidentally, where do you get the information on 1.1 from? I’ve had a quick look, but couldn’t find anything.
If you keep up with the code changes in trunk, you can see how BP is evolving. Also, you can pick up bits an pieces in IRC.
@jeff: I’m building the site for a client (that’s already gone out in Beta), so need to work with a fixed release (1.0.3 in this case) rather than continually updating from the trunk.
Is there a ‘roadmap’ anywhere that outlines the key features the developers are working towards for 1.1?
Rogercoathup, you can read the roadmap here:
https://buddypress.org/about/roadmap/
and new comings for 2009 here:
https://buddypress.org/about/ (at the bottom of the page)
@Korhan… thanks, much appreciated
We made that little hack in a little plugin (might work in bp-custom.php):
// Clear "give me a blog" default option
add_action('signup_hidden_fields', 'my_signup_hidden_fields');
function my_signup_hidden_fields() {
?><style>div#blog-or-username {display:none;}</style>
<script>
jQuery(window).load(function () {
// Don't request blog
jQuery('#signupblog')[0].checked=false;
// Request user
jQuery('#signupuser')[0].checked=true;
});
</script><?php
}Hope it helps!
Ps: Looking forward to much easier 1.1
Interesting that Photo Albums are mentioned on the About page as a coming feature but not mentioned in the Road Map. The About page predates the Roap Map.
David is correct. The album component is not mentioned on the current BP roadmap.
David was part of an interesting discussion we had about the album component in another thread the other day. For those of you who are interested, here is my response about the lack of an album component mention in the roadmap.
Back to the topic at hand…
@Michael Berra – Your plugin requires that javascript is on, which, for most of us, will be sufficient… there’s always that 10% that won’t have it on though
- The topic ‘Remove Create a Blog option from signup’ is closed to new replies.