vBulletin Mods

The Official vBulletin Modifications Site

BB Code - 2D Barcode Generator (Android/iPhone) BBCode
by BirdOPrey5
05 Oct 2010 15:49

3 Attachment(s)
Live Demo: http://www.juot.net/forums/showthread.php?t=48012

This is a nifty BB Code to generate QR compatible 2D "Barcodes" that getting more popular due to their compatibility with Android, iPhone, and other smart-phone devices. You can encode any text you want in a 2D Barcode up to 250 characters. The most likely use you will have for this is to encode a URL someone will then scan and follow.

These barcodes are generated and hosted by this site:


They reserve the right to alter or cancel this project at any time so I strongly urge you to save important barcodes locally so you have a copy. While there will always be free barcode generators out there it is less likely there will always be free ones that allow hosting of the code and a public API to interface with.

Using this BB Code is simple, put the data you want between [qr] [/qr] tags. Usually this will be a URL but it could also be plain text. In this implementation the encoded text will appear in a small font below the image. Also since I expect most will be URL's clicking on the image will open the URL in a new browser tab or window. If the data encoded isn't a URL though you will get a "404 Page Not Found" error.

You are obviously free to edit the replacement text to remove the link and/or text per your preference. If you need help doing this just ask.

Note you MUST include the "http://" to be compatible with most smart phones and for the link to work properly.

To install this BB Code on your vBulletin forum:

Go to the Admin CP...

Add a New BB Code

Title: QR 2D Barcode
BB Code Tag Name: qr

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Description: Embed QR Formatted 2D Barcodes
Use Option: No
Button Image: (optional) (attached)
Remove Tag If Empty: Yes
All Disable Options: Yes

Please Mark as Installed if you use this.

Visit my new BB Code Depot forum for more BB Codes, for help with existing codes, and to make requests.

Download a copy of the .txt file for backup.

BirdOPrey5 05 Oct 2010 15:54


sulasno 05 Oct 2010 16:14

tagged and thanks

saves plenty of time; simply aim the code with phone and the url or data is saved

samiro 04 Dec 2010 21:07

dont understand what it do !

BirdOPrey5 04 Dec 2010 21:35

This generates 2-Dimensional bar codes encoded with information you place between the BB Code tags, usually this is a website URL but it can be any text too- a short message like a text message can be encoded as well.

People with smart phones like iPhone and Droid phones can read (scan) the barcode and the phone will translate it to a website link or show you the text.

It's useful as a way from a smart phone user to save a link to their phone by scanning it- other than that it's mostly just for fun.

Vick98 18 Jul 2011 09:53

Will this be updated so it is compatible with the latest vB version?

BirdOPrey5 18 Jul 2011 10:38


Originally Posted by Vick98 (Post 2221851)
Will this be updated so it is compatible with the latest vB version?

There's no reason this wouldn't work on any VB version.

When it was released "4.0.x" was the only option available.

Pretty much all BBCodes work fine with anything from at least 3.5 and up.

ArcadeSyndicate 16 Oct 2015 13:50

seems the service from kaywa.com isn't for free anymore, so the bbcode doesn't work.

does anybody know another good generator service?

[edit] found this one, works for me...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

All times are GMT. The time now is 11:52.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.