Parameters Not Working As Expected
Resolved

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.
3 replies
  • Muhammad Fadhli replied on Wednesday, July 20 2016, 12:52 PM
    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.
    Best regards,
    Fadhli

    These links might come in handy.Please do take some time to read through some of these links:

    http://stackideas.com/docs
    http://stackideas.com/support


    Like and follow to our social media pages to know the latest update!:

    http://facebook.com/StackIdeas
    http://twitter.com/stackideas
  • Yagendoo Media GmbH replied on Wednesday, July 20 2016, 01:55 PM
    Hello Muhammad,

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

    2) Okay, thanks for this.

    Best regards,
    Tobias
  • Muhammad Fadhli replied on Wednesday, July 20 2016, 02:15 PM
    You are most welcome ;)
    Best regards,
    Fadhli

    These links might come in handy.Please do take some time to read through some of these links:

    http://stackideas.com/docs
    http://stackideas.com/support


    Like and follow to our social media pages to know the latest update!:

    http://facebook.com/StackIdeas
    http://twitter.com/stackideas
Your time
Stack Ideas time
Support is
Offline
It's after office hours

It is currently off working hours and most of us aren't around.

Rest assured that we will get back to your issues as soon as the day starts tomorrow!


Official support hour is:
Monday — Friday. 10:00 am - 7:00 pm
Our timezone:
Kuala Lumpur (GMT +8)