Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'disable registration'

Viewing 22 results - 626 through 647 (of 647 total)
  • Author
    Search Results
  • #5111
    mashupmo
    Participant

    I did a fesh install and had many 404 errors. I went through your forum and found the answer – htaccess….. That fixed that problem.

    Now – I’m checking things out and noticed that I can not register new accounts – I receive the error “Registation is disabled”. I can not find where to enable it, much less where it became disabled.

    How do I fix it?

    Thanks,

    ~Chad

    #45327
    enlightenmental1
    Participant

    are you trying to disable blogs completely?

    or just remove the menu option?

    to disable blogs completely:

    rename bp-blogs.php and /bp-blogs/

    i.e. “bp-blogs.phpDISABLED”

    that will remove all menu links to blogs, you’d also want to change registrations to users only and not allow blog registrations.

    to remove that menu option from just the profile page, your looking at some core edits, or possibly adding something to bp-custom.php to remove the link from the profile screen.

    I forget off hand how to do this. I’ll re-post once I remember :-)

    #45238
    Andrea Rennick
    Participant

    “Allow new registrations

    – Disabled

    – Enabled. Blogs and user accounts can be created.

    – Only user account can be created.

    – Only logged in users can create new blogs.”

    See the one that says “Only user account can be created.”? Check it. Save.

    #4759
    Kunal17
    Participant

    1)Disabled

    2)Enabled. Blogs and user accounts can be created.

    3)Only user account can be created.

    4)Only logged in users can create new blogs.

    What do the above options mean exactly? 1 and 2, disabled & enabled are obvious. Does the 3rd option mean that blogs just cannot be created during registration or even after? And does the 4th option mean that registered users can create blogs but no new users can register?

    I ask this because when I select the 4th option, the register page says ‘You must first login, and then you can create a new blog. ‘ i.e. it does not let me register a new user. What I want ideally is that users are not able to create a blog at registration but can do so later, after they have activated and log in.

    Deep
    Participant

    Hi John,

    I registration is disabled but still the table creation is going on.

    The server is pretty much stable.. by running netstat command, I found only 27 active connections..

    Deep

    It sounds to me like a bot is hitting your registration hard, and keeps attempting to refresh a page or is getting stuck on the creation reload or activation email, and is overloading the server with requests.

    It’s kinda one of those situations now, where all those plugins start to muck up our ability to figure out if this is BP’s fault or not. Usually the recommended plan of attack is to disable all plugins now, try to create a test user yourself, and see what happens.

    Even if you upgrade to the most recent trunk, and a bot or an unruly plugin are to blame, rather than creating tons of new tables, you’re still getting the overload of requests which is causing all sorts of havoc.

    Deep
    Participant

    I am on RC1.. I had Send Invites plugin installed, it messed up the whole thing (i.e. it automatically disabled the JS for some reason), so I deleted the plugin file and folder.

    I had installed WP Super Cache too, it did not work well, so I had to take it off too..

    Other than that, no MU plugins…

    Here is the list of plugins I have installed for a single blog:

    Akismet

    All in One SEO Pack

    Global Translator

    Google XML Sitemaps

    SexyBookmarks

    Smart Youtube

    Smilies Themer

    Twitter for WordPress

    Twitter for WordPress

    WordPress 2.6+ and bbPress 0.9 cookie integration

    WP Custom Login Logo

    I disabled all the plugins but still the issue remains.

    In my previous reply, I had disabled registration just to cross verify.. but still the new tables are getting created..

    I traced the user from the User ID mentioned in the table name.. the user looks like a spammer to me.. but now sure what the user is trying to do as those created tables have 0 records…

    Deep
    Participant

    It doesn’t look like spam as I don’t see much increase in registration (wp_users table) The tables are being generated for the users which are already present..

    I have disabled the registrations now.. let’s see how it goes.. I really doubt if it will work though..

    Thanks for the inputs.. any other pointers which I should look for?

    #42508

    In reply to: Security

    Burt Adsit
    Participant

    You disabled registration in the wpmu admin area: Site Admin > Options > Allow New Registrations with that option set to what?

    1) Disabled

    2) Enabled. Blogs and user accounts can be created.

    3) Only user account can be created.

    4) Only logged in users can create new blogs.

    Now you have 4 new users on your site? If you choose option 2 or option 3 then people will still be able to register for accounts on your site.

    Are you sure they are users or just people creating comments on your blog posts?

    #41429
    Aron Jay
    Participant

    <?php

    /*

    Plugin name:Limit Blogs per User

    Plugin Author:Brajesh K. Singh

    Plugin URI:http://www.thinkinginwordpress.com/2009/03/limit-number-of-blogs-per-user-for-wordpress-mu-and-buddypress-websiteblog-network/

    Author URI:http://ThinkingInWordpress.com

    Version:1.0

    */

    add_filter(\”wpmu_active_signup\”,\”tiw_check_current_users_blog\”); //send fake/true enable or disabled request

    add_action(\”wpmu_options\”,\”tiw_display_options_form\”); //show the form to allow how many number of blogs per user

    add_action(\”update_wpmu_options\”,\”tiw_save_num_allowed_blogs\”);//action to save number of allowed blogs per user

    /****Check ,whether blog registration is allowed,and how many blogs per logged in user is allowed */

    function tiw_check_current_users_blog($active_signup)

    {

    if( !is_user_logged_in() )

    return $active_signup;//if the user is not logged in,do not change the site policies

    //otherwise…

    global $current_user;

    $blogs=get_blogs_of_user($current_user->ID);//get all blogs of user

    $number_of_blogs_per_user=tiw_num_allowed_blogs();//find

    //if number of allowed blog is greater than 0 and current user owns less number of blogs */

    if($number_of_blogs_per_user>0&&count($blogs)<$number_of_blogs_per_user)

    return $active_signup;

    else

    return \”none\”;

    }

    /****How many blogs are allowed per user *************/

    function tiw_num_allowed_blogs()

    {

    $num_allowed_blog=get_site_option(\”tiw_allowed_blogs_per_user\”);//find how many blogs are allowed

    if(!isset($num_allowed_blog))

    $num_allowed_blog=0;

    return $num_allowed_blog;//return the number of allowed blogs

    }

    /*****Show the Number of Blogs to restrict per user at the bottom of Site options ****/

    function tiw_display_options_form()

    {

    ?>

    <h3><?php _e(\’Limit Blog Registrations Per User\’) ?></h3>

    <table>

    <tbody>

    <tr valign=\”top\”>

    <th scope=\”row\”>Number of blogs allowed per User</th>

    <td>

    <input type=\”text\” name=\”num_allowed_blogs\” value=\”<?php echo tiw_num_allowed_blogs()?>\” />

    <p>If the Value is Zero, It indicates any number of blog is allowed</p>

    </td>

    </tr>

    </tbody>

    </table>

    <?php

    }

    /**************Save the Number of blogs per user when the form is updated **************/

    function tiw_save_num_allowed_blogs()

    {

    $allowed_number_of_blogs=intval($_POST[\”num_allowed_blogs\”]);//how many blogs the user has set

    //save to the database

    update_site_option(\”tiw_allowed_blogs_per_user\”,$allowed_number_of_blogs);//now update

    }

    ?>

    You can set the number of blog you would like to allow.. its not mine, just wanna share it.. :D

    – Aron

    EDIT: to set the number of blogs, proceed to Site Admin/Options/ then look below..

    #3935
    enlightenmental1
    Participant

    added additional fields to profile/registration:

    “referred by:”

    so users can enter the member that referred them to the site…

    I want this hidden on the edit profile section so the user can only enter/change this information once from the registration page…

    i.e.

    on the registration page, the “referred by” can be filled out

    on the edit-profile page, the “referred by” is read only / disabled

    thanks for the input

    #39867

    I would do this by going into /member-themes/buddypress-member/blogs/create.php and doing…

    <?php if ( bp_blog_signup_enabled() ) : ?>
    <?php
    global $bp;
    $blogs = bp_blogs_get_blogs_for_user($bp->loggedin_user->id);
    if ($blogs['count'] != 9)
    {
    bp_show_blog_signup_form();
    }
    else
    {
    ?>
    <div id="message" class="info">
    <?php _e( 'Limit nine blogs per member. If you would like another, please contact an Admin for assistance.', 'buddypress' ); ?>

    </div>
    <?php
    }
    ?>

    <?php else: ?>

    <div id="message" class="info">
    <?php _e( 'Blog registration is currently disabled', 'buddypress' ); ?>

    </div>

    <?php endif; ?>

    Just remember not to overwrite the member theme if you do a BuddyPress update. ;)

    #39313
    dpsweb
    Member

    SORRY!!! I did this and the error went away:

    WPMU Admin Options > Allow New Registrations : Disabled.

    WPMU Admin LDAP Options > Disable Public Signup : NO

    What happens now is when a user clicks on the signup button it takes them to the WPMU login page. They login and it uses LDAP. There is no local user account signups as everything appears to be going through the LDAP plugin to authenticate.

    #38478

    In reply to: Only one blog for user

    Burt Adsit
    Participant

    OK people this seems to work. This requires modifying the member theme since I didn’t find any actions in bp to hook this into so here goes:

    In the member theme the file:

    /buddypress-member/blogs/create.php

    There is this chunk of code:

    <?php if ( bp_blog_signup_enabled() ) : ?>

    ..(some other stuff here)..

    <?php else: ?>

    <div id=”message” class=”info”>

    <p><?php _e( ‘Blog registration is currently disabled’, ‘buddypress’ ); ?></p>

    </div>

    <?php endif; ?>

    Replace the ..(some other stuff here).. with this:

    <?php

    global $bp;

    $blogs = bp_blogs_get_blogs_for_user($bp->loggedin_user->id);

    if (!$blogs)

    {

    bp_show_blog_signup_form();

    }

    else

    {

    ?>

    <div id=”message” class=”info”>

    <p><?php _e( ‘Limit one Blog per member’, ‘buddypress’ ); ?></p>

    </div>

    <?php

    }

    ?>

    This is the entire little create.php file in pastie: http://pastie.org/396083

    This was a: “quick ya we should have that and I’ve got to get to the store and get some boxes because I’m moving from Michigan where we have a snow storm today and Virginia where I’m moving to comes to a screeching halt when they get 1″ of snow and I gotta run now” solution.

    When I get back from the store I’ll help clean up the damage this might cause. This does work for me in a quick test.

    #3554
    Frumph
    Participant

    Whenever someone does an action with buddypress say for example viewing a random blog it first shows a 404 error *THEN* redirects appropriately.

    It’s as if it’s loading some file that doesnt exist then redirecting.

    check it out at http://webcomicplanet.com/

    also in bp-groups-widge.php around line 60 you need to clear the floats there

    </span></div>

    </div>

    <div class=”clear”></div>

    also, avatar’s cannot be uploaded on registration BUT works in the members pages so i’m trying to disable the fact it’s asking for the upload of the avatar on the wp-signup page so any help in removing that action would be nice from the wp-signup

    in the pages for the plugin-templet you can’t use the #content as a #page and keep it compatible with the pages that wpmu dishs out

    <div id=”content” class=”widecolumn”>

    ^ is NOT compatible because you’re using it as a column not the #page, while WPMU dishes it out as #page div for the registration your using it as a column inside another area with a sidebar

    since most if not all wordpress themes that use #content as a “page area” and not a “column of content” it would probably be best if you changed that div name to something other then #content

    Try to add borders to #content border left and right and then look at how the wp-signup.php page comes up and your members and groups pages and you will see what I mean by that.

    – Phil

    but mainly, very curious as to why 404 pages keep getting dished out, it’s like i’m missing a file in my custom theme.

    #3505
    bobbybobme
    Member

    Hi, I was real excited to discover BP, so I installed WPMU, and then BP, and then… uh, my home page doesn’t look like anything BP.

    http://www.soakingplanet.com

    Trying to create a blog, it says that the registration option is disable, and so I can click a link to my admin “Options” to change the option, but can’t find that option anywhere.

    I feel dumb, got to ask: what have I done wrong? I did a straight install, didn’t modify any permissions (didn’t seem to need any), completed everything, uploaded a million themes, etc.

    I can’t even find how to change the default page theme. That’s not good. I can create websites with WP, and don’t mind editing code, but this is beyond me. Is there a “BP for Dummies” anywhere? :O)

    Thanks for any help!

    Regards,

    andre

    gogoplata
    Participant

    It works for the main blog too, thought the search function isn’t all that useful given there would only be a single blog but all the other functions work with the main blog.

    All you’d need to do to get this setup is to change the default role for the main blog from subscriber to contributor and disable blog registration. Also, you may want to hack at the code to remove things such as the blog directory, the list of user blogs, etc. but this is optional.

    #2864
    iqcuties
    Member

    From what I can tell, *anyone* can register for an account to your BuddyPress site if they navigate directly to the directory where bbPress lives. This is even if you have “Allow new registrations” disabled in your WPMU site admin. Apparently bbPress doesn’t have a way to turn off new registrations (or at least I am not seeing it).

    I’ve tried password protecting the forum directory, but that breaks forums.

    I’ve read about hacks to disable registrations, but I fear that also will break the forums. (though, for the record, I’m not against implementing hacks.)

    Any ideas?

    #35059
    Burt Adsit
    Participant

    There is only an option to turn off the adminbar for logged out users. Yes/No for them. Otherwise it’s Yes for everywhere in mu. The adminbar gets generated at every page load in mu. You could disable it completely by default someplace in code and then in the pages that you want it to appear on, enable it before the wp_head() call that your theme makes in header.php

    bp registers its need for attention by the calls:

    add_action( ‘wp_footer’, ‘bp_core_admin_bar’ );

    add_action( ‘wp_head’, ‘bp_core_add_css’ );

    You could un-register these calls someplace like functions.php in your theme to turn off the adminbar globally:

    remove_action( ‘wp_footer’, ‘bp_core_admin_bar’ );

    remove_action( ‘wp_head’, ‘bp_core_add_css’ );

    Then in your theme, on the specific pages you want to show the adminbar register the adminbar again before the call to wp_head():

    add_action( ‘wp_footer’, ‘bp_core_admin_bar’ );

    add_action( ‘wp_head’, ‘bp_core_add_css’ );

    In your theme you’ll have to add some logic in header.php to detect what page is being displayed and make the event registration calls.

    So, in functions.php un-register the calls and in header.php before wp_head() re-register them. They’ll get turned off again when functions.php loads the next time and the sequence starts again.

    #33823

    In reply to: No Blog Registration

    gogoplata
    Participant

    I should note, though, that the “Creat a Blog” function doesn’t work, it’s just a link to a page that says registrations are disabled.

    #33822

    In reply to: No Blog Registration

    gogoplata
    Participant

    Right, that’s the only downside. I only disabled it temporarily, which is why I still installed the blog component but if you never intend on allowing blogs not having it installed is probably for the best.

    #33805

    In reply to: No Blog Registration

    gogoplata
    Participant

    I still installed bp-blogs, but disabled registrations and it worked perfectly.

Viewing 22 results - 626 through 647 (of 647 total)
Skip to toolbar