Loading Personal contact form and access denied
You need to check for flood before rendering the contact form

global $user;
// Check if flood control has been activated for sending e-mails.
$limit = variable_get('contact_threshold_limit', 5);
$window = variable_get('contact_threshold_window', 3600);
if (!flood_is_allowed('contact', $limit, $window) &amp;&amp; !user_access('administer contact forms')) {
// Don't display forms
}
else {
  $recipient = user_load(array('uid' =&gt; $fptr-&gt;uid));
  $output .= drupal_render(drupal_get_form(
  'contact_personal_form', $recipient));
}