Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Include Registration on Home Page

  • @communicatorsinaction

    Participant

    Thanks for the super-awesome-social-networking-in-a-box.

    I’ve been working on a custom home page, and I have just one issue that has me stumped. In trying to create a FB style home page, I’ve managed to make it so that if you are logged in you get the activity stream; and if you aren’t you get introduction/login form. In the latter, I am trying to include the registration form. To do this I have made a stripped down version of register.php in another file (minus the calls to the header/footer/sidebar, since I do that in my template), but trying to include this file doesn’t seem to do anything (it’s the same for the non-simplified file).

     

    I’ve also attempted to simply copy/paste the content from the file into my template, but no luck.

    I’m running WP 3.4.2 and BP 1.6.1. You can see this template in action here: http://community.communicatorsinaction.com/home-test/. (Hint: the registration form supposed to show up under the big “OR”).

    Thanks in advance,
    Ben

Viewing 4 replies - 1 through 4 (of 4 total)
  • @communicatorsinaction

    Participant

    Sorry, it seems to have cut the line I am using to include the script:

    (Spaces added).

    @communicatorsinaction

    Participant

    Alright, it still not working. I’m just using a PHP “inlcude” call to my custom register page. So there.

    @communicatorsinaction

    Participant

    I got it working. Just thought I’d post here to update.

    In the registration form (whether you’ve copied/pasted it or created a custom file to call), you need to do two things:

    First, change your opening “ tag to this: `<form action="” name=”signup_form” id=”signup_form” class=”standard-form” method=”post” enctype=”multipart/form-data”>`

    Second, add this php before the form: `global $bp;
    if(empty($bp->signup->step))
    $bp->signup->step=’request-details’;` (Wrapped in php tags, of course.)

    If my code disappears (as it has been), you can find the solution here: http://buddydev.com/support/forums/topic/move-registration-to-index-page-2/

    @sbeeldman

    Participant

    Thanks for this post, I was having trouble with the same thing. Got it almost working but, a part of the register.php wasn’t showing, after checking your two steps the second solved my problem.

    Thanks a lot!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Include Registration on Home Page’ is closed to new replies.
Skip to toolbar