PDA

View Full Version : BB Code Enhancements - Google, Yahoo and Live Search


Fatal Hazard
03 Mar 2013, 17:22
This is the same as my vB 4.2.0 release but it opens in a new tab.

Google Search

Title: Google search Link
BB Code Tag Name: GoogleSearch
Replacement:
<a href="http://www.google.com/search?hl=en&q={param}&btnG=Google+Search&aq=f&oq= "target="_blank">Go To Google Search <i>{param}</i></a>
Example: test
Description: Allows you to link to a google search.


Yahoo search

Title: Yahoo Search Link
BB Code Tag Name: YahooSearch
Replacement:
<a href="http://search.yahoo.com/search?p={param}&fr=yfp-t-501&toggle=1&cop=mss&ei=UTF-8"target="_blank">Go To Yahoo Search <i>{param}</i></a>
Example: test
Description: Allows you to link to a yahoo search.


Live Search

Title: Live Search Link
BB Code Tag Name: LiveSearch
Replacement:
<a href="http://search.live.com/results.aspx?q={param}&go=&form=QBLH"target="_blank">Go To Live Search <i>{param}</i></a>
Example: test
Description: Allows you to link to a live search.


FOR EACH ONE SET THE FOLLOWING:
Use {option}
No

Remove Tag If Empty
Yes

Disable BB Code Within This BB Code
Yes

Disable Smilies Within This BB Code
Yes

Disable Word Wrapping Within This BB Code
Yes

Disable Automatic Link Parsing Within This BB Code
No

IMPORTANT:
IF YOU GET AN ERROR MESSAGE WHEN YOU SAVE ANY OF THE BB CODES JUST HIT CONTINUE AS THAT IS HOW THE CODE SHOULD BE!


I will release bigger add ons for vBulletin 5 for later releases.

abdobasha2004
04 Mar 2013, 23:55
this is a very nice idea :up: :up: