Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • obliat Friend
    #200614

    Hi guys, grateful you upgraded JA Comment to J3 and happily renewed my JAEC subscription.

    It works fine now. One thing I noticed is that in notification email I am getting a wrong link to the comment – the website is added twice:

    It is:

    http://www.ecars.bg/http://www.ecars.bg/blogs/686-toyota-mirai-pet-puti-po-skupo-zarezhdane-ot-tesla-model-s#jacommentid:1070

    Instead of:

    http://www.ecars.bg/blogs/686-toyota-mirai-pet-puti-po-skupo-zarezhdane-ot-tesla-model-s#jacommentid:1070

    Please help me fix it. Thank you 🙂

    Thanh Nguyen Viet Friend
    #546476

    Hello,

    We are happy to see you renewed JAEC subscription 🙂
    To resolve this issue, please open the file:
    components/com_jacomment/helpers/jahelper.php

    Find the code snippet below:
    [PHP]$url = JURI::root();
    $url = $url . $post[‘referer’];
    $url = str_replace(‘//’, ‘/’, $url);
    $url = str_replace(‘http:/’, ‘http://’, $url);[/PHP]

    And replace it with:
    [PHP]$url = trim($post[‘referer’]);
    if(preg_match(‘#^https?://#i’, $url)) {
    $url = JRoute::_($url);
    } else {
    $url = JRoute::_(JURI::root().$url);
    }[/PHP]

    obliat Friend
    #546824

    Sweet, I as looking at this enormous jahelper.php, wondering where exactly it needs tweaking :). Awesome, thanks a lot.

    obliat Friend
    #681375

    Guys, old thread, but same problem – I installed JA Comment on a Teline V and i’m having the same issue, but the code above is no longer the same.

    Also, JA Comment does not seem to work well with Bootstrap 3 and I see an error in Chrome console:

    Uncaught Error: Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher

    Is it possible to get JA Comment use the current jQuery (not 1.4.2)?

    I just wonder how to replace it with another comment component as you did, because I can’t export old comments…

    obliat Friend
    #747312

    Guys, old thread, but same problem – I installed JA Comment on a Teline V and i’m having the same issue, but the code above is no longer the same.

    Also, JA Comment does not seem to work well with Bootstrap 3 and I see an error in Chrome console:

    Uncaught Error: Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher

    Is it possible to get JA Comment use the current jQuery (not 1.4.2)?

    I just wonder how to replace it with another comment component as you did, because I can’t export old comments…

    Luna Garden Moderator
    #681461

    Hi,

    I have checked problem with link comment on email on my end, but haven’t seen the problem as you said.
    PM your site URL, admin account and FTP account, we shall check the issue for you.

    <blockquote>Uncaught Error: Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher

    Is it possible to get JA Comment use the current jQuery (not 1.4.2)?

    I just wonder how to replace it with another comment component as you did, because I can’t export old comments… </blockquote>
    Thanks for reporting this issue. I have discussed to the developer, we’ll try to update this component to compatible with Joomla 3.4 and jQuery lastest version. You can follow the progress by this link: http://pm.joomlart.com/browse/JAECCOMCOMMENTJVI-461

    Luna Garden Moderator
    #747387

    Hi,

    I have checked problem with link comment on email on my end, but haven’t seen the problem as you said.
    PM your site URL, admin account and FTP account, we shall check the issue for you.

    <blockquote>Uncaught Error: Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher

    Is it possible to get JA Comment use the current jQuery (not 1.4.2)?

    I just wonder how to replace it with another comment component as you did, because I can’t export old comments… </blockquote>
    Thanks for reporting this issue. I have discussed to the developer, we’ll try to update this component to compatible with Joomla 3.4 and jQuery lastest version. You can follow the progress by this link: http://pm.joomlart.com/browse/JAECCOMCOMMENTJVI-461

    obliat Friend
    #681790

    Thanks Luna, I found the Bootstrap issue so I might be able to help you fix it guys –
    JA Comment calls jquery 1.7.1 because that’s the version inside components/com_jacomment/libs/bootstrap/js/jquery.js – once I changed it to later than 1.9.1 it load fine (before that it even caused a conflict with megamenu with dropdown not workin).

    Here an example link that I get in the notification email http://www.ecars.bg/http://www.ecars.bg/blogs/techno-1/1158-bosch-kupi-seeo-solid-state-baterii#jacommentid:1575 (I’ll PM access).

    One last thing – If I click on JA Comment Add Comment link on the homepage when it loads the article it show the top, and does not anchor to the JA Comment window (had this issue with all previous versions as well when I upgraded Teline IV).

    P.S. As always (sinve 3 years now) I don’t receive forum notifications no matter I’m subscribed to.

    obliat Friend
    #747575

    Thanks Luna, I found the Bootstrap issue so I might be able to help you fix it guys –
    JA Comment calls jquery 1.7.1 because that’s the version inside components/com_jacomment/libs/bootstrap/js/jquery.js – once I changed it to later than 1.9.1 it load fine (before that it even caused a conflict with megamenu with dropdown not workin).

    Here an example link that I get in the notification email http://www.ecars.bg/http://www.ecars.bg/blogs/techno-1/1158-bosch-kupi-seeo-solid-state-baterii#jacommentid:1575 (I’ll PM access).

    One last thing – If I click on JA Comment Add Comment link on the homepage when it loads the article it show the top, and does not anchor to the JA Comment window (had this issue with all previous versions as well when I upgraded Teline IV).

    P.S. As always (sinve 3 years now) I don’t receive forum notifications no matter I’m subscribed to.

    Luna Garden Moderator
    #682013

    Hi Obilat,

    The issue that you reported, we didn’t catch it in our demo site, for both Link Error in Email and open Add Comment link.

    PM me your site URL, Admin account, and FPT so we could check in your end.

    Luna Garden Moderator
    #747665

    Hi Obilat,

    I can’t replicated the issue in our demo site, for both Link Error in Email and open Add Comment link.

    PM me your site URL, Admin & FTP account so that I can check it directly on your site.

    obliat Friend
    #682070

    Have to figure out access for you as I use Admin Tools and have admin IP whitelist rule.

    I fixed Add comment link as I have some notes on the issue that your colleagues fixed before for me (ticket 93105) It’s as follows:

    In “/components/com_jacomment/themes/default/html/comments/getbutton.php” file
    from:

    <?php echo $links."#ja-contentwrap"; ?>
    change to:

    <?php echo $links."#jac-wrapper"; ?>

    I’ll PM you to arrange login credentials.

    obliat Friend
    #747713

    Have to figure out access for you as I use Admin Tools and have admin IP whitelist rule.

    I fixed Add comment link as I have some notes on the issue that your colleagues fixed before for me (ticket 93105) It’s as follows:

    In “/components/com_jacomment/themes/default/html/comments/getbutton.php” file
    from:

    <?php echo $links."#ja-contentwrap"; ?>
    change to:

    <?php echo $links."#jac-wrapper"; ?>

    I’ll PM you to arrange login credentials.

    Luna Garden Moderator
    #682299

    Thanks, I sent you my IP Address.

    Luna Garden Moderator
    #747814

    Thanks, I sent you my IP Address.

Viewing 15 posts - 1 through 15 (of 19 total)

This topic contains 19 replies, has 3 voices, and was last updated by  Luna Garden 9 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum