Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] BuddyPress Compatibility plugin – Editing registration template

  • Avatar of Stefan83
    Stefan83
    Participant

    @stefan83

    I’m trying to fix the layout of my registration page in my theme. I’ve installed the compatibility plugin and I’ve moved the template files to my theme folder but editing the register.php file in ‘theme-folder/registration/’ does not make a difference. Making changes to the register.php in ‘plugins/buddypress/bp-themes/bp-default/registration’ does not work wither. Where else is this page stored? What am I doing wrong?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @stefan83

    1. What theme are you using? Did you apply the HTML changes you made to the other BP component changes to your register.php file? Site URL?

    2. please do not make any changes in core files “plugins/buddypress/bp-themes/bp-default/registration” as those will be overwritten when you upgrade BuddyPress.

    Avatar of Stefan83
    Stefan83
    Participant

    @stefan83

    Hi mercime

    Thanks for your reply. I’m using the WP-Bold theme by Solostream.I have a file called register.php in theme-folder/registration/ but editing this file has no affect on the layout. Site URL is http://www.minesandmoney.com/portal/subscribe/

    Thanks
    Stefan

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @stefan83 I see no reason why the revisions you’ve made to your other BP template files and applied to register.php won’t show up. Can you post the codes for your theme’s page.php and the revised code you have for your register.php file in respective pastebin.com pages?

    Avatar of Stefan83
    Stefan83
    Participant

    @stefan83

    Yes its very odd. Here you go:

    page.php http://pastebin.com/r6Yv9UMP

    register.php http://pastebin.com/PrzYsNMY

    Thanks for your help!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @stefan83 the following is specifically for the /registration/register.php file

    A. At the top of of the file, replace
    `

    `

    with the following:
    `

    <div class="post clearfix" id="post-main-”>

    `

    Then, you’d like to change the registration page title’s header tag from `

    ` or `

    ..

    ` to
    `

    // Registration or Suscription page title //

    `

    Save file.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    B. At the bottom of the same register.php file, replace:
    `

    `

    with the following for registration/register.php:
    `

    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();
    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });

    `

    Save file.

    Avatar of Stefan83
    Stefan83
    Participant

    @stefan83

    Ok, I’ve edited the register.php file with the code you gave me but I’m afraid it doesn’t work. It must be grabbing a register.php template file from somewhere else because it still contains `

    ` for example, which I removed. Any ideas? Could it have something to do with the fact I’m using the Membership plugin by WPMUDEV? http://premium.wpmudev.org/project/membership/
    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Not sure. Have you checked if issue is resolved if you deactivate that membership plugin?

    Avatar of Stefan83
    Stefan83
    Participant

    @stefan83

    Yes, I’ve tried deactivating all plugins. Still no joy!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Is http://www.minesandmoney.com/portal a subsite of a multisite installation installed in domain root http://www.minesandmoney.com ? Did you define BP in /portal/ subsite or did you enable_multiblog?

    Avatar of Stefan83
    Stefan83
    Participant

    @stefan83

    I have been experimenting with Multisite (subfolder setup) on minesandmoney.com but I thought I had reversed what I had done and reverted back to a single site setup. minesandmoney.com/portal is a single wp installation and always has been. Could this have something to do with it do you think?

    Avatar of Stefan83
    Stefan83
    Participant

    @stefan83

    Can anyone help with this? Thanks

    Avatar of Stefan83
    Stefan83
    Participant

    @stefan83

    Ok, I’ve fixed this. Not sure what went wrong the first time but I removed the BP template pack, renamed the template folders in my theme folder (because I couldn’t delete them) and uploaded fresh ones manually. No edits to the register.php works. Thanks!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Cool. Glad you fixed it :-) Marking this as resolved.

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

You must be logged in to reply to this topic.