There's a hook now in the profile.php page right after
PHP Code:
$userdata->set('signature', $signature);
entitled profile_updatesignature_complete
Will the hook be good being that its AFTER the bit, not BEFORE it?
If so, this would be the permanent fix -
Visit your plugin manager, click add new plugin.
Product - vbulletin
Hook location - profile_updatesignature_complete
title - update signatures
code -
PHP Code:
if(empty($vbulletin->userinfo['signature']))
{
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "post SET showsignature = '1' WHERE userid='" . $vbulletin->userinfo['userid'] . "'");
}
plugin is active - yes
and remove the code from your profile.php (if you are reading this message, its probably not there anyway)
Thoughts?