Log in

View Full Version : BBcode Search specific site with Google


Sunstroke
11-28-2006, 10:00 PM
A very small thing I found, I thought I might as well share it.

Description: BBcode that searches a specific site with google. Such as typing in bbcode will give: bbcode (http://www.google.com/search?hl=en&lr=&q=bbcode+site%3Awww.vbulletin.org&btnG=Search)

Go to admincp --> Custom bbcodes --> Add New BBcode

Title: Google Specific
Tag: google
Replacement: <a href="http://www.google.com/search?hl=en&lr=&q={param}+site%3Awww.{option}&btnG=Search">{param}</a>
use {option}: yes

Then save :)

EDIT: changed the tag to "google" so that it works with Borgs' BBcode.

aveon
11-29-2006, 01:43 AM
thnx man reserved

Zia
11-29-2006, 08:44 AM
seeing a demo would be nice

Mecho
11-29-2006, 10:33 AM
ok .. then ?

i make this bbcode but where and how we should use it ?

Thanks

Sunstroke
11-29-2006, 07:27 PM
seeing a demo would be nice
If you type in navbar you would get: navbar (http://www.google.com/search?hl=en&lr=&q=navbar+site%3Awww.vbulletin.org&btnG=Search) which links to a google search for the word "navbar" at vbulletin.org (notice all links in that page go to vbulletin.org)

Sunstroke
11-29-2006, 07:33 PM
ok .. then ?

i make this bbcode but where and how we should use it ?

Thanks
A good quote from Borgs:

Ever tire of arguments where the other party say 'what was that'? Every tire of telling to to f'ing google it? Wrap the google tag around keywords in your argument and shut them up!

My bbcode is a useful shortcut if you know of a good site with what they're looking for.

BTW. If you want it to work like Borgs' one, you just have to change the the tag "search" to "google"