Quote:
Originally Posted by Mickie D
This will also take away the VB_Template errors that you will get if you use anything below vbulletin 4
Code:
if ($twitterEnabled)
{
$hashtag_field = '<div class="blockrow"><label for="hashtags" class="full">' . $vbphrase['hashtags'] . ':</label>
<input type="text" class="primary full textbox" name="hashtags" id="hashtags" value="' . $hashtag_values . '" maxlength="' . $vbulletin->options['titlemaxchars'] . '" tabindex="1" /></div>';
vB_Template::preRegister('newthread',array('hashtag_field' => $hashtag_field));
$vbulletin->templatecache['newthread'] = str_replace('$messagearea', '$hashtag_field . $messagearea', $vbulletin->templatecache['newthread']);
}
Regards
Mick
|
Ahhhhhhhh...... did not think about that before releasing it.... I will have to fix that up so that it will work in vBulletin 3.x.x too. Thanks Mick