Showing Network Blog Latest Posts with News Show Pro Widget
January 2013 WordPress Theme
- GK User
- Thu May 02, 2013 1:18 pm
Is there any way that I can configure the News Show Pro Widget to show posts from networks blogs (example, Showing posts from http://blog1.wordpress.com on main website http://wordpress.com)? Can it be possible to define that on "Data source settings" of the widget with any tweaks?
-

- Junior Boarder
- GK User
- Thu May 02, 2013 10:42 pm
Hi,
Currently it is not possible - I'll add this feature for the next version of this widget.
Currently it is not possible - I'll add this feature for the next version of this widget.
-

- Administrator
- GK User
- Fri May 03, 2013 1:27 pm
Thank you so much. When can we expect it (approx)?
-

- Junior Boarder
- GK User
- Fri May 03, 2013 9:53 pm
Most probably it will be included in the GavernWP 1.8 update - the GavernWP 1.7 will be released with WordPress 3.6 - then we will start the work with new GavernWP version
You can follow our Github repository to get the newest features as soon as possible: https://github.com/GavickPro/Meet-GavernWP/
-

- Administrator
- GK User
- Sat May 04, 2013 10:08 am
Thank you. I will wait for the feature. One more request,
On the images attachment page, it currently displays images name+link to previous and next images. Is it possible to have links of images with text NEXT and PREVIOUS on each sides (right and left in addition) on the attachment pages?
On the images attachment page, it currently displays images name+link to previous and next images. Is it possible to have links of images with text NEXT and PREVIOUS on each sides (right and left in addition) on the attachment pages?
-

- Junior Boarder
- GK User
- Sun May 05, 2013 3:14 pm
@sociler - please look at this commit: https://github.com/GavickPro/Meet-Gaver ... e7aec66fee
-

- Administrator
- GK User
- Mon Jul 22, 2013 2:58 pm
Hello dziudek,
Is the "Showing Network Blog Latest Posts " possible yet? I am still waiting for this feature.
(Sorry I don't know how to follow things on github.)
Is the "Showing Network Blog Latest Posts " possible yet? I am still waiting for this feature.
(Sorry I don't know how to follow things on github.)
-

- Junior Boarder
- GK User
- Mon Jul 22, 2013 8:49 pm
No, because we didn't released the GavernWP v.1.8 - we are waiting for the WordPress 3.6.
-

- Administrator
- GK User
- Tue Jul 23, 2013 2:12 am
dziudek wrote:No, because we didn't released the GavernWP v.1.8 - we are waiting for the WordPress 3.6.
So will this be possible after wordpress 3.6 release and GavernWP 1.8?
-

- Junior Boarder
- GK User
- Tue Jul 23, 2013 3:26 pm
@soclier - please apply these changes: https://github.com/GavickPro/Meet-Gaver ... 2cdcfa9958 to your widgets.nsp.php file and then you will be able to display blogposts from other blog inside your multisite now 
It is very easy to use - if the multisite is activated under the offset parameter there is a new option called "Blog ID" - you have to put there data source blog ID or leave it blank if you want to use the current blog as a data source.
It is very easy to use - if the multisite is activated under the offset parameter there is a new option called "Blog ID" - you have to put there data source blog ID or leave it blank if you want to use the current blog as a data source.
-

- Administrator
- GK User
- Tue Aug 13, 2013 3:12 pm
I have updated the theme to the latest version but this feature doesnt seem to work properly for me. It doesn't pull the images from sub sites neither do the articles link the post!
The feature seems totally broken to me.
Help Please.
The feature seems totally broken to me.
Help Please.
-

- Junior Boarder
- GK User
- Wed Aug 14, 2013 8:10 am
Hi,
Did you used the proper blog id in the widget settings?
Did you used the proper blog id in the widget settings?
-

- Administrator
- GK User
- Wed Aug 14, 2013 12:18 pm
dziudek wrote:Hi,
Did you used the proper blog id in the widget settings?
I did use the proper blog id. I tried in some other sub sites as well. It doesnt seem to work. Can you please look into for me?
Thanks.
-

- Junior Boarder
- GK User
- Fri Aug 16, 2013 1:43 pm
Any solutions?
-

- Junior Boarder
- GK User
- Fri Aug 16, 2013 1:44 pm
Hi,
@sociler your GK NSP doesn't display posts from other site at all or you have problem only with the featured images?
@sociler your GK NSP doesn't display posts from other site at all or you have problem only with the featured images?
-

- Moderator
- GK User
- Sat Aug 17, 2013 12:32 pm
GK NSP widget tries to show some posts (doesn't show any images at all) and the links for the post that the widget shows, doesnt work.
-

- Junior Boarder
- GK User
- Sun Aug 18, 2013 10:37 pm
I am still waiting for some solution!
-

- Junior Boarder
- GK User
- Mon Aug 19, 2013 9:24 am
Try to remove this fragments (all) from your News/gavern/widgets.nsp.php
Then replace function generate_art_image with this one
Do a backup first.. and let me know if everything is ok.
- Code: Select all
if(is_multisite()) {
restore_current_blog();
}
Then replace function generate_art_image with this one
- Code: Select all
function generate_art_image($i) {
$art_ID = '';
if($this->wdgt_config['data_source_type'] == 'custom') {
$art_ID = $this->wdgt_results[0][$i]->ID;
} else {
$art_ID = $this->wdgt_results[$i]->ID;
}
$art_url = get_permalink($art_ID);
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $art_ID ), 'single-post-thumbnail' );
$image_path = $image[0];
$upload_dir = wp_upload_dir();
$image_path = str_replace($upload_dir['baseurl'] . '/', '', $image_path);
if($image_path != '') {
$img_editor = wp_get_image_editor( $upload_dir['basedir'] . '/' . $image_path);
if(!is_wp_error($img_editor)) {
$img_editor->resize($this->wdgt_config['article_image_w'], $this->wdgt_config['article_image_h'], true);
$img_filename = $img_editor->generate_filename( $this->id, dirname(__FILE__) . '/' . 'cache_nsp');
$img_editor->save($img_filename);
$new_path = basename($img_filename);
restore_current_blog();
$cache_uri = get_stylesheet_directory_uri() . '/gavern/cache_nsp/';
if(is_multisite() && $this->wdgt_config['data_source_blog'] != '' && is_numeric($this->wdgt_config['data_source_blog'])) {
switch_to_blog($this->wdgt_config['data_source_blog']);
}
if(is_string($new_path)) {
$new_path = $cache_uri . $new_path;
$style = '';
if($this->wdgt_config['image_block_padding'] != '' && $this->wdgt_config['image_block_padding'] != '0') {
$style = ' style="margin: '.$this->wdgt_config['image_block_padding'].';"';
}
if($this->wdgt_config['article_image_pos'] == 'left' && $this->wdgt_config['article_image_order'] == 1) {
return apply_filters('gk_nsp_art_image', '<div class="gk-nsp-image-wrap"><a href="'.$art_url.'" class="gk-image-link"><img src="'.$new_path.'" alt="" class="gk-nsp-image" '.$style.' /></a></div>');
} else {
return apply_filters('gk_nsp_art_image', '<a href="'.$art_url.'" class="gk-responsive gk-image-link"><img src="'.$new_path.'" alt="" class="gk-nsp-image gk-responsive" '.$style.' /></a>');
}
} else {
return __('An error occured during creating the thumbnail.', GKTPLNAME);
}
} else {
return __('An error occured during creating the thumbnail.', GKTPLNAME);
}
} else {
return '';
}
}
Do a backup first.. and let me know if everything is ok.
-

- Moderator
- GK User
- Mon Aug 19, 2013 12:41 pm
It BREAKS the website totally!
And Afterwards I cannot add any widgets. It doesn't work.
And Afterwards I cannot add any widgets. It doesn't work.
-

- Junior Boarder
- GK User
- Mon Aug 19, 2013 2:47 pm
Ok, it's working on my installation so I need your backend and FTP access (send me a PM if you can, and do a full backup)
-

- Moderator
- GK User
- Tue Aug 20, 2013 12:33 am
I have sent you a PM.
Thank you.
Thank you.
-

- Junior Boarder
21 posts
• Page 1 of 1
