1
Xtracted
Xoops 2.2 Language constants problem
  • 2005/7/30 12:40

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


I have added the new language constants after the wiki tutorial but I have some problem with the new constants in the file modules\system\language\english\modinfo.php

I get the constants undefined in the "Edit profile" for users.. have checked the files over and over again and cant find any problems..


le="color: #000000"><?php define("_MI_SYSTEM_BNAME14","Custom Block"); define("_MI_SYSTEM_UMODE_TITLE","Comments Display Mode"); define("_MI_SYSTEM_UORDER_TITLE","Comments Sort Order"); define("_MI_SYSTEM_REALNAME","Displayname"); define("_MI_SYSTEM_USERREGDATE","Member Since"); define("_MI_SYSTEM_USERPOSTS","Posts"); define("_MI_SYSTEM_ATTACHSIG","Always attach my signature"); define("_MI_SYSTEM_TIMEZONEOFFSET","Time Zone"); define("_MI_SYSTEM_MAILOK","Receive occasional email notices?"); define("_MI_SYSTEM_USERTHEME","Theme"); define("_MI_SYSTEM_ACTKEY","User activation key"); define("_MI_SYSTEM_LASTLOGIN","Last Login"); define("_MI_SYSTEM_MAILOK_DESC","By enabling this, administrators and moderators are allowed to send you notices occasionally via email"); define("_MI_SYSTEM_ANONYMOUS","Anonymous"); define("_MI_SYSTEM_SITECLOSEDMSG","The site is currently closed for maintainance. Please come back later.");

2
rowdie
Re: Xoops 2.2 Language constants problem
  • 2005/7/30 13:11

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


The "Edit profile" page uses constants from the extended profile module.

Check the constants in the /modules/profile/language/[your language] folder.

3
Xtracted
Re: Xoops 2.2 Language constants problem
  • 2005/7/31 11:07

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


The constants that are wrong are the new ones added in XOOPS 2.2...

If you look at the name of the constants that are wrong, it is "_MI_SYSTEM_" wich is the constants in the system/language/english/modinfo.php file.. the ones I added..

4
Xtracted
Re: Xoops 2.2 Language constants problem
  • 2005/8/1 14:10

  • Xtracted

  • Not too shy to talk

  • Posts: 138

  • Since: 2004/1/7 2


Anyone?