Integration of JComments to Seyret video catalogue
|
The given intergation allows visitors to leave the comments to video files announced by the component Seyret.
- Open file /components/com_seyret/includes/seyret_gadgets.php
- 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"){
- Open file/administrator/components/com_seyret/admin.seyret.html.php
- Find lines:
$commentingsystemopt[]=mosHTML::makeOption("jomcomment",_JOMCOMMENT);
$commentingsystemopt[]=mosHTML::makeOption("fireboard",_FIREBOARD);
and insert after:
$commentingsystemopt[]=mosHTML::makeOption("jcomments", 'JComments');
See also:
|