What function? I've shown you the entire contents of the plug-ins. The only additional code is in postbit which displays the custom field:
PHP Code:
<!-- latest blog hack for members in good standing only -->
<vb:if condition="!in_array($bbuserinfo[usergroupid],array(2,20,22,28,30))">
<vb:if condition="$post['field6']">
<!-- <span class="smallfont">Recent Blog: <a href="{vb:raw post[field8]}" target="_blank">{vb:raw blogentry}</a></span> -->
<span class="smallfont">Recent Blog: <a href="{vb:raw post[field8]}" target="_blank">{vb:raw post[field7]}</a></span>
</vb:if>
</vb:if>
<!-- end latest blog hack for members in good standing only -->
The referenced line 13 in class_postbit.php in the first error is:
Code:
if (!isset($GLOBALS['vbulletin']->db))
The referenced line 21 in class_postbit.php in is:
Code:
require_once(DIR . '/includes/class_bbcode.php');