WordPress.org

Ready to get started?Download WordPress

Forums

Related Posts for WordPress
[resolved] [Plugin: Microkid's Related Posts] List doesn't show any result (21 posts)

  1. andreu
    Member
    Posted 2 years ago #

    Hi.

    I used this plugin long time ago and I was really satisfied with the obtained results. However, I've used it again on a new website and I'm having problems. The results list in the post editor never display any result. I see that some months ago some pople were having the same problem and on this topis there isn't any clear answer. Do you know any solution for this problem? When the ajax request is suposed to be running I get the following error with firebug:

    http://www.domain.com/wp-content/plugins/microkids-related-posts/mrp-search.php?mrp_s=re&mrp_scope=3&mrp_post_type=post&mrp_id=59933

    After a while, I also get the following message for the POST request at the file http://www.domain.com/wp-admin/admin-ajax.php

    <?xml version='1.0' standalone='yes'?><wp_ajax><response action='autosave_59933'><autosave id='59933' position='1'><response_data><![CDATA[]]></response_data><supplemental><active-post-lock><![CDATA[1325250682:2]]></active-post-lock></supplemental></autosave></response></wp_ajax>

    Hope we can find a solution.

    Thank you!

    http://wordpress.org/extend/plugins/microkids-related-posts/

  2. genesteinberg
    Member
    Posted 2 years ago #

    I've never been able to get this to work, whereas other related posts plugins seem to function just fine.

    I assume, since you wrote this 3 months ago, that the author is no longer interested in developing this plugin.

    Peace,
    Gene

  3. microkid
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    Version 4.0 should fix this issue. Can you please check?

  4. genesteinberg
    Member
    Posted 2 years ago #

    Still doesn't work. :(

    Peace,
    Gene

  5. microkid
    Member
    Plugin Author

    Posted 2 years ago #

    IT might have something to do with an old javascript file being cached. Can you empty your browser cache and try again?

  6. genesteinberg
    Member
    Posted 2 years ago #

    Emptied cache on two browsers (current Safari and Firefox for Mac OS X). Hypercache plugin cache emptied. Quit browsers and launched them again. Your plugin never works. But Better Related Content didn't miss a beat. Made sure one was disabled when the other was running.

    Sorry.

    Peace,
    Gene

  7. microkid
    Member
    Plugin Author

    Posted 2 years ago #

    Alright, or you could try to be a little more specific about what's going on. Try installing version 4.0.1 and see if that solves your issue.

  8. genesteinberg
    Member
    Posted 2 years ago #

    Specific? It doesn't work. There is no Related Posts content below the post. The theme is pretty normal, and other related post plugins seem to function.

    Tried 4.0.1. Still doesn't work.

    Peace,
    Gene

  9. microkid
    Member
    Plugin Author

    Posted 2 years ago #

    Yeah, thanks for being so constructive. You do realize that I'm just trying to help fellow WordPress users with my work right? Nobody pays me for this.

    Anyways, perhaps this might be obvious, but concidering that all other plugins automatically generate related posts, and mine creates the functionality of manually selecting related posts, did you actually select some posts on the post edit screen?

  10. genesteinberg
    Member
    Posted 2 years ago #

    Well, tell ya what. I'll just use the other plugins. Bye.

    Peace,
    Gene

  11. cfisher
    Member
    Posted 2 years ago #

    I've been using this plugin for 6 months with no issues whatsoever. I updated to 4.0.1 from version 3.?, and it cleared out all of my existing, manually set related posts and pages.

    I started to relink the pages first but noticed right away that it was not functioning as nothing showed on the pages. I think the problem is that Related Pages (and possibly Posts but I have not tried these yet) do not get saved after they are linked and the page updated. I checked this plugin link interface on the page after a related page is linked/saved and the entries I linked are missing - thus, is appears they do not get saved to the database for some reason when the page is updated.

    I am using the plugin's default CSS.

    If I change "What should be displayed when there are no related posts?" to None, then Related Posts shows on the page with None - so I know the plugin works, it just doesn't have any data to present.

    I hope this helps.

    Chris

  12. cfisher
    Member
    Posted 2 years ago #

    I think I figured out how to get it to function. Since this was an update from a previous version, I wondered if something went wrong. So I deactivated the plugin and reactivated it, and presto! It started to work again.

    One question MicroKid, your plugin use to list related items with bullets or something like that... now it lists the items with nothing - they look like they just hand in space. Basically an unordered list with no bullets.

    You can see what I am talking about here: http://www.bmedpress.com/store/biofeedback-devices/emwave-desktop

    Any chance you could add bullets or something like that? It use to have them in the default CSS.

    Thanks for your work on this plugin Microkid.

    Chris

  13. microkid
    Member
    Plugin Author

    Posted 2 years ago #

    Hi cfisher,
    Glad you got it to work. The problem was that with 4.0 some columns were supposed to be added when upgrading, but it appears the hook that supposed to be used for that doesn't work.

    Anyways, this should be taken care of in version 4.0.2

    As for your question about the bullets, with version 4.0 comes a default CSS file that's loaded. I added this to make the new thumbnails function work nicely. You can easily turn this off though, there's an option on the plugins settings page:

    "Would you like to use the default CSS provided for some basic styling of your related posts?"

    Just set this to "no". Let me know if this works!

  14. cfisher
    Member
    Posted 2 years ago #

    Thanks for the quick response.

    Setting that to "no" shows nicely with bullets now! Thanks!

    Thanks!

    Chris

  15. Viktor Leberecht
    Member
    Posted 2 years ago #

    I am running into this problem even though 4.0.2 is installed, wordpress is most recent version 3.3.1, but it only happens on new posts and pages.

    I can search for related posts, choose them, but when i save or publish a post/page the related Posts and Pages are not saved and don´t show up, also the "none" if nothing is related does not show up
    I tried deactivating and reactivating even deleting, clearing the database and reinstaling.
    But still related posts/pages are not saved.
    Example:
    http://viktor-leberecht.com/archives/1253
    On older posts the related posts and pages are still displayed
    Example
    http://viktor-leberecht.com/archives/1245

    Here are the settings (in german):
    Verwandte Posts automatisch unterhalb des Post-Inhalts anzeigen?
    Ja
    Sollen Beziehungen auf beiden Artikeln dargestellt werden?
    Nein, Link nur auf einer Seite anzeigen
    Welcher Titel soll angezeigt werden?
    Weitere zum Thema passende %posttype% auf dieser Webseite
    Would you like to display thumbnails with your related posts?
    No
    Would you like to use the default CSS provided for some basic styling of your related posts?
    No, I will add my own CSS styles
    How would you like to order your related posts?
    Automatically
    Welche Post-Typen dürfen verwandte Artikel haben?
    Artikel
    Seiten
    Sollen unterschiedliche Post-Typen in getrennten Listen oder in einer kombinierten Liste dargestellt werden?
    In einer Liste kombinieren

    I would appreciate any suggestions.
    KInd regards, Viktor

  16. nujhat
    Member
    Posted 2 years ago #

    hi,

    i am having the same problem as Viktor Leberecht. using V4.0.2 in wordpress 3.3.1.

    the related Posts and Pages are not saved and don´t show up for new post/page,but it is showing the related posts for older post/pages.

    any suggestion? will it help if i get back to any previous version of the plugin?

    Thanks
    Nujhat

  17. microkid
    Member
    Plugin Author

    Posted 2 years ago #

    Hi guys, please try version 4.0.3 and let me know if that fixes your problems.

  18. Viktor Leberecht
    Member
    Posted 2 years ago #

    Works fine now. Thanks for the qucik solution and all your work on this plugin. I like it very much, that i can manually choose what is shown as related.

    In my opinion this topic is resolved

    Kind regards, Viktor

  19. schulte
    Member
    Posted 2 years ago #

    Noticed that Related Posts weren't saving a selection. Poked around and noticed that the postion1 and position2 columns weren't created.

    Added these manually:

    ALTER TABLE wp_post_relationships ADD COLUMN position1 BIGINT(20) UNSIGNED NULL DEFAULT 0  AFTER post2_id
    ALTER TABLE wp_post_relationships ADD COLUMN position2 BIGINT(20) UNSIGNED NULL DEFAULT 0  AFTER post2_id'

    Seems to work again.

  20. loco_nick
    Member
    Posted 2 years ago #

    I had the same problem and traced it to a couple of things that might be useful.

    In another widget area i had a 'Featured Post' plugin that was resetting the $post->ID this related post plugin uses on line 24 in microkids-related-posts-widget.php. I went into the featured post plugin and added a wp_reset_query() to it, which meant that this plugin was then seeing the correct post ID. To check it, just echo the $post->ID on line 23 and check the ID matches the post you're looking at.

    I also changed line 24 to:

    $related_posts = MRP_get_related_posts( $post->ID, 0, 0);

    So removed the reference to the post type as for some reason that wasn't working on my install.

    Hope this helps out.

  21. tiborepcek
    Member
    Posted 1 year ago #

    Hi and many thanks for this great plugin!

    I am using WP 3.4.2 with Twenty Ten theme and your plugin in version 4.0.3, but AJAX search of related posts does not work.

    Any suggestions?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic