The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
This hack puts the
and 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: Code:
$lastpostdate=date($dateformat,$searchresult[lastpost]+(($timeoffset+$bbtimezoneoffset)*3600)); Code:
// 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;
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
just put in my word... this works perfectly the first time on my forum ... so no need to hesitate
|
|
#3
|
|||
|
|||
|
Maybe I'm missing something, but where are you supposed to add that code? In the template?
I can't wait to install this! |
|
#4
|
|||
|
|||
|
Sorry Jim I screwed up my edit, take a look now it is fixed.
|
|
#5
|
|||
|
|||
|
Works beautifully! Thanks!
|
|
#6
|
|||
|
|||
|
Once again fine job Freddie!
|
|
#7
|
|||
|
|||
|
I tried to install this hack I would like it very much, but I can't find the line in search.php right after that I have to write the new code.
I have search.php3; vB 1.1.4 and there is no the line you show but this one: $lastpostdate=date($dateformat,intval($searchresul t[lastpost])+intval($timeoffset+$bbtimezoneoffset)*3600); I tried, anyway, to put the code after this, but it doesn't work. Thank you Freddie for you answer. Sinotto |
|
#8
|
|||
|
|||
|
Eh this hack is most likely for 1.1.3 and not 1.1.4
|
![]() |
|
|