Skip to:
Content
Pages
Categories
Search
Top
Bottom

custom profile data not getting saved in BP 1.1.2

Viewing 11 replies - 1 through 11 (of 11 total)
  • @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

    @johnjamesjacoby

    Keymaster

    Check the codex for how to upgrade your BP theme from the 1.0 method to the 1.1 method. It’s actually easy, but just takes care following the directions. I’m not replying from my dev machine so I can’t browse through the sources easy at the moment, but try upgrading your theme to the 1.1 architecture at least and see if that brings you any success.

    Otherwise there might be some deprecation getting in the way somewhere…

    @buzz2050

    Participant

    Sure, will refer the codex for adapting to the new theme way John, thanks!

    These are the links that I’m referring to, great documentation available to help users with all the info they need to switch to the 1.1 theme architecture :

    https://codex.buddypress.org/getting-started/upgrading-from-10x/

    https://codex.buddypress.org/how-to-guides/upgrading-a-buddypress-1-0-theme-for-buddypress-1-1/

    https://buddypress.org/blog/news/the-new-buddypress-theme-architecture/

    https://buddypress.org/forums/topic/details-about-the-new-theme-architecture

    https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/

    https://buddypress.org/forums/topic/extending-wordpress-themes-post-experiences

    Meanwhile, is there any alternative to bp_core_signup_do_signup() in BP 1.1.2?

    Thanks,

    Sib

    @madloki

    Participant

    Works for me with original template. But the update bug > hands up, same problem. With every update from bp i got an error message “fatal error”. But the plugins works. After refresh the plugin page everything is fine.

    @buzz2050

    Participant

    Hi moderators,

    Any particular reason why I see my previous post (the one with the links) in this topic only when I log in and not otherwise?

    @djpaul

    Keymaster
    Works for me with original template. But the update bug > hands up, same problem. With every update from bp i got an error message "fatal error". But the plugins works. After refresh the plugin page everything is fine.

    This is a WPMU bug.

    @buzz2050

    Participant

    Wow, what’s happening?

    I see some posts without logging in and when I log in, and try to reply to them, they disappear. Same way, the posts that I have already made are nowhere in sight? Is this some kind of a bug?

    @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

    @jeffsayre

    Participant

    @buzz2050

    Have you read the comments in bp_core_deprecated.php–especially those that are found in the “BEGIN DEPRECATED SIGNUP FUNCTIONS” section?

    * Instead of duplicating the WPMU signup functions as in previous versions

    * of BuddyPress, all signup functionality is now in the template for easier

    * customization. Check out the default theme in the file ‘register.php’.

    @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

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘custom profile data not getting saved in BP 1.1.2’ is closed to new replies.
Skip to toolbar