1
voddie
Customising the registration page
  • 2005/6/30 1:22

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hi

Can anyone point me in the right direction?

Im trying to customise the registration page and the info it gathers, along with user info.

I have followed the tutorial at this site and feel confident to add other fields.

Before I attempt to edit all these files and the database:

Has this tutorial been correct for someone? ie any typos?

Is it safe to change the existing names ie ICQ to Hobbies?

Has anyone successfully added a drop down selection boxes, checkboxes etc? If so how?

I was going to alter the timezone but it is way beyond my coding skills with the offset function.

Any help, assistance, and sniggers most welcome.

Thanks in advance

Voddie
To ask the hard question is simple

2
m0nty
Re: Customising the registration page
  • 2005/6/30 3:14

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


check my photo + profile hack.

http://72.29.75.243/~wwcncom/test2010/userinfo.php?uid=1

yes it's possible to add select boxes etc.

3
voddie
Re: Customising the registration page
  • 2005/6/30 11:24

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hi m0nty

Checked out the link., very cool, so it can be done! great


Do you know how to do select (drop down)?

ie County - Yorkshire, Midlands, south etc to choose from?

Thanks in advance

Voddie
To ask the hard question is simple

4
m0nty
Re: Customising the registration page
  • 2005/6/30 11:41

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


yes i know how to do it, it's not as simple as adding a few lines tho.. you need to create a new class completely. then add that class into xoops.

the new class is added to class/xoopsform

then defined in class/xoopslists.php and class/xoopsformloader.php

once done you can call it using something like :

$example = new XoopsFormSelectExample

it's not all that difficult really, but you'll have to create the class and add the county names in an array yourself.. then name it something like formselectukcounty.php

then in the editing, you'd call it with XoopsFormSelectUkcounty

5
tedsmith
Re: Customising the registration page
  • 2005/6/30 11:42

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Incorrect response - removed.

6
voddie
Re: Customising the registration page
  • 2005/6/30 12:19

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Thanks for the response

You couldn't help me with creating the class by any chance? or provide me with an example?

My php skills aren't that advanced

Voddie
To ask the hard question is simple

7
m0nty
Re: Customising the registration page
  • 2005/6/30 12:36

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


i kinda knew that was gonna be your next question.. lol

yeah i could probably sort it for you.

which counties do you require tho?

just uk mainland. ie. england, scotland, wales or do you want nth. ireland included too?

8
voddie
Re: Customising the registration page
  • 2005/6/30 12:47

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Cheers M0nty

Ideally the dropdown should be called "location"

The selections being

North East
North West
South East
South West
Midlands
East Anglia
Scotland
Wales

Would be terrific! any other changes I will do by following your code examples.

Thanks in advance M0nty

Voddie
To ask the hard question is simple

9
m0nty
Re: Customising the registration page
  • 2005/6/30 13:06

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


ahhh that makes it easier..

i was about to embark on finding a complete list of counties..

ie. derbyshire, south yorkshire, west yorks, essex, lincolnshire and so on..

which would have been a huge list.

10
voddie
Re: Customising the registration page
  • 2005/6/30 13:12

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Very true

It would be a nightmare!

Voddie
To ask the hard question is simple

Login

Who's Online

179 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 179


more...

Donat-O-Meter

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

Latest GitHub Commits