phpBB --> can I create a custom registration form with a few selected fields instead of the generic long form.

Posted on 2004-10-08
Last Modified: 2010-07-27
I have a phpbb Forum set up on my webpage and I want to modify the form that people who want to register on my forum must fill out.  The current default registration page has a lot of fields and options that seem overkill (especially for the kind of people using my forum, mostly family members).  So, I 'd like to change the registration page so that people only have to enter the required username and password fields, and that's it.  I know a lot about html and javascript, but almost nothing about this php stuff.

Question by:Hessianator
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Expert Comment

ID: 12269031
You might be looking for this:

Author Comment

ID: 12269289
ok, I downloaded the "custom_reg_1.0.3em" zip file, but how do I apply it to make changes to my registration page?

Author Comment

ID: 12269292
sorry about just dropping this whole thing on you all, but I'm a full time student working full time to make ends meet, and I just don't have enough free time to learn this all from scratch right now.

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.


Author Comment

ID: 12269302
and no, this isn't part of a homework assignment!!

I've seen people flamed on EE plenty of times for posting homework problems.

I keep a website up for my family because we are spread out all over the country, this is for that.


Accepted Solution

dennistt earned 200 total points
ID: 12269427
Extract both files inside the zip file to a convenient location.
If you open the .txt file you'll find some info about the MOD (modification).  Then there are the modification instructions.

All you do is follow the modification commands:
COPY :: upload the file to the location on your site
OPEN :: open the file locally for editing
FIND :: find the following text
REPLACE WITH :: overwrite the code you "FOUND" before with the code in this command.
SAVE/CLOSE ALL FILES :: save the modifications above, close the files, and upload to your server

So basically:
1) Upload profile_register_body.tpl (the other file in the .zip) to the templates/subSilver/ folder inside your forum directory.
2) Open includes/usercp_register.php (found in the vanilla phpBB distribution)
3) Find:

      'body' => 'profile_add_body.tpl')

4) Replace the above with:

// Start add - Custom registration form MOD
if ($mode=='register')
      $template->set_filenames(array(   'body' => 'profile_register_body.tpl'));
} else
      $template->set_filenames(array('body' => 'profile_add_body.tpl'));
// Start add - Custom registration form MOD

5) Save the file and upload to the respective place on your server.

Hopefully I made things a bit clearer to you.  Feel free to reply with any other questions you have.

Author Comment

ID: 12272357
That worked perfectly!!

thanks for the clear and easy to follow instructions.

Expert Comment

ID: 12274336
You're welcome. :)

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question