murphy.wong
Forum Replies Created
-
Dear Oguz,
I’ve installed the BP Group Documents and it works. However, when an ordinary member upload a PDF, it only shows up under the “Document” tag. Is it possible to show the PDF file (with the message) under the “Home” tag as well? Thanks.
Regards,
MurphyI got the same error. I fix it temporarily by updating the sml.php file as below:
/*
$exists = mysql_query(“SELECT * FROM “.$wpdb->prefix.”sml where sml_email like ‘”.$wpdb->escape($email).”‘ limit 1″);
if (mysql_num_rows($exists)<1) {
$wpdb->query(“insert into “.$wpdb->prefix.”sml (sml_name, sml_email) values (‘”.$wpdb->escape($name).”‘, ‘”.$wpdb->escape($email).”‘)”);
}
*/
$exists = $wpdb->get_row(“SELECT * FROM “.$wpdb->prefix.”sml where sml_email like ‘”.$wpdb->escape($email).”‘ limit 1″);
if (!$exists) {
$wpdb->query(“insert into “.$wpdb->prefix.”sml (sml_name, sml_email) values (‘”.$wpdb->escape($name).”‘, ‘”.$wpdb->escape($email).”‘)”);
}Hope this help. Thanks.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Ai1ec_Exception_Handler::handle_error()Thanks, this fixed the error and the display is normal now. My wordpress site is now patched to the latest version. Thanks a lot.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Ai1ec_Exception_Handler::handle_error()I’m using the “All-in-One Event Calendar by Timely” plugin Version 1.10.5. When I upgrade the version to 2.1.5, the error will display. My PHP is version 5.5.7. I recovered the upgrade and keep the “All-in-One Event Calendar by Timely” plugin at version 1.10.5 to avoid the problem but my WordPress core is in version 4.0. I’m not so sure whether it is a problem of another plugin WPML Multilingual CMS” plugin and the Jupiter theme we installed. However, I’ve already tried upgrading the related tools and now everything seem fine except the “All-in-One Event Calendar”.
Forum: Plugins
In reply to: [SimpleMaps] The interactive map disappeared after upgraded to WordPress 4.0I find that it’s a problem with the theme selected as well. Anyway, the problem is solved by adding the javascripts into the header by updating the interactive-maps.php:
add_action(‘wp_head’,’hook_javascript’);
add_shortcode(‘simplemap’, ‘foobar_func’ );
add_shortcode(‘simplemaps’, ‘foobar_func’ );function hook_javascript()
{
$mapdata_url = “/wp-content/uploads/2013/12/mapdata_”.ICL_LANGUAGE_CODE.”.js”;
$mapfile_url = get_option(‘simplemaps_mapfile_url’);
$output= ‘<script type=”text/javascript” src=”‘. $mapdata_url .'”></script><script type=”text/javascript” src=”‘.$mapfile_url.'”></script>’;
echo $output;
}Forum: Plugins
In reply to: [MyBookTable Bookstore by Stormhill Media] access rightThe “MyBookTable” menu bar has gone after upgrading to WP 3.8.2. Thanks.
Forum: Plugins
In reply to: [WP Photo Album Plus] After newest upgrade, all pictures disappeared (again)I find the answer at http://ww.wp.xz.cn/support/topic/multisite-paths-should-not-be-wp-contentblogsdir?replies=4.
Adding the following to the configuration file will solve the problem:
define (‘WPPA_MULTISITE_BLOGSDIR’, true);Forum: Plugins
In reply to: [WP Photo Album Plus] After newest upgrade, all pictures disappeared (again)What’s the solution?
With the location enabled, the field displayed as “<!–:en–>Some place in Hong Kong<!–:–>” again. How to add the “location” field into source? Any help? Thanks in advance.
Forum: Plugins
In reply to: [Enhanced BibliPlug] RIS file imported but authors are not showing up?I find out it is the problem of my database character set. It a mix of collations of “utf8_general_ci” and “utf8_unicode_ci”. Updating the database tables will solve the problem. Thanks.