PEAK XOOPS - auto-login hacked files for XOOPS 2.0.13 -global language in englishin japanese

auto-login hacked files for XOOPS 2.0.13 -global language

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2005/9/12 15:45
mikeh  办霹始   Posts: 11
auto-login hacked files for XOOPS 2.0.13

the below seemed to cause my site to be classed as a japenese language site
think the 'easiestml_lang' statement was failing

is it important that the below is in global language english file ??

as always thanks for all your work
mike
// GIJ start
if( $GLOBALS['easiestml_lang'] != 'xlang:en' ) {

//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
define('_CHARSET', 'EUC-JP');
define('_LANGCODE', 'ja');

// change 0 to 1 if this language is a multi-bytes language
define("XOOPS_USE_MULTIBYTES", "1");

} else {

//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
define('_CHARSET', 'ISO-8859-1');
define('_LANGCODE', 'en');

// change 0 to 1 if this language is a multi-bytes language
define("XOOPS_USE_MULTIBYTES", "0");

}
// GIJ end
Votes:8 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2005/9/13 17:00
GIJOE  黎扦烦菱   Posts: 4110
hi mikeh

Quote:
auto-login hacked files for XOOPS 2.0.13

the below seemed to cause my site to be classed as a japenese language site
think the 'easiestml_lang' statement was failing

is it important that the below is in global language english file ??
Thank you for reporting.
It's my mistake with archiving.

Of course, the end of language/english/global.php should be

//%%%%%         LANGUAGE SPECIFIC SETTINGS   %%%%%
define('_CHARSET', 'ISO-8859-1');
define('_LANGCODE', 'en');

// change 0 to 1 if this language is a multi-bytes language
define("XOOPS_USE_MULTIBYTES", "0");
?>

I've just fixed and updated the archive.
Votes:13 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2005/9/14 10:49
mikeh  办霹始   Posts: 11
thanks for speedy reply
as always great work
mike
Votes:17 Average:4.12

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!