JComments problem

More
5 years 5 months ago #75268 by lipatovroman
Hello!
I found that JComments does not displays anymore - if object_group id DB = com_flexicontent
So, when I change object_group to com_content - it displays.
Else, all new comments have object_group = com_content by default.
So, in order for comments to be displayed, we need change all object_group id DB = com_flexicontent
to object_group id DB = com_content...

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #75277 by ggppdk
Replied by ggppdk on topic JComments problem
Hello

please wait a little on this one

will make code to convert all 'com_flexicontent' "comments" object to 'com_content'


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #75278 by lipatovroman
Replied by lipatovroman on topic JComments problem
I already made it using mysql querry
Code:
UPDATE _jcomments SET object_group = REPLACE (object_group, 'com_flexicontent', 'com_content');

Is this update related to FC? Or it happens because JComments was updated?

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #75280 by ggppdk
Replied by ggppdk on topic JComments problem
Hello

i am not sure, will need to test

maybe related to changes of 3.3.0


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #75283 by lipatovroman
Replied by lipatovroman on topic JComments problem
Also now JCommnets now displays not in this place
Code:
<?php if ($this->params->get('comments') && !JRequest::getVar('print')) : ?> <!-- BOF comments --> <div class="comments group"> <?php if ($this->params->get('comments') == 1) : if (file_exists(JPATH_SITE.DS.'components'.DS.'com_jcomments'.DS.'jcomments.php')) : require_once(JPATH_SITE.DS.'components'.DS.'com_jcomments'.DS.'jcomments.php'); echo JComments::showComments($item->id, 'com_flexicontent', $this->escape($item->title)); endif; endif; if ($this->params->get('comments') == 2) : if (file_exists(JPATH_SITE.DS.'plugins'.DS.'content'.DS.'jom_comment_bot.php')) : require_once(JPATH_SITE.DS.'plugins'.DS.'content'.DS.'jom_comment_bot.php'); echo jomcomment($item->id, 'com_flexicontent'); endif; endif; ?> </div> <!-- BOF comments --> <?php endif; ?>


but in this place
Code:
<?php if ($item->event->afterDisplayContent) : ?> <!-- BOF afterDisplayContent --> <div class="fc_afterDisplayContent group"> <?php echo $item->event->afterDisplayContent; ?> </div> <!-- EOF afterDisplayContent --> <?php endif; ?>

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.298 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline