JComments

Integration of JComments to PUAcrade

PUAcrade — small component with 4 flash games for Joomla. The offered to your attention integration is inteneded to replace the built-in comment system by JComments and gives the possibility to visitors to comment the games

  1. Open files /components/com_puarcade/puarcade.html.php
  2. Find the lines:
          if ($comments == 1 && file_exists($mainframe->getCfg('absolute_path'). "/mambots/content/jom_comment_bot.php"))
    and replace with:
    /*      if ($comments == 1 && file_exists($mainframe->getCfg('absolute_path'). "/mambots/content/jom_comment_bot.php")) 
  3. Then find the lines below:
    }
          echo "</td></tr></table>";
          if ($scoreundergame)
    and replace with:
    }
    */
    if ($comments == 1) {
      $jcomments = $mainframe->getCfg('absolute_path') . '/components/com_jcomments/jcomments.php';
      if (file_exists($jcomments)) {
        require_once($jcomments);
        $obj_id = $game->id;
        $obj_title = $game->gamename;
        echo JComments::showComments($obj_id, 'com_puarcade', $obj_title);
          }
    }
          echo "</td></tr></table>";
          if ($scoreundergame)

See also:

 
JoomlaTune