1
animas
Registration Fields Customization
  • 2005/2/4 6:38

  • animas

  • Quite a regular

  • Posts: 206

  • Since: 2005/1/30


The default registration fields are too many.
Can I keep only username, email and password field for new user registration?

2
brash
Re: Registration Fields Customization
  • 2005/2/4 6:51

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


No easily as I think you'd have to edit register.php

3
animas
Re: Registration Fields Customization
  • 2005/2/4 11:17

  • animas

  • Quite a regular

  • Posts: 206

  • Since: 2005/1/30


I dont want to delete any of the fields. Additional fields will be edited using "Edit Account", but in registration page, I want to show only mentioned fields.

What things should I change in register.php without affecting the core?

4
jegelstaff
Re: Registration Fields Customization

You can simply comment certain fields in register.php so they don't show. Two slashes "//" at the beginning of a line turns that line off.

You can also change the language constants used for other fields that you are showing so that, for instance, instead of the label for the textbox reading "ICQ" it could read "Department". In the database, the data would be labelled as ICQ, but on the View Account page, it would be ballened Department.

Good luck,

--Julian

Login

Who's Online

326 user(s) are online (262 user(s) are browsing Support Forums)


Members: 0


Guests: 326


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits