diff -ru ../flag2/flag.inc ./flag.inc --- ../flag2/flag.inc 2009-03-12 12:18:17.000000000 +1100 +++ ./flag.inc 2009-03-12 12:25:24.000000000 +1100 @@ -1073,6 +1073,9 @@ } function uses_hook_link($teaser) { + if ($this->show_on_profile){ + return TRUE; + } return FALSE; } diff -ru ../flag2/flag.module ./flag.module --- ../flag2/flag.module 2009-03-12 12:18:17.000000000 +1100 +++ ./flag.module 2009-03-12 12:28:01.000000000 +1100 @@ -360,6 +360,10 @@ // Flag does not apply to this content. continue; } + if (!$flag->uses_hook_link(array())){ + // Flag not set to appear on profile. + continue; + } $account->content['flags'][$flag->name] = array( // @todo Make this better '#type' => 'item', Only in ./: user-profile-show-patch