-
AuthorPosts
-
July 21, 2011 at 10:10 am #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 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
July 22, 2011 at 7:40 am #402475Hello,
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.
July 22, 2011 at 4:34 pm #402565I updated the Ticket with the access information.
Regards.
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
July 23, 2011 at 7:24 am #402631Hello,
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!
July 23, 2011 at 2:41 pm #402694Hello 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 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
July 25, 2011 at 3:54 am #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.
1 user says Thank You to Stork11 for this useful post
July 26, 2011 at 8:47 pm #403188Thanks, it worked… !
Just one last point : I need to remove the “Reply” email subscription option.
How could I do that ?
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
July 27, 2011 at 4:22 am #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.
1 user says Thank You to Stork11 for this useful post
-
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Stork11 13 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum