Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
BB Code - 2D Barcode Generator (Android/iPhone) BBCode Details »»
BB Code - 2D Barcode Generator (Android/iPhone) BBCode
Version: 1.00, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.0.x Rating:
Released: 10-04-2010 Last Update: 10-04-2010 Installs: 20
Supported
Re-useable Code Translations  

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:
http://api.qrcode.kaywa.com/services/qr

Barcodes are for NON COMMERCIAL USE ONLY.

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
Replacement:
Code:
<div style="font-size:8pt;"><a href="{param}" target="_blank"><img src="http://qrcode.kaywa.com/code/{param}" border="0"></a><br />{param}</div>
Example:[qr]http://www.juot.net/forums/[/qr]
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.

Download Now

File Type: txt QRBBCodeInstall.txt (2.3 KB, 60 views)

Screenshots

File Type: gif JUOT Forum Homepage.gif (1.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-05-2010, 02:54 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved.
Reply With Quote
  #3  
Old 10-05-2010, 03:14 PM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged and thanks

saves plenty of time; simply aim the code with phone and the url or data is saved
Reply With Quote
  #4  
Old 12-04-2010, 08:07 PM
samiro's Avatar
samiro samiro is offline
 
Join Date: Jan 2007
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dont understand what it do !
Reply With Quote
  #5  
Old 12-04-2010, 08:35 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 07-18-2011, 08:53 AM
Vick98 Vick98 is offline
 
Join Date: Nov 2010
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this be updated so it is compatible with the latest vB version?
Reply With Quote
  #7  
Old 07-18-2011, 09:38 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vick98 View Post
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.
Reply With Quote
  #8  
Old 10-16-2015, 11:50 AM
ArcadeSyndicate's Avatar
ArcadeSyndicate ArcadeSyndicate is offline
 
Join Date: Oct 2008
Location: Germany
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...

http://zxing.appspot.com/generator/

Code:
<div style="font-size:8pt;"><a href="{param}" target="_blank"><img src="https://zxing.org/w/chart?cht=qr&chs=120x120&chld=L&choe=UTF-8&chl=http%3A%2F%2F{param}" border="0"></a>
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:44 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04119 seconds
  • Memory Usage 2,292KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (2)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete