The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
I've been looking for a hack like this for a long time and saw it here (lists the last ten searches):
http://www.sitepointforums.com/search.php Did this get distributed here? Anyone know where I can get it? Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
The searches are stored in the search table and you can quite easily duplicate what Wayne has done.
|
|
#3
|
||||
|
||||
|
In search.php look for:
PHP Code:
PHP Code:
Code:
<tr color="$backcolor"> <td><normalfont><a href="search.php?s=$session[sessionhash]&action=showresults&searchid=$latestsearch[searchid]">$latestsearch[querystring]</a></normalfont></td> <td>$latestsearch[date] $latestsearch[time]</td> </tr> Code:
<table bgcolor="#FFFFFF" border=0 cellpadding=4 cellspacing=1 width="100%"> <tr bgcolor="#6c6081"><TD COLSPAN=2> <normalfont color="#afa3c5" class=thtcolor><B>Last Ten Searches</B></normalfont></td></tr> <tr> <tr bgcolor="#6c6081"> <td width="65%"><normalfont color="#f5d300">Search Text</normalfont></td> <td width="35%"><normalfont color="#f5d300">Performed At:</normalfont></td> </tr> $searchbits </table> |
|
#4
|
|||
|
|||
|
Wow, thanks. I'll try this!
|
|
#5
|
||||
|
||||
|
Thanks!!!!!! YOU DA MAN!
|
|
#6
|
||||
|
||||
|
No problem. I will share any code that doesn't jeopardize the competitiveness or financial stability of my communities.
|
![]() |
|
|