1
davidtillyer
HELP Editing Userform

On the system each user has a "USER FORM" for the systems admin it's located here. http://www.mysite.com/modules/system/admin.php?fct=users

I do not use the "AIM" and the "YIM" so I wanted to change them to "Hotmail" and "Skype" I have changed the WORDS that appare as you look at it but when I try and enter an email Hotmail address id dose NOT retain this, nore the skype ID,

Q: What do I need to do to have the data base retain this info like all the other fields. (see code below)

$aim_text = new XoopsFormText(Hotmail, "user_Hotmail", 30, 30, $hotmail_value);
$yim_text = new XoopsFormText(SkypeID, "user_SkypeID", 30, 30, $skypeid_value);

2
hervet
Re: HELP Editing Userform
  • 2005/5/22 13:02

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


Why don't you just rename the fields in the translations files ?

3
davidtillyer
Re: HELP Editing Userform

Where are the "translations files" located?

4
m0nty
Re: HELP Editing Userform
  • 2005/5/24 18:24

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


languages folder..

also there's an FAQ section dealing with editing userform & reg forms..

5
davidtillyer
Re: HELP Editing Userform

Hi Thank you for the tip. I have changed the field name to "Hotmail & Skype" but if I try and change the first part '_US_AIM' to '_US_Hotmail' it dose not work (see code below)

//%%%%%% File Name userinfo.php %%%%%
define('_US_SELECTNG','No User Selected! Please go back and try again.');
define('_US_PM','PM');
define('_US_ICQ','ICQ');
define('_US_AIM','Hotmail');
define('_US_YIM','Skype');
define('_US_MSNM','MSNM');
define('_US_LOCATION','Location');
define('_US_OCCUPATION','Occupation');

What I'm trying to do is change the two AIM and YIM as I do NOT need them to captuer other user info.

How it is at the moment (see code above) when a user enters ther Hotmail or skype info in to the two lines the information is NOT retained.

Can someone PLEASE help me with this or give me an exp of how the full line of code sould look to work.

6
davidtillyer
Re: HELP Editing Userform

CAN SOMEONE PLEASE HELP ME WITH THIS?

Quote:

davidtillyer wrote:
Hi Thank you for the tip. I have changed the field name to "Hotmail & Skype" but if I try and change the first part '_US_AIM' to '_US_Hotmail' it dose not work (see code below)

//%%%%%% File Name userinfo.php %%%%%
define('_US_SELECTNG','No User Selected! Please go back and try again.');
define('_US_PM','PM');
define('_US_ICQ','ICQ');
define('_US_AIM','Hotmail');
define('_US_YIM','Skype');
define('_US_MSNM','MSNM');
define('_US_LOCATION','Location');
define('_US_OCCUPATION','Occupation');

What I'm trying to do is change the two AIM and YIM as I do NOT need them to captuer other user info.

How it is at the moment (see code above) when a user enters ther Hotmail or skype info in to the two lines the information is NOT retained.

Can someone PLEASE help me with this or give me an exp of how the full line of code sould look to work.

Login

Who's Online

203 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 203


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