No, from what you have posted, the first piece of code that you said you see, already has that in it, even though it is not needed anymore. So the mod should work fine as is. Are you trying to use this in a custom skin by chance?
Quote:
<plugins>
<plugin active="1" executionorder="5">
<title>Real Name In Profile and Postbit</title>
<hookname>postbit_display_complete</hookname>
<phpcode><![CDATA[global $vbulletin;
if (!empty($post["field{$this->registry->options['realname_profile_field']}"]))
{
$template_hook['postbit_userinfo_right_after_posts'] .= '<dt>' . $vbphrase['real_name'] . '</dt> <dd>' . $post["field{$this->registry->options['realname_profile_field']}"] . '</dd>';
}]]></phpcode>
</plugin>
</plugins>
|