Hide feedback for Non members


Notice: Undefined variable: params in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 63

Warning: array_merge(): Expected parameter 2 to be an array, null given in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 63

Notice: Trying to access array offset on value of type null in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 70

Notice: Trying to access array offset on value of type null in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 80

Notice: Trying to access array offset on value of type null in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 85

Notice: Trying to access array offset on value of type null in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 91

Notice: Trying to access array offset on value of type null in /home/rogerlov/public_html/blog/skins/print/index.main.php on line 93

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>',
      ) );}