From websitemaster at cogeco.net Thu Jun 2 15:34:50 2016 From: websitemaster at cogeco.net (Tom) Date: Thu, 2 Jun 2016 15:34:50 -0400 Subject: [geeklog-devel] Mobile Detect in Geeklog In-Reply-To: <008d01d1baaf$3335c4e0$99a14ea0$@cogeco.net> References: <008d01d1baaf$3335c4e0$99a14ea0$@cogeco.net> Message-ID: <005201d1bd05$d4cdd380$7e697a80$@cogeco.net> Hi All, This is in regards to the issue of replying to a forum post (https://www.geeklog.net/forum/viewtopic.php? showtopic=96350 ) which results in an email error. I have temporary fixed the error by skipping the use of the function 'iconv_mime_encode'. (See https://github.com/Geeklog-Core/geeklog/issues/684 for more information) This function is used by COM_emailEscape to escape the email subject which is what is causing the email error (depends on language and what the forum title is) E_WARNING(2) - mail() [function.mail]: Bad parameters to mail() function, mail not sent. @ /foo/pear/Mail/mail.php line 153 Here is the temp updated function below with the use of the 'iconv_mime_encode' function commented out . Does anyone know why the PHP mail function doesn't like the output of iconv_mime_encode? Any idea what the fix for this is? Thanks Tom function COM_emailEscape( $string ) { global $_CONF; if (function_exists('CUSTOM_emailEscape')) { return CUSTOM_emailEscape($string); } $charset = COM_getCharset(); if(( $charset == 'utf-8' ) && ( $string != utf8_decode( $string ))) { /* HACKED FOR TEMP FIX OF FORUM POSTS NOT SENDING EMAIL NOTIFICATIONS FOR USERS IN A DIFFERENT LANGUAGE https://github.com/Geeklog-Core/geeklog/issues/684 if( function_exists( 'iconv_mime_encode' )) { $mime_parameters = array( 'input-charset' => 'utf-8', 'output-charset' => 'utf-8', // 'Q' encoding is more readable than 'B' 'scheme' => 'Q' ); $string = substr( iconv_mime_encode( '', $string, $mime_parameters ), 2 ); } else { $string = '=?' . $charset . '?B?' . base64_encode( $string ) . '?='; } */ $string = '=?' . $charset . '?B?' . base64_encode( $string ) . '?='; } else if( preg_match( '/[^0-9a-z\-\.,:;\?! ]/i', $string )) { $string = '=?' . $charset . '?B?' . base64_encode( $string ) . '?='; } return $string; } From mystralkk at gmail.com Thu Jun 30 09:34:41 2016 From: mystralkk at gmail.com (Kenji ITO) Date: Thu, 30 Jun 2016 22:34:41 +0900 Subject: [geeklog-devel] Fwd: Geeklog 2.1.2 Release Schedule In-Reply-To: <010901d1d20d$2945e7b0$7bd1b710$@cogeco.net> References: <010901d1d20d$2945e7b0$7bd1b710$@cogeco.net> Message-ID: I'll post the following message in behalf of Tom. ---------- Forwarded message ---------- From: Tom Date: 2016-06-29 22:50 GMT+09:00 Subject: Geeklog 2.1.2 Release Schedule To: Geeklog Development Cc: Yoshinori Tahara , dirk at haun-online.de, Kenji ITO < mystralkk at gmail.com> I think it would be nice if we could release Geeklog 2.1.2 this fall sometime. A few feature requests I think we should include are: Remove MS SQL from Geeklog (and Postgresql?) https://github.com/Geeklog-Core/geeklog/issues/659 Drop Support for COM_siteHeader and COM_siteFooter featureView all feature issues https://github.com/Geeklog-Core/geeklog/issues/657 Confirm Geeklog and Core Plugins Works on PHP 7 https://github.com/Geeklog-Core/geeklog/issues/679 plus the features Dengen and Kenji ITO are currently working on if possible. And of course fixing bugs. I will not have anytime this summer to work on Geeklog really but starting in September I should. I will also have to update a number of plugins (Autotags, Ban, Gus, etc...) to take into account the removal of COM_siteHeader and Footer. Does this sound find with everyone as a release window for the next version of Geeklog? Dengen and Kenji does this work with your schedules? Thanks Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: