07-31-2000, 10:55 PM
This hack puts the http://vbulletin.com/forum/images/firstnew.gif and http://vbulletin.com/forum/images/lastpost.gif indicators on the search results form. Clicking them will go to the first new post and the last post respectively.
First replace your "searchresultbit" template with this:
You will need to click on this and view the source code and copy it. I can't post it because vB parses the bgcolor codes and replaces them with this forums setting.
http://www.hedgehogwheels.com/searchresultbit.txt
Next edit search.php
Find:
$lastpostdate=date($dateformat,$searchresult[lastpost]+(($timeoffset+$bbtimezoneoffset)*3600));
Addd this Right After it:
// Search Hack begin;
$lastreplytime=date($timeformat,$searchresult[lastpost]+(($timeoffset+$bbtimezoneoffset)*3600));
$threadid = $searchresult[threadid];
if ($searchresult[lastpost]>$bblastvisit)
{
eval("\$gotonew = \"".gettemplate("forumdisplay_gotonew")."\";");
}
else
{ $gotonew = ""; }
// Search Hack End;
[Edited by rangersfan on 07-31-2000 at 08:26 PM]
First replace your "searchresultbit" template with this:
You will need to click on this and view the source code and copy it. I can't post it because vB parses the bgcolor codes and replaces them with this forums setting.
http://www.hedgehogwheels.com/searchresultbit.txt
Next edit search.php
Find:
$lastpostdate=date($dateformat,$searchresult[lastpost]+(($timeoffset+$bbtimezoneoffset)*3600));
Addd this Right After it:
// Search Hack begin;
$lastreplytime=date($timeformat,$searchresult[lastpost]+(($timeoffset+$bbtimezoneoffset)*3600));
$threadid = $searchresult[threadid];
if ($searchresult[lastpost]>$bblastvisit)
{
eval("\$gotonew = \"".gettemplate("forumdisplay_gotonew")."\";");
}
else
{ $gotonew = ""; }
// Search Hack End;
[Edited by rangersfan on 07-31-2000 at 08:26 PM]