rafff
Forum Replies Created
-
Forum: Plugins
In reply to: [Watermark My Image] Encoding problem with the postsI got the same problem. Plugin Autor please repair this!
Forum: Plugins
In reply to: [Plugin: WP-Table Reloaded] Encoding problem when importing tableIn wp-table-install.php
Add CHARACTER SET to sql query like that:
$sql = “CREATE TABLE “.$table_name.” (
table_aid MEDIUMINT(10) NOT NULL AUTO_INCREMENT,
table_name VARCHAR(200) DEFAULT ‘Table name’ NOT NULL,
description MEDIUMTEXT NOT NULL,
alternative TINYINT(1) DEFAULT ‘1’ NOT NULL,
show_name TINYINT(1) DEFAULT ‘1’ NOT NULL,
show_desc TINYINT(1) DEFAULT ‘0’ NOT NULL,
head_bold TINYINT(1) DEFAULT ‘1’ NOT NULL,
UNIQUE KEY id (table_aid),
PRIMARY KEY (table_aid)
) DEFAULT CHARACTER SET = utf8
COLLATE = utf8_polish_ci;”;`You must deleted previouns tables and than activate plugin again toinstal this correctly or add ALTER CHARSET query in ex phpmyadmin
Forum: Fixing WordPress
In reply to: WordPress 2.7 wp_list_pages Exclude Broken?In my 2.8.4 I solve the problem:
1. Like vincentrich says:
My temporary fix was to edit wp-include/post-template.php:
Line 616: $r[‘hierarchical’] = 0;
Edit to: //$r[‘hierarchical’] = 0;2. Edit post.php in the /wp-includes
if ( !empty($exclude_tree) ) {
$excludetrees = array();
$excludetrees = preg_split(‘/[\s,]+/’,$exclude_tree);
// $exclude = (int) $exclude_tree;
foreach ($excludetrees as $exclude) { $children = get_page_children($exclude, $pages);
$excludes = array();
foreach ( $children as $child )
$excludes[] = $child->ID;
$excludes[] = $exclude;
$total = count($pages);
for ( $i = 0; $i < $total; $i++ ) {
if ( in_array($pages[$i]->ID, $excludes) )
unset($pages[$i]);
}
}
}Forum: Plugins
In reply to: Democracy PollI got this same. I have no idea what is wrong:/