Greetings All:
I've added Overgrow's request, and updated the file to reflect the changes.
I don't really like the idea of posting a user's name next to the search terms. I think it would be a privacy violation, and I for one would know that my users would have a fit.
Code:
To update, for those of you that already have this installed:
In search.php FIND:
$lastsearches=$DB_site->query('SELECT querystring
REPLACE that with this:
$lastsearches=$DB_site->query('SELECT searchid,querystring
In search.php FIND:
$lastsearch .="$lastsearchcount[querystring], ";
REPLACE that with this:
$lastsearch .="[REMOVEurl='search.php?s=&action=showresults&searchid=$lastsearchcount[searchid]&sortby=lastpost&sortorder=descending']$lastsearchcount[querystring][REMOVE/url], ";
Get rid of the word REMOVE before the url= and the /url= That's just there so that it's not replaced on this board posting.
Yours In CyberSpace,
John Vranesevich
Founder, AntiOnline.com