Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

How do I create a registration template in Buddypress? I can't seem to find any way to integrate the registration form in a template page. I tried adding this code to my template page, it displays nothing but a blank form:

http://pastebin.com/QsL65A53

Can anyone tell me what I am doing wrong?

UPDATE:


Now I have this in my front-page.php file: http://pastebin.com/ZeK43zkv

It shows all the fields but doesn't work. When I click the signup button it returns the same page and does not register the user. Anyone?

share|improve this question

closed as off-topic by birgire, G. M., chrisguitarguy, Johannes Pille, Joshua Abenazer Aug 8 at 7:14

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – birgire, G. M., chrisguitarguy, Johannes Pille, Joshua Abenazer
If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

Install the BP Template Pack plug-in and allow it to migrate BuddyPress's theme files to your current theme. After this is done, you will find a new folder called "registration" in your theme's root directory. Inside is a file called "register.php" which contains the registration form.

share|improve this answer
    
I copied the code from the buddypress default template's registration.php file actually. look at the pastebin link. pasted it in my custom template page. doesn't show a thing. –  Towfiq Jan 26 '12 at 21:49

Don't use a regular WordPress page template (BP does not support this at the moment). Put it in a template file located at registration/register.php in your theme.

share|improve this answer

Try putting this snippit below the get_header section:

<?php
global $bp;

if(empty($bp->signup->step))

$bp->signup->step='request-details';

?>
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.