The following was added to modules/tinycontent/index.php
// main query
}
if (($id == 19) && (empty($xoopsUser))) { // id of your content
redirect_header( XOOPS_URL , 2 , _NOPERM ) ;
exit ;
}else{
$result = $xoopsDB->query( "SELECT storyid,title,text,visible,nohtml,nosmiley,nobreaks,nocomments,link,address FROM $mytablename WHERE storyid='$id' AND visible" ) ;
if( ( $result_array = $xoopsDB->fetchArray( $result ) ) == false ) {
redirect_header( XOOPS_URL , 2 , _TC_FILENOTFOUND ) ;
exit ;
}
}