PDA

View Full Version : BBcode Search specific site with Google


Sunstroke
29 Nov 2006, 02:19
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
29 Nov 2006, 02:43
thnx man reserved

Zia
29 Nov 2006, 09:44
seeing a demo would be nice

Mecho
29 Nov 2006, 11:33
ok .. then ?

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

Thanks

Sunstroke
29 Nov 2006, 20:27
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
29 Nov 2006, 20:33
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"