Welcome, Guest
Username: Password: Remember me

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

Как отключить комментарии в статьях 1 year 3 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 3 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 3 months ago by jeepers.
The administrator has disabled public write access.

Как отключить комментарии в статьях 1 year 3 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 3 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 1 month ago #8362

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

Как отключить комментарии в статьях 10 months 4 weeks ago #8437

  • guitislex
  • guitislex's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
what is the solution?
The administrator has disabled public write access.
Time to create page: 0.175 seconds