PDA

View Full Version : add member field


brendon
01-30-2004, 07:20 AM
Hi

I have amember pro version. I want to add the field telephone number to the signup page.

I added this to the config.inc.php file:

add_member_field('telephone', Telephone Number',

'text', 'telephone number of member');

I have also enabled Use Address Info in config/setup screen.

However, it does not appear in the Admin screen. Is there something else I have to enable?

Thanks

alex
01-30-2004, 01:53 PM
It should. Make sure you've added this code to
amember/config.inc.php, not to
amember/admin/config.inc.php

brendon
02-01-2004, 02:05 PM
Hi Alex

Thanks for the response...

:confused: But I'm a bit confused now, because I don't have a config.inc.php file in the amember folder...there is only a config.inc.php file in the amember/admin folder...so that's where I tried adding the code.

If it helps you, I bought/downloaded the PRO version on 02 Jan 2004.

Appreciate your help,

Brendon

UPDATE: OK, I think I've figured it out now! For some reason in my version, the config.inc.php file is called member.inc.php. I added it there and it is now working. :D

Brendon

alex
02-02-2004, 02:35 AM
It is possible to add this info to
member.inc.php, but your config.inc.php is exists for sure. May be it is just invisible for you via FTP.


Ok, keep it as is if it works.