By Tobias Rick Mediendesign on Tuesday, 19 July 2016
Posted in General Issues
Replies 3
Likes 0
Views 787
Votes 0
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
<?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.
Hi Yagendoo Media GmbH,

I am sorry for the delay of this reply. Kindly please find my response to your inquiries below:
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:

-> I cannot replicate this locally. May I know what version you're using currently? As for free version the rss option is not available for that.

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.

-> I've try to replicate locally seems I cannot replicate this. However I will extends this to our developers.
·
Wednesday, 20 July 2016 12:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Muhammad,

1) Yes, we are using the latest free version.

2) Okay, thanks for this.

Best regards,
Tobias
·
Wednesday, 20 July 2016 13:55
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Wednesday, 20 July 2016 14:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post