Support » Plugin: Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] Great Plug In But One Problem

  • Hi,

    Thank you for a great in. I am now using it on my site and you can see it here at my web site. The problem is that there appears to be an incompatibility with LightBox or PHP-Exec. For example, this page. It is unable to render for some reason. If I disable the plug in the page displays fine. Also, if I remove this code from the page, then it also displays fine when the plug in is enabled.

    function dbslide(){
    $slideshowname=”Fluminese Champions”;
    $database = “chengrob_photo”;
    $connection = mysql_connect($host,$user,$password)
    or die (“couldn’t connect to server”);
    $db = mysql_select_db($database)
    or die (“Couldn’t select database”);
    $query = “SELECT * FROM Pic WHERE Description=’$slideshowname'”;
    $result = mysql_query($query)
    or die (“Couldn’t execute query.”);

    while ($row = mysql_fetch_array($result))
    $query1=”SELECT People.Name,People.Numero FROM Linker,People WHERE Linker.PeopleNum = People.Numero AND Linker.PhotoNum = $Numero order by concat(substring_index(Name,’ ‘,-1),’ ‘,substring_index(Name,’ ‘,1))”;
    $result1 = mysql_query($query1);
    while ($row1 = mysql_fetch_array($result1))
    $arr[]= “$Name”;}
    if (is_array($arr))
    {$str=implode(“, “,$arr);}
    if ($rownum == 1) echo “<center><h3>Click below to begin the slideshow</h3><table border=1><tr><td><img src=\”/flum/couple.jpg\”></td></tr></table></center>”;
    else echo “Test Me“;



    Do you have any advise for me? I would much appreciate it.

Viewing 1 replies (of 1 total)
  • Sorry, I’m not sure what exactly would be going wrong. Do you get a PHP error? Maybe you can turn on WP_DEBUG and you’ll get a useful error.

    You may want to try disabling the automatic display option in YARPP options and instead adding the related_posts() template tag to your theme file.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Great Plug In But One Problem’ is closed to new replies.