Welcome, Guest
Username: Password: Remember me

TOPIC: Как отключить комментарии в статьях

Как отключить комментарии в статьях 1 year 5 months ago #8219

  • graver
  • graver's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Добрый день, как можно отключить комментарии в статьях, в плагинах найти не могу, в модулях тоже.
Прикладываю картинку что именно нужно убрать.
This image is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 year 5 months ago #8224

  • jeepers
  • jeepers's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 1
Найди файл disqus.php и измени на
<?php
/**
 * @package     Joomla.Cms
 * @subpackage  Layout
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('JPATH_BASE') or die;

?>

<!--<div id="disqus_thread"></div>
<script type="text/javascript">
    var disqus_shortname = 'omegatheme';
    (function() {
        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
        dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
        // dsq.src = '//a.disquscdn.com/embed.js';
        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    })();
</script>
<noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="//disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>-->

То бишь, закомментируй всё после "?>"
Last Edit: 1 year 5 months ago by jeepers.
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 year 4 months ago #8225

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hi,

Could you please write your question with English only ?

Best Regards
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 year 4 months ago #8226

  • graver
  • graver's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
And all the solution was found, and so the question was such as to disable comments, which are shown in the image. Just in the Joomla there are not plug-in module that would not turn off comments. Maybe you have another solution? That would not get into the code.
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 year 2 months ago #8362

  • pavlukha
  • pavlukha's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Спасибо, закомментирование кода помогло. Интересно, почему этот плагин не отображается в разделе "плагины" ? Или я проглядел?
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 year 1 week ago #8437

  • guitislex
  • guitislex's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 1
what is the solution?
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 week 5 days ago #9016

  • saluno
  • saluno's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Someone know the solution?
Maybe OT admin?

I really want to remove Disqus comments from ale active articles on OT Keila template.

Tomas
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 week 5 days ago #9017

  • hapt
  • hapt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 6
  • Karma: 0
saluno wrote:
Someone know the solution?
Maybe OT admin?

I really want to remove Disqus comments from ale active articles on OT Keila template.

Tomas

Can you send me ftp's information to This email address is being protected from spambots. You need JavaScript enabled to view it.
I'll change it for you
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 week 5 days ago #9018

  • hapt
  • hapt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 6
  • Karma: 0
saluno wrote:
Someone know the solution?
Maybe OT admin?

I really want to remove Disqus comments from ale active articles on OT Keila template.

Tomas
or you can try remove or comment Disqus on code file.
The path file: root / templates/ ot_keila / html / com_content / article / default.php line 167.
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 week 4 days ago #9019

  • saluno
  • saluno's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
hapt wrote:
saluno wrote:
Someone know the solution?
Maybe OT admin?

I really want to remove Disqus comments from ale active articles on OT Keila template.

Tomas

Can you send me ftp's information to This email address is being protected from spambots. You need JavaScript enabled to view it.
I'll change it for you

Only deleting whole line 167 not works.

B) I hope, you have my point of view.
I want to delete whole Disqus from web, turn it off.
Don't need any comments system active on website. B)

I sending You FTP information.
Last Edit: 1 week 4 days ago by saluno.
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 week 3 days ago #9020

  • hapt
  • hapt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 6
  • Karma: 0
saluno wrote:
hapt wrote:
saluno wrote:
Someone know the solution?
Maybe OT admin?

I really want to remove Disqus comments from ale active articles on OT Keila template.

Tomas

Can you send me ftp's information to This email address is being protected from spambots. You need JavaScript enabled to view it.
I'll change it for you

Only deleting whole line 167 not works.

B) I hope, you have my point of view.
I want to delete whole Disqus from web, turn it off.
Don't need any comments system active on website. B)

I sending You FTP information.

Hi,
Sorry, that's blog.php in path: templates/ot_keila/html/com_content/article/blog.php
I fixed it for you
The administrator has disabled public write access.
Time to create page: 0.197 seconds