Tuesday, February 24, 2009

Let-me-google-that-for-you BBCode

Because sometimes it's fun to be a dick, I've added a Let me google that for you BBCode to my phpBB3 forum. Here's how to add it to your own phpBB3 forum:

  1. Go to Administration Control Panel > Posting > BBCode > Add a new BBCode.
  2. In the BBCode Usage field, enter
    [google]{SIMPLETEXT}[/google]
  3. In the HTML replacement field, enter
    <a href="http://lmgtfy.com/?q={SIMPLETEXT}" title="Let me Google that for you">{SIMPLETEXT}</a>
  4. Click submit and you're done!

Now you can quickly and easily direct people on how to search for [google]something[/google] on Google.

If you would like to be a little less patronising, in step 3 use the following code instead:

<a href="http://www.google.com/search?q={SIMPLETEXT}" title="Let me Google that for you">{SIMPLETEXT}</a>

No comments:

Post a Comment