View Full Version : Italics for threads with new posts
SweetSVT99
10-07-2002, 07:05 AM
Does anyone know where I can find the hack to change the font to Italics for threads with new posts in them? I'm pretty sure I have seen it before, but I searched all over here and can't seem to find it.
Thanks!
Eander
10-09-2002, 12:47 AM
This is pretty easy. First thing you want to do is open up forumdisplay.php and look towards the end of the file (for me it was around line 633) for
eval("\$forumdisplaybits .= \"".gettemplate('forumdisplaybit')."\";");
replace that with...
if (substr($thread[newoldhot],0,3)=="new") {
$italics="<i>";
}
eval("\$forumdisplaybits .= \"".gettemplate('forumdisplaybit')."\";");
$italics="";
Then edit the forumdisplaybit template, inserting $italics after
<td bgcolor="#13486D" align="left" width="70%"><normalfont>
SweetSVT99
10-17-2002, 10:59 PM
Thank you for your response. I can't find the code in forumdisplaybits though...any suggestions?
Originally posted by Eander
This is pretty easy. First thing you want to do is open up forumdisplay.php and look towards the end of the file (for me it was around line 633) for
eval("\$forumdisplaybits .= \"".gettemplate('forumdisplaybit')."\";");
replace that with...
if (substr($thread[newoldhot],0,3)=="new") {
$italics="<i>";
}
eval("\$forumdisplaybits .= \"".gettemplate('forumdisplaybit')."\";");
$italics="";
Then edit the forumdisplaybit template, inserting $italics after
Dean C
10-18-2002, 05:20 PM
what an awesome idea!
- miSt
SweetSVT99
10-22-2002, 01:29 AM
I got it, it worked! Thanks!!!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.