Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'registration'

Viewing 25 results - 7,026 through 7,050 (of 7,641 total)
  • Author
    Search Results
  • #55959
    vichost
    Participant

    Hi Manoj,

    Thanks for that mate. It solved the issue.

    Dan

    #55952
    talk2manoj
    Participant

    @vichost : Please enable user registration from admin interface.

    1. Login to the site with admin

    2. Goto “Site Admin” -> “Options” or domainname.com/wp-admin/wpmu-options.php

    3. Enable registration from “Allow new registrations” section.

    Hope this helps.

    #55951
    Xevo
    Participant

    This problem seem to happen more and more often, people trying to use the buddypress components that get redirected back to the home page.

    Had the problem on my localhost too. Probably has something to do with mod_rewrite..

    #55946
    vichost
    Participant

    Hi r-a-y,

    Nope none at all pal. Haven’t modified a single bit of code, except to edit the wp-config file when installing MU.

    That was it.

    #55945
    r-a-y
    Keymaster

    Did you alter any files in the default theme?

    #55903
    bpisimone
    Participant

    It’s located in your theme/registration/register.php.

    Finding this interesting people are obviously targetting new bp sites..

    #55852
    buzz2050
    Participant

    Hi again,

    Well, now I have a fresh install of both WPMU(2.8.5.2) and BP(1.1.2) on my localhost. I do not have any other plugins apart from BP installed and still the same problem.

    I have added some ‘required’ custom fields to the ‘Base’ Profile Group. Even though the user fills them during the registration, they still appear blank on the ‘Edit Profile’ page (in BP members) and he has to fill them again (editing and saving works).

    I have the same install on my server, but there I upgraded from earlier versions and apparently, this problem does not occur there. Not sure what’s going on??!

    Please HEELLP!!

    -Sib.

    #55731
    Mark
    Participant

    fyi- I have a ‘vanilla’ install with /registration/register.php. I changed the default welcome message because of the same inconsistency that the OP mentioned.

    #55698

    Can you confirm with me that you’re using bp-sn-parent as your theme, and that it contains either /registration/register.php or /register.php?

    This works for me on a “vanilla” installation.

    There is also a ticket for this in the trac already, so maybe keep an eye out there as well…

    https://trac.buddypress.org/ticket/1208

    #55665
    peterverkooijen
    Participant

    @Chouf1, the code is not for uppercasing; it’s making sure firstname and lastname are stored consistently in the different places where WP/WPMU/BP stores names.

    Why is it too much to ask for consistently, reliably stored firstname + lastname in the WordPress world? Uppercasing should be part that imho. It’s utterly ridiculous to have to do that in CSS. Is that even official CSS? Do all browsers support it?

    In most software for grownups firstname and lastname fields are at the top of the members/users table, part of the core of the application, the heart of member registration and management. In the WP/WPMU/BP world it’s a messy afterthought, stored halfheartedly in three or four different locations, in different ways, without any synchronization between them. Aaarrrggghhh.

    Before a WordPress user account is activated, it is stored in the wp_signups table; there’s a meta field storing various things. Have you checked if its that one?

    That’s one of the two places where the lowercase version of the name is stored. My code above updates names with uppercase in the usermeta fields.

    My question is which code stores them in xprofile or wp_signups. Where should I apply my nameize() function to get clean names in xprofile?

    Cleaning them up before they’re stored in wp_signups would do the trick as well, because I think the xprofile data is taken from there. I don’t think the wp_signup data is used for anything else later, so it has a lower priority to me.

    Edit: Of course I’m not trying to uppercase all chars of the name, just the first ones, as used to be custom in western culture. FYI, here’s the nameize function I use:

    function nameize($str,$a_char = array("'","-"," ")){
    //$str contains the complete raw name string
    //$a_char is an array containing the characters we use as separators for capitalization. If you don't pass anything, there are three in there as default.
    $string = strtolower($str);
    foreach ($a_char as $temp){
    $pos = strpos($string,$temp);
    if ($pos){
    //we are in the loop because we found one of the special characters in the array, so lets split it up into chunks and capitalize each one.
    $mend = '';
    $a_split = explode($temp,$string);
    foreach ($a_split as $temp2){
    //capitalize each portion of the string which was separated at a special character
    $mend .= ucfirst($temp2).$temp;
    }
    $string = substr($mend,0,-1);
    }
    }
    return ucfirst($string);
    }

    Edit2: The CSS solution only works on the first name. The last name still starts with lowercase. Any easy CSS trick for that? I don’t think so.

    Apparently the same CSS trick is used in this forum, which would explain why my “username” – cough, spit – is displayed as ‘Peterverkooijen’ instead of ‘peterverkooijen’ as I had entered it. Why is that kind of mess considered acceptable?

    #55642

    In reply to: Fighting Splogs

    peterverkooijen
    Participant

    Chouf1, are you sure wp-login.php is even used in Buddypress registration?

    Edit: Tried the code. I get an “Parse error: syntax error, unexpected T_ELSEIF”.

    #55641

    In reply to: Fighting Splogs

    peterverkooijen
    Participant

    r-a-y, I’d like to try the .htaccess solution, but the instructions are very ambiguous:

    # BEGIN ANTISPAMBLOG REGISTRATION
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .yourbpsignupslug*
    RewriteCond %{HTTP_REFERER} !.*yourhomedomain.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) http://die-spammers.com/ [R=301,L]
    # END ANTISPAMBLOG REGISTRATION

    Should I leave the dots (.) and stars (*) around ‘register’ and ‘mywebsite.com’?! What would be mybpsignupslug if I have the registration form on my homepage as well as /register?

    #55599

    Don’t feel stupid, SVN isn’t for everyone (but it does make life easier in the long run)

    Here’s the whole function…

    /* Kill the wp-signup.php if custom registration signup templates are present */
    function bp_core_wpsignup_redirect() {
    if ( false === strpos( $_SERVER['SCRIPT_NAME'], 'wp-signup.php') )
    return false;

    if ( locate_template( array( 'registration/register.php' ), false ) || locate_template( array( 'register.php' ), false ) )
    wp_redirect( bp_root_domain() . BP_REGISTER_SLUG );
    }
    add_action( 'signup_header', 'bp_core_wpsignup_redirect' );

    #55598
    PH (porsche)
    Participant

    I feel really guilty and stupid.. im not trained.. but.. SVN sounds even more scary (LOL)

    I see this in the TRUNK version:

    211 if ( ” != locate_template( array( ‘registration/register.php’ ), false ) || ” != locate_template( array( ‘register.php’ ), false ) )

    212 die;

    211 if ( locate_template( array( ‘registration/register.php’ ), false ) || locate_template( array( ‘register.php’ ), false ) )

    212 wp_redirect( bp_root_domain() . BP_REGISTER_SLUG );

    This is my version:

    if ( false === strpos( $_SERVER[‘SCRIPT_NAME’], ‘wp-signup.php’) )

    return false;

    if ( ” != locate_template( array( ‘registration/register.php’ ), false ) || ” != locate_template( array( ‘register.php’ ), false ) )

    die;

    Can I just cut and paste whats on the trunk to replace what I have?

    gazouteast
    Participant

    Aargh .. and Duhhh Stoopid me – forgot to enable it for you – deep apologies – I’ve reset it to allow user and blog creation / registration – I’ll knock it out again when you’re done.

    Goes to find suitable knobbly wall to bang head upon.

    Looks like registration is disabled on your site. Do you have a guest username and PW I can use?

    #55552
    Anonymous User 96400
    Inactive

    audiobookstef, you’re using free software, that is being made by now two core developers. Things take time and won’t be fixed within a few minutes.

    The proper way to do this is to open up a ticket, just like Erich73, and then, in the meantime, use a redirect from wp-signup.php to your normal BP registration page, which is easy to do.

    #55510
    buzz2050
    Participant

    Thanks for your reply Jeff. I understand that the register.php directly contains all the elements now.

    However, we liked the registration page of the default ‘bphome’ theme (BP 1.0.3) better (earlier) and accordingly we customized our site theme(premium edu-clean home theme for WPMU) to have a register page like that.

    To achieve this, I created a custom page template register.php with code similar to that of bphome’s and plonked it in my theme folder. There if you see, the page template is divided into right-column, center-column, left-column (it hosts the registration section)

    The code for this register.php is something like:

    <?php get_header(); ?>

    <!-- div content starts -->
    <div id="content" class="widecolumn">
    ....
    ....

    <div id="left-column">
    <div class="register bp_core_widget_welcome">
    <h2 class="widgettitle"><?php _e( 'Register for an Account', 'buddypress' ) ?></h2>
    <?php bp_core_signup_do_signup() ?>
    </div>
    </div>

    </div><!-- div content ends -->
    <?php get_footer(); ?>

    It’s the bp_core_signup_do_signup() that is responsible for including the content of the registration page in the left-column.

    Here is how my current registration page looks like:

    http://www.cmswebusa.com/testsib/reg_pg.png

    The registration section on the left is included in that section due to the bp_core_signup_do_signup() call. We still haven’t converted to the new single theme way, but we have already upgraded our BP to 1.1.2 and since then our custom fields just don’t get saved. Not sure what to do here?! I was wondering this could be happening coz of the deprecated function call. Also, how do I still make the registration section appear in the left-column of my page? Is there a function to include the register template or something?

    Thanks,

    Sib

    #55499
    Anonymous User 96400
    Inactive

    I mean the registration/register.php file in your theme folder.

    Found out that the code does work, btw. Was something else that caused it to break.

    #55496
    5212892
    Inactive

    When you say add the following code to the register.php do you mean the wp-register.php file, the wp-signup.php, or the bp-core-signup.php file? When I open the wp-register.php file i see a comment that says this file is no longer used.

    #55467
    buzz2050
    Participant

    @DJPaul

    Earlier when we were using WPMU 2.8.4a with BP 1.1, our registration form worked fine and all the custom fields got saved just fine. Only after the upgrades, are we experiencing this issue. Did not touch the WPMU install, just upgraded BP, that’s it!

    However, we do have a custom registration page which is different than wp-signup.php. On this page we are calling bp_core_signup_do_signup() which is deprecated in BP1.1.2. Could that possibly be creating the issue? Is there any alternative to this call in the newer version?

    We really need to fix this asap, users are already grumbling. Any troubleshooting advice is greatly appreciated.

    Thanks,

    Sib

    #55431

    In reply to: [Resolved] User Roles

    Anonymous User 96400
    Inactive

    These functions should sort you out, garynagel:

    function sv_check_current_users_blog( $active_signup )
    {
    if( ! is_user_logged_in() )
    return $active_signup;

    if( current_user_can( 'YOUR_CAPABILITY' ) )
    return $active_signup;
    else
    return 'none';
    }
    add_filter( 'wpmu_active_signup', 'sv_check_current_users_blog' );

    function sv_remove_create_blog()
    {
    if( ! current_user_can( 'YOUR_CAPABILITY' ) )
    bp_core_remove_subnav_item( 'blogs', 'create-a-blog' );
    }
    add_action( 'wp', 'sv_remove_create_blog' );

    You need to place these functions in your themes functions.php and replace YOUR_CAPABILITY with whatever capability you want to check for. You also need to have blog creation enabled. I’m using a slightly modified version of this to restrict users to maximum 1 blog, so I didn’t test this code at all.

    The first function uses a filter to set the variable $active_signup to ‘none’ if the current user does not have a certain capability and for that user blog creation will be disabled. If the user has that capability the variable is not changed.

    The second function removes the blog creation tab from the submenu. You probably need to modify the registration page as well.

    Hope this helps.

    #55382
    buzz2050
    Participant

    Yup, that is the problem it seems – the old 2-theme structure.

    I am using the premium ‘edu-clean’ home theme coupled with the BP default ‘bpmember’ theme which is no longer in existence after I have upgraded my BP to 1.1.2. I needed to customize my ‘register’ page. Instead of using WPMU wp-signup.php, I wanted my signup page similar to bphome’s.

    To accomplish this, I simply created a page template(register.php) similar to bphome’s. Added a new page with the register slug, associated it with this template and made the user redirect from wp-signup.php to /register.

    My problem is, on my register template I have used <?php bp_core_signup_do_signup() ?> to display the registration form in the left-column widget. Now, from what I understand, this function is deprecated in 1.1.2. Perhaps, this is the reason my profile fields aren’t getting saved? I still am not sure, but in any case, I would like to replace this function with its equivalent function in 1.1.2.

    I want to retain this layout (i.e using edu-clean as the WPMU theme and bpmember as the BP theme) as of now. I still haven’t gotten the hang of the new single-theme architecture, but I’m working on it. Until I get that right, is there any way we can save our site users the trouble of having to save their profile fields twice?

    Please advice!

    -Sib

    #55380
    Brajesh Singh
    Participant

    you are most welcome :)

    Well,just go to your current theme and edit registration/register.php,remove the line saying “You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address”.

    you will see it somewhere written under

    ‘<?php if ( ‘completed-confirmation’ == bp_get_current_signup_step() ) : ?>’

    Remove that.

    Better I just suggest to remove the avatar uploading step,as the account gets already activated and the uploaded avatar(the second screen of registration)(which earlier were used at the time of activation will not work)

    so,If you are using un modified default theme,you can remove the code from line 215(where the if starts) to 276,where the if ends safely.

    Please note,The avatar uploading step at registration will not work,so just remove that step.that’s it.

    Thanks

    Brajesh

    #55337
    deenyusoff
    Participant

    I am having the same problem as well…There are also many themes that I installed that links to wp-signup.php for registration of new accounts but now it is just a blank page instead of redirecting to the new buddypress registration page…

Viewing 25 results - 7,026 through 7,050 (of 7,641 total)
Skip to toolbar