Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove Create a Blog option from signup

  • Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    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.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Hi Roger,

    Try this:

    http://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!

    Avatar of gerikg
    gerikg
    Participant

    @gerikg

    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.

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    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!

    Avatar of Mariusooms
    Mariusooms
    Participant

    @mariusooms

    @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 :)

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    @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?

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    @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.

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    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.

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    @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?

    Avatar of Korhan Ekinci
    Korhan Ekinci
    Participant

    @korhanekinci

    Rogercoathup, you can read the roadmap here:

    http://buddypress.org/about/roadmap/

    and new comings for 2009 here:

    http://buddypress.org/about/ (at the bottom of the page)

    Avatar of Roger Coathup
    Roger Coathup
    Participant

    @rogercoathup

    @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.

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    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.

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    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 ;)

Viewing 14 replies - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.