GIJOE,
I would thank you for this great module.
a small bug was found by
everestmyalbum/submit.php
line 222
=>
if( $caller == 'imagemanager' ) {
echo "<html><head>
<link rel='stylesheet' type='text/css' media='all' href='".XOOPS_URL."/xoops.css' />
<link rel='stylesheet' type='text/css' media='all' href='".XOOPS_URL."/modules/system/style.css' />
<meta http-equiv='content-type' content='text/html; charset=$xoops_charset' />
<meta http-equiv='content-language' content='$xoops_langcode' />
</head><body>" ;
} else {
mb functions in myalbum.textsanitizer.php does not work well sometimes.
so, I commented as following to avoid some language problem
myalbum/class/myalbum.textsanitizer.php
line 156
=>
/*
///////////////////////////////////////
// This does not work for Chinese
if( function_exists( 'mb_convert_encoding' ) && mb_internal_encoding() != mb_http_output() ) {
$text = mb_convert_encoding( $text , mb_internal_encoding() , "auto" ) ;
}
*/
hi phppp.
Thank you for reporting, and I'm sorry that my answer is too late.
Quote:
mb functions in myalbum.textsanitizer.php does not work well sometimes.
so, I commented as following to avoid some language problem
hmmm.
It sounds a very difficult problem.
Almost programmers can't understand all of multi-byte environment (C,K,V,J).
Thus, such features should be made by each localizer.
It should be separated into language/(your language)/ , I think.
In next version of myAlbum-P, I'll separete such functions into language/(your language)/local_functions.php
hi,
I'm testing your great module and I appreciate
When I ask a preview in the 'add photo' process (submit.php) as webmaster the result page left blank
"""..../modules/myalbum/submit.php?caller="""
btw I can add the photo to the album
when I do the same operation as anonymous user the preview works fine
I inserted the patch from phppp
my language is french
I checked permissions on both module and admin levels
any idea?
help welcome
it's working if I apply also the 'myalbum/class/myalbum.textsanitizer.php' patch
so far I applied only the first 'myalbum/submit.php'
patch
both patches are needed!
hi nnoel.
Thank you for reporting.
I recognize the code in myalbum.textsanitizer has some problems without multi-byte environment.
I've separeted this code into language files.
It will be release as myAlbum-P 2.83.
I've just checked this article.
Certainly, the meta headers are necessary.
It's clearly my mistake.
Thank you for advise!