Quote:
Originally Posted by ps2wiz
Is it possible to disable the hashtags feature? I don't want the field to appear on newthread pages.
Thanks
|
yes you will need to remove the code below from the product XML then re-install the product clicking overwrite!
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