sergeyzimin
Forum Replies Created
-
No. I removed this plug in. I was wrong that it saves some information. No results were saved. Polls and voting – nothing was saved. It’s nice but was not working. The common problem for plugins which are not ready for multisite – they do not create tables on other blogs. Only tables on root site.
Fix:
html_entity_decode($begin_wrap)
html_entity_decode($end_wrap)By the way I didn’t get why is there
if( ( !empty($begin_wrap) || $begin_wrap != ” )
because $begin_wrap can not be empty anyway:
function network_latest_posts($how_many=10, $how_long=0, $titleOnly=true,`$begin_wrap="\ n
, $end_wrap=””, $blog_id=’null’, $thumbnail=false, $cpt=”post”, $ignore_blog=’null’, $cat=’null’, $tag=’null’, $paginate=false, $excerpt_length=’null’, $display_root=false, $auto_excerpt=false, $full_meta=false, $size = ‘thumbnail’ ) {
<li>"</li>`So it should be like this:
if( count($postids{$blognlp}) == 1 ) {
$filter_cat = ” AND ID = “.$postids{$blognlp}[0];
if( !preg_match(‘/\(/’,$filter_cat) ) {
$needle = ‘ AND ‘;
$replacement = ‘ AND (‘;
$filter_cat = str_replace($needle, $replacement, $filter_cat);
}
and now it works
This is real bug and you should fix it and update your plugin.if( count($postids{$blognlp}) == 1 ) {
$filter_cat = ” AND ID = “.$postids{$blognlp};
if(!empty($filter_cat)) {
if( !preg_match(‘/\(/’,$filter_cat) ) {
$needle = ‘ AND ‘;
$replacement = ‘ AND (‘;
$filter_cat = str_replace($needle, $replacement, $filter_cat);
}
}i don’t understand why you need if(!empty($filter_cat)) because it cannot be empty anyway after $filter_cat = ” AND ID = “.$postids{$blognlp}; and if count($postids{$blognlp}) == 1
wrong:
$filter_cat = ” AND ID = “.$postids{$blognlp};$postids{$blognlp} is array and was treated as a string.
I have fixed the issue that i put in topic.
I have changed name of the function to ‘auto_excerpt_nlp’ on lines 905, 502, 443, 413. Now both plugins work fine together.2) I have changed line 96 from
$ignore = ” AND blog_id != $ignore_blog “; to
$ignore = ” AND blog_id = $ignore_blog “;
and line 104 to:
$ignore = ” AND (“;
for($z=0;$z<count($ignore_arr);$z++){
$ignore .= ” blog_id = $ignore_arr[$z] OR”;
}
$ignore = substr($ignore,0,strlen($ignore)-2);
$ignore .= “)”;and now only content from blogs that i want to include is showing up.
Didn’t have time to add an option for ‘include’ how it should be, maybe authors of plugin will do that.Just need to know about categories….
Forum: Plugins
In reply to: [Wordpress Poll] [Plugin: Cardoza WordPress Poll] Can not add poll in WP MSYou can make those changes in wordpress admin console. Go to “Plugins” and with selected plugin use the ‘edit’ link. On the right side you can choose file you want to edit.
Forum: Plugins
In reply to: [Wordpress Poll] [Plugin: Cardoza WordPress Poll] Can not add poll in WP MSOK.
1. As we said doesn’t work on multisite installation
2. Does not have option “no expiration” (that’s why i decided do not use this plugin)Forum: Plugins
In reply to: [Wordpress Poll] [Plugin: Cardoza WordPress Poll] Can not add poll in WP MSi see that i have checked this plugin before and decided for some reason do not use it. I will look deeper.
Forum: Plugins
In reply to: [Wordpress Poll] [Plugin: Cardoza WordPress Poll] Can not add poll in WP MSi will try this WordPress Poll and check if i can fix it. I’m looking for good poll plugin for myself. wp polls works after fix but has another bugs and it seem that author of plugin doesn’t support it anymore.
Forum: Plugins
In reply to: [Wordpress Poll] [Plugin: Cardoza WordPress Poll] Can not add poll in WP MSI believe i made that topic in wp polls plugin forum. May it was my mistake but i have to tell you that all those plugins written for WP single site installation have the same problem – they do not create tables and options for each blog/site. So find the installation function that creates tables and fix it.
Forum: Plugins
In reply to: [Wordpress Poll] [Plugin: Cardoza WordPress Poll] Can not add poll in WP MSForum: Plugins
In reply to: [Wordpress Poll] [Plugin: Cardoza WordPress Poll] Can not add poll in WP MSCheck out the topics in this forum. This plugin should be fixed for WPMS. I posted solution before.
Yes, the group is private. When i make in settings for subscriber role: “read private events” check box as unchecked then events for private groups are not seen anymore but i cant see events in private group (as member) also.
The same problem with changing setting – broken link.