PDA

View Full Version : Highlight Search Terms in Archive from Referring Search Engines


Cap'n Steve
03-02-2006, 10:00 PM
Using this modification, when someone finds your site through a search engine and clicks the URL that takes them to the Archive, the terms they searched for will be highlighted. This should work on all version of vBulletin greater than or equal to 3.5.4. If you have 3.5.3 or earlier, install this hack instead.

Supported Search Engines (If you can think of more, please let me know.):
Google
Yahoo!
MSN
Altavista
Lycos
Ask Jeeves

For a limited demo (my archive isn't quite working at the moment) follow this link (http://www.google.com/search?hl=en&lr=&q=site%3Aforums.monkeycrap.com+inurl%3Aarchive+cra p+random&btnG=Search) then click one of the search results.

NOTE TO MODS: This isn't a duplicate thread. I don't want to support two versions of the same hack in one thread.

chimaira
03-03-2006, 12:06 PM
Very handy to have. thanks alot.. *installed* will give it a try

vic_jay
03-03-2006, 01:36 PM
This is actually a pretty useful little hack! Nice job

heynurse
03-04-2006, 04:06 AM
very cool. Installed!

WireNine
03-04-2006, 10:47 PM
I have installed this, but it does not seem to be working:

http://www.google.com/search?hl=en&lr=&q=site%3Aforums.wirenine.com+inurl%3Aarchive+web&btnG=Search

Cap'n Steve
03-05-2006, 03:00 AM
Is anything highlighted when you go to the demo in the first post? If so, it has something to do with your PHP setup. Ask your host why $_ENV['HTTP_REFERER'] isn't getting set.