cgossy
Forum Replies Created
-
Forum: Plugins
In reply to: [Manual Related Posts] Lost related posts after upgrade 1.8.6Similar problem and temp. resolution explained in post
cheers
Forum: Plugins
In reply to: [Manual Related Posts] 1.8.3 update stopped showing my related postsI ran into the same problems after updateing to 1.8.4 (no errormessages, but no related postes were displayed anymore).
After doing some code investigations I found the problem in the filebaw-manual-related-posts/inc/frontend-noajax.inc.php in function bawmrp_the_content:
if ( ! $post || empty($bawmrp_options['in_content']) || $bawmrp_options['in_content']!='on' && $content!='' || apply_filters( 'stop_bawmrp', false ) ) { return $content; }
when using the do_shortcode method for displaying the related posts usually the
$bawmrp_options['in_content']
is empty and you will see nothing because$content
is also an empty string.I replaced these lines with the code in older releases which is:
if ( ! $post || $bawmrp_options['in_content']!='on' && $content!='' || apply_filters( 'stop_bawmrp', false ) ) { return $content; }
and it worked fine for me.
@julio: Please take a look at my workaround and refactor your code in order to get the problem solved.
For anyone who is also applying the workaround: Please note that this code changes are reverted when you update the plugin!
Forum: Plugins
In reply to: [Event Organiser] Problem with event sortingdone
Forum: Plugins
In reply to: [Manual Related Posts] Order of Related Posts?Forum: Plugins
In reply to: [Manual Related Posts] Order of Related Posts?Hi
Did you check the cache settings of the plugin (Parameter “Caching data” on the plugin settings page)? If it is greater than 0 then your drag&drop changes will take effekt after the number of days that are set in the cache parameter .Set it to 0 for your Tests
(And yes, I meant the “Publish” and “Update” button)
Forum: Plugins
In reply to: [Manual Related Posts] Order of Related Posts?Hi
Drag&Drop the related posts in the correct order and than press the “save” button of your post/page
You don’t have to do any code changes for that.
cheers
chrisForum: Plugins
In reply to: [Manual Related Posts] Order of Related Posts?I’m facing the same poblem
Until this is supported by the pluging, I fixed this problem and changed “wp-content\plugins\baw-manual-related-posts\inc\bothend-noajax.inc.php”
function bawmrp_get_related_posts
function bawmrp_get_related_posts( $post_id, $only_published=true ) { global $bawmrp_options; $ids = get_post_meta( $post_id, '_yyarpp', true ); $orig_order=wp_parse_id_list($ids); if( $only_published ){ //$published_ids = !empty( $ids ) != '' ? implode( ',', wp_parse_id_list( wp_list_pluck( get_posts( array( 'include' => $ids, 'post_type' => $bawmrp_options['post_types'] ) ), 'ID' ) ) ) : array(); $published_ids = !empty( $ids ) != '' ? wp_parse_id_list( wp_list_pluck( get_posts( array( 'include' => $ids, 'post_type' => $bawmrp_options['post_types'] ) ), 'ID' ) ) : array(); $ids = array(); foreach ($orig_order as $id){ if (in_array($id,$published_ids)) array_push($ids,$id); } $ids = implode( ',',$ids); }else{ $ids = !empty( $ids ) != '' ? implode( ',', wp_parse_id_list( $ids ) ) : array(); } return $ids; }
PLEASE Note that the changes will be deleted if you update the plugin!
thanks works!
Forum: Plugins
In reply to: [Slideshow] 2.2.13 appears to be broken on WordPress 3.6reverted back to version 2.2.11 – js works
https://www.ads-software.com/plugins/slideshow-jquery-image-gallery/developers/
if you need any test environment please let me know. I’ll tell you the link for my test site
Forum: Plugins
In reply to: [Slideshow] 2.2.13 appears to be broken on WordPress 3.6is it possible to switch back to the old javascript until the problem is fixed?
Forum: Plugins
In reply to: [Slideshow] 2.2.13 appears to be broken on WordPress 3.6this is the line in the original source code that fails (slideshow.calculation.js line 229):
var imageDimension = this.viewData[viewID][slideID]['imageDimension'];
added
alert(this.viewData.length)
result: length = 0Forum: Plugins
In reply to: [Slideshow] 2.2.13 appears to be broken on WordPress 3.6I also have troubles after upgrading slideshow to 2.2.13 (WP 3.6) a Javascript error occures:
TypeError: this.viewData[e] is undefined
https://www.villakunterbunt-eisenstadt.at/wp-content/plugins/slideshow-jquery-image-gallery/js/min/all.frontend.min.js?ver=2.2.13
Line: 1
and the slideshow isn’t loading the images.
regards
Forum: Plugins
In reply to: [Table of Contents Plus] Javascript issuesI deactivated the version checking code manually. works now!
Forum: Plugins
In reply to: [Table of Contents Plus] Javascript issuesI’m having a similar problem with toc+ and wp 3.6
A js error in toc js code is causing problems in other plugins (e.g. wp-jquery-lightbox)
Forum: Plugins
In reply to: [Event Organiser] Problem with event sortingWorks now with the applied patch!
Thanks