Hide feedback for Non members

Hide feedback for Non members

Version 4.1.7 and 5.0.5

Done on V5 elf only

In single.main.php
@version $Id: single.main.php,v 1.7 2007/11/24 21:31:22 fplanque Exp $

added if(isset($current_User) and ($current_User->level)>1){ and final } to hide the comment form from public view. In this case, not this blog, the user has to belong to a group level of 2 or higher, i.e.they will have to register and be allocated privaledges.

Code

if(isset($current_User) and ($current_User->level)>1){
    skin_include( '_item_feedback.inc.php', array(
        'before_section_title' => '<h3>',
        'after_section_title'  => '</h3>',
      ) );}