Skip to:

How to add registration form to front page

  • gregfielding


    Simply copying and pasting the

    from register.php to another page doesn’t work – nothing shows up.

    I’ve found a lot of threads on this topic that never reach any conclusion. Is this even possible?


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

  • Nahum



    Making it a custom page template and dropping in the entire register.php block didn’t work?

    Also I’ve tried out the Gravity Forms add on for a registration form like this that can be placed in the page but I didn’t get into it much as I only tested it quickly when they introduced those addons. From what I recall it worked but something weird happened after the registration like the page not refreshing — I don’t remember. It also didn’t do what I wanted as far as no activation key and redirect to profile like what I use currently. So i shelf’d it. I think that would be a good option if you don’t mind getting GF. It’s a good investment! Actually, I think I’ll look into tinkering with it again.



    Ok…I’ve got it figured out now and have put the registration form both in a sidebar and a separate page, tested them, and it works. I copied and pasted the form from register.php.

    I had to make 3 tweaks:

    1. Correct the form action as explained by Brajesh

    2. Remove lines 12 “ and 282 “ from register.php.

    3. Change line 166 to “ – This was because I DO want to allow blog creation, but I DON’T want people doing it when the register. There are a lot of threads out there asking how to do this and this trick works.

    Also, make sure you include the javascript below the form as well.



    cool…thanks for reporting it back. I will try it out.

    @gregfielding Doing `!bp_get_blog_signup_allowed()` isn’t probably the best approach though as it twists logic and if you did decide to close blog registration from the dashboard you would then be showing the form for blog signup the reverse of what you want.

    Why not simply wrap the blog section in a test for a variable e.g:

    ‘$show_blog_signup = false;

    if( $show_blog_signup) :

    blog form stuff

    Then you change the variable at top of page if needed.



    Do any of you know how to replace buddypress’s registration form with Gravity Forms?



    Hey Guys,

    I am having trouble with the @gregfielding technique. I’ve tried the 3 steps of getting the form on the home page but i simply receive a: HTTP Error 500 (Internal Server Error). I am using the buddyboss template. Any ideas?

    Currenty I have copied the HTML from and I am using the form along with the form tag:

    <form action="” name=”signup_form” id=”signup_form” class=”standard-form” method=”post” enctype=”multipart/form-data”>

    When the form is submitted I am taken to and I receive this error:

    “Are you sure you want to do this?
    Please try again.”

    With the ‘Please Try Again’ Linking back to the home page.

    Any idea how I can resolve either ?!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add registration form to front page’ is closed to new replies.
Skip to toolbar