Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • olivier34 Friend
    #166554

    I just installed JA Comments and I do have issues with the “Enable Thread” function.
    I do want to disable this function. I unchecked the box in the “Comment Settings” but it does not turn off the function.

    The buttons “Reply” and “Quotation” still appear below comments. (Note : Reply Button does not work…)

    I do not want those buttons to appear because I do not want to allow the thread option.

    How can I do that ?

    Regards.

    Stork11 Friend
    #402475

    Hello,

    Could you provide me with your site information (your site URL, your site admin account) and your FTP account? So I can diagnose this problem.

    Please use the following ticket link to update your information: http://support.joomlart.com/index.php?/Tickets/Ticket/View/77103

    Best regards.

    olivier34 Friend
    #402565

    I updated the Ticket with the access information.

    Regards.

    Stork11 Friend
    #402631

    Hello,

    I checked your site and saw that Reply button still works well. Nothing happens with it.

    Regarding “Thread” function, you misunderstood the meaning of it. When you enable this function, reply comments (child comments) will be indented to parent comments. When you disable this function, child comments won’t be indented.

    Please let me know if you need any further assistance. Thanks!

    olivier34 Friend
    #402694

    Hello nhatnx,

    Thanks for your reply.
    yes, the “reply button” works well thaht is good !
    I understand nox, the “thread” option is a display option so that replys do appear with an additional right indent.
    I thought that when “thread” is unchecked, than users do not have the capability to “reply” or “Quote” to posted comments.

    => is there a way to suppress this capabilty (suppress the “reply” and “quote” buttons) ? so that users can “only” comment via the main comment area ?

    Regards

    Stork11 Friend
    #402811

    <em>@olivier34 255177 wrote:</em><blockquote>Hello nhatnx,

    Thanks for your reply.
    yes, the “reply button” works well thaht is good !
    I understand nox, the “thread” option is a display option so that replys do appear with an additional right indent.
    I thought that when “thread” is unchecked, than users do not have the capability to “reply” or “Quote” to posted comments.

    => is there a way to suppress this capabilty (suppress the “reply” and “quote” buttons) ? so that users can “only” comment via the main comment area ?

    Regards</blockquote>

    Hello,

    You can delete the code which shows “Reply” and “Quote” buttons on front-end by opening “componentscom_jacommentthemesdefaulthtmlcommentsitems.php” file, then delete the following code (about line 179 to line 189):


    <div class="comment-reply" id="jac-span-reply-<?php echo $item->id;?>" >
    <?php $checkQuocte = 0;?>
    <?php if($item->type == 1){?>
    <?php if($currentUserInfo->guest && $postComment != "all"){?>
    <a href="javascript:open_login('<?php echo JText::_("Login now");?>');"><?php echo JText::_("Please login to post new comment.");?></a>
    <?php }else{ $checkQuocte = 1;?>
    <a onclick="replyComment(<?php echo $item->id;?>,'<?php echo JText::_("Posting");?>','<?php echo JText::_("Reply");?>');return false;" href="#jacommentid:<?php echo $item->id;?>" id="jac-a-reply-<?php echo $item->id;?>" title="<?php echo JText::_("Reply comment");?>"><span id="reply-<?php echo $item->id;?>"><?php echo JText::_("Reply");?></span></a>
    <?php }?>
    <?php }?>
    </div>
    <div class="comment-quote" id="jac-div-quote-<?php echo $item->id;?>"><?php if($checkQuocte){?><a id="jac-a-quote-<?php echo $item->id;?>" href="javascript:replyComment(<?php echo $item->id;?>,'<?php echo JText::_("Quoting");?>','<?php echo JText::_("Quote");?>','quote')" title="<?php echo JText::_("Quote this comment and reply");?>"><span id="quote-<?php echo $item->id;?>"><?php echo JText::_("Quote");?></span></a><?php }?></div>

    Best regards.

    olivier34 Friend
    #403188

    Thanks, it worked… !

    Just one last point : I need to remove the “Reply” email subscription option.

    How could I do that ?

    Stork11 Friend
    #403231

    <em>@olivier34 255796 wrote:</em><blockquote>Thanks, it worked… !

    Just one last point : I need to remove the “Reply” email subscription option.

    How could I do that ?</blockquote>

    Hello,

    Please open “componentscom_jacommentthemesdefaulthtmlcommentsaddnew.php” file, then modify the following line (about line 147):
    [PHP]
    $listSubscribe = array();$listSubscribe[0] = JHTML::_(‘select.option’,’0′,JText::_(“_NONE”));$listSubscribe[1] = JHTML::_(‘select.option’,’1′,JText::_(‘REPLIES’));$listSubscribe[2] = JHTML::_(‘select.option’,’2′,JText::_(‘NEW_COMMENTS’));
    [/PHP]
    to
    [PHP]
    $listSubscribe = array();$listSubscribe[0] = JHTML::_(‘select.option’,’0′,JText::_(“_NONE”));$listSubscribe[1] = JHTML::_(‘select.option’,’2′,JText::_(‘NEW_COMMENTS’));
    [/PHP]

    Open “componentscom_jacommentthemesdefaulthtmlcommentsedit.php” file, then modify the same code (about line 81).

    Best regards.

Viewing 8 posts - 1 through 8 (of 8 total)

This topic contains 8 replies, has 2 voices, and was last updated by  Stork11 13 years, 4 months ago.

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