Products |  | Demo |  | News |  | Support |  | Forum

# Integration of JComments to Seyret video catalogue

The given intergation allows visitors to leave the comments to video files announced by the component Seyret.

1. Open file /components/com_seyret/includes/seyret_gadgets.php
2. Find the following line:

           if ($commentingsystem=="jomcomment"){

   and replace with:

           if ($commentingsystem=="jcomments") {
             $comments = $mosConfig_absolute_path . '/components/com_jcomments/jcomments.php';
             if (file_exists( $comments )) {
               require_once( $comments );
               $comments = JComments::showComments( $id, 'com_seyret', '' );
             }
           } else if ($commentingsystem=="jomcomment"){

3. Open file/administrator/components/com_seyret/admin.seyret.html.php
4. Find lines:

         $commentingsystemopt[]=mosHTML::makeOption("jomcomment",_JOMCOMMENT);
         $commentingsystemopt[]=mosHTML::makeOption("fireboard",_FIREBOARD);

   and insert after:

         $commentingsystemopt[]=mosHTML::makeOption("jcomments", 'JComments');

See also:

- Seyret component homepage
- Manual of JComments integration to third-party components.