for the "Retuirn Code" type issue, just this
$plugins->add_hook('postbit', 'nfsigs_postbit');
$plugins->add_hook('member_profile_end', 'nfsigs_profile');
function nfsigs_info()
{
return array(
'name' => 'Nofollow Signatures & Member Websites',
'description' => 'Makes signatures and members website link nofollow in both threads and member profiles.',
'website' => 'http://petforums.biz',
'author' => 'AJS',
'authorsite' => 'http://petforums.biz',
'version' => '1.1',
'compatibility' => '16*',
'guid' => '3d389cf01bb56abab0715c72b5a64aee'
);
}
function nfsigs_postbit($post)
{
$post['signature'] = str_replace('<a href="', '<a rel="nofollow" href="', $post['signature']);
$post['button_www'] = str_replace('<a href="', '<a rel="nofollow" href="', $post['button_www']);
return $post;
}
function nfsigs_profile()
{
global $db, $mybb, $website, $signature;
$website = str_replace('<a href="', '<a rel="nofollow" href="', $website);
$signature = str_replace('<a href="', '<a rel="nofollow" href="', $signature);
}
?>
Lost interest, sold my sites, will browse here once in a while. It's been fun.