1) Integrations -> Joomla Article -> Layout -> Comment Form -> Enable Subscription
The "Subscribe" section is still shown while the subscription is disabled. It seems that an old parameter "enable_rss" is still called in the file below but has been removed in the backend:
/components/com_komento/themes/wireframe/comment/tools.php, line 55
Changed
to
2) Integrations -> Joomla Article -> Layout -> Avatar -> Use Kommento Profile
While the Komento profiles are disabled the usernames remain clickable and refer to the default page of the website. Added parameter condition in the following file:
/components/com_komento/themes/wireframe/comment/item/author.php
Same for the thumbnail:
/components/com_komento/themes/wireframe/comment/item/avatar.php
Changed
to
on line 21 and 27.
The "Subscribe" section is still shown while the subscription is disabled. It seems that an old parameter "enable_rss" is still called in the file below but has been removed in the backend:
/components/com_komento/themes/wireframe/comment/tools.php, line 55
Changed
<?php if ($system->config->get('enable_rss') || $system->config->get('enable_subscription')) { ?>
to
<?php if ($system->config->get('enable_subscription')) { ?>
2) Integrations -> Joomla Article -> Layout -> Avatar -> Use Kommento Profile
While the Komento profiles are disabled the usernames remain clickable and refer to the default page of the website. Added parameter condition in the following file:
/components/com_komento/themes/wireframe/comment/item/author.php
<?php if( $row->author->guest ) {
if( !empty( $row->url ) && $system->config->get( 'enable_guest_link' ) ) { ?>
<a href="/<?php echo $this->escape( $row->url ); ?>"<?php echo $nofollow; ?><?php if( $system->konfig->get( 'enable_schema' ) ) echo ' itemprop="url"'; ?>>
<?php }
} else { ?>
<?php if ((int)$system->config->get('use_komento_profile') === 1): ?>
<a href="/<?php echo $row->author->getProfileLink( $this->escape( $row->email ) ); ?>"<?php if( $system->konfig->get( 'enable_schema' ) ) echo ' itemprop="url"'; ?>>
<?php endif; ?>
<?php } ?>
<span<?php if( $system->konfig->get( 'enable_schema' ) ) echo ' itemprop="name"'; ?>><?php echo $row->name; ?></span>
<?php if( $row->author->guest ) {
if( !empty( $row->url ) && $system->config->get( 'enable_guest_link' ) ) { ?>
</a>
<?php }
} else { ?>
<?php if ((int)$system->config->get('use_komento_profile') === 1): ?>
</a>
<?php endif; ?>
<?php } ?>
Same for the thumbnail:
/components/com_komento/themes/wireframe/comment/item/avatar.php
Changed
<?php if( $system->config->get( 'layout_avatar_integration' ) == 'gravatar' || !$row->author->guest ) { ?>
to
<?php if( $system->config->get( 'layout_avatar_integration' ) == 'gravatar' || !$row->author->guest && (int)$system->config->get('use_komento_profile') === 1) { ?>
on line 21 and 27.