/**
  * Override parent method
  *
  * @return bool
  */
 protected function is_vote_buttons_enabled()
 {
     parent::is_vote_buttons_enabled();
     require_once DIR . '/includes/functions_socialgroup.php';
     $discussion = fetch_socialdiscussioninfo($this->item['discussionid']);
     $group = fetch_socialgroupinfo($discussion['groupid']);
     if (can_post_new_message($group)) {
     } else {
         $this->error_msg = 'vbv_post_can_not_be_voted';
     }
     if (!empty($this->error_msg)) {
         return false;
     }
     return true;
 }