1
loom001
I would like to change the word Occupation in the member Profile
  • 2004/3/4 22:08

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


Ok I tried to follow this Thread and I did make the changes in the xoopsmembers module under lanugage / English main.php file as followed:

from:
define("_MM_OCCUPATION","OCCUPATION contains");

to:
define("_MM_PROFFESSTION","Profession contains");

and it did not change in the xoopsmembers module. Did I miss something or am I supose to do more then this? My end goal is that when a user is looking at the members module the see the word Profession instead of Occupation.

Thanks indavance for any help.

2
tywick
Re: I would like to change the word Occupation in the member Profile
  • 2004/3/4 22:16

  • tywick

  • Just popping in

  • Posts: 12

  • Since: 2002/9/17


You would be better off altering the constant _MM_OCCUPATION

define("_MM_OCCUPATION","Profession contains");

Note: The actual code is looking for the constant _MM_OCCUPATION

3
marcan
Re: I would like to change the word Occupation in the member Profile
  • 2004/3/4 22:17

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Hi loom001,

You have to keep the same variable name. In your exemple, you changed the content of the variable AND the variable name :

Quote:
define("_MM_PROFFESSTION","Profession contains");

Try this :
Quote:
define("_MM_OCCUPATION","Profession contains");

Hope this helps !

***EDIT : Hey tywick, same answer, at the same time! ***

4
loom001
Re: I would like to change the word Occupation in the member Profile
  • 2004/3/8 14:21

  • loom001

  • Just popping in

  • Posts: 53

  • Since: 2002/8/17


Made the corrections, but that did not seem to work. The word Occupation still shows up in the profile view instead of Professions.

This is the change that I made to xoopsmember/language/english/main.php

define("_MM_OCCUPATION","Profession contains");

5
kahumbu
Re: I would like to change the word Occupation in the member Profile
  • 2004/3/8 16:01

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


You may need to look into 2 more folders to get all instances of "Occupation":

root_directory/language/english/ and
root_directory/modules/system/language/english/

I can't remember the exact files in those folders to change occupation, but they contain few files so just explore them to find the correct one.

Please tell us how it goes.

Thanks!


6
Dave_L
Re: I would like to change the word Occupation in the member Profile
  • 2004/3/8 17:24

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I did a text search (grep -di occupation *):

File language\english\user.php:
define('_US_OCCUPATION','Occupation');

File modules\system\language\english\admin\findusers.php:
define("_AM_OCCUPATION","Occupation contains");

File modules\system\language\english\admin\users.php:
define("_AM_OCCUPATION","Occupation");

File modules\xoopsmembers\language\english\main.php:
define("_MM_OCCUPATION","Occupation contains");

Login

Who's Online

210 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

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

Latest GitHub Commits