Quote:
Originally Posted by Kadi
Great hack. Thanks.
What item did you change?
How do I change the color of just this date alone?
|
It should work now with your native forum time.
To change the color, do the following.
Open the plugin entitled
insert thread date into template
It should look like this:
Code:
if (THIS_SCRIPT == ('search' || 'forumdisplay')) {
$vbulletin->templatecache['threadbit'] = str_replace(
'$thread[postusername]</span>',
'$thread[postusername]</span> <span class=\"time\">($thread[threaddate])</span>',
$vbulletin->templatecache['threadbit']
);
}
As you can see, I use the "time" class to color code it. Change it to whichever class you want. If you want to make it a custom color, like RED, the code could look like this:
Code:
if (THIS_SCRIPT == ('search' || 'forumdisplay')) {
$vbulletin->templatecache['threadbit'] = str_replace(
'$thread[postusername]</span>',
'$thread[postusername]</span> <span style=\"color: #FF0000;\">($thread[threaddate])</span>',
$vbulletin->templatecache['threadbit']
);
}