Recent Topics

How it's possible disabled comment ?

Started by on Jun 10, 2019 – Contents updated: Jun 12, 2019

Jun 10, 2019 04:02    

Hello,

Any tips for disabled comment and not have information are disabled in public pages. (I need to publish legal articles)

Jun 10, 2019 09:14

You could use a combination of permissions for members etc. but I wanted to remove the notion that there was an option to comment and or note the fact.

So this may help. I used it to hide the fact there is any option to comment or offer feedback

in posts.main.php, page.main.php and single.main.php

Example: in single.main (version $Id: single.main.php,v 1.7 2007/11/24 21:31:22 fplanque Exp $)

Basically I put a condition around the feedback block

before skin_include( '_item_feedback.inc.php', array

 if(isset($current_User) and ($current_User->level)>1){
		skin_include( '_item_feedback.inc.php', array

and I put a banner informing users of this when not logged in
After <div id="content" class="column">

<?php 
   if(!isset($current_User) )
    {
   echo ('<div class="page_action">Only logged in users can see comments to posts')</div>');
    }
 ?>

Jun 12, 2019 01:23

Hello,

The following frequent issues seem to apply to your support request: (This is a semi-automated response):

  • The description of your issue is too vague / broken English
  • You did not provide a screenshot (as requested for support)
  • You should annotate a screenshot to better describe your problem


Form is loading...

b2evo – This forum is powered by b2evolution CMS, a complete engine for your website.