Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Basic QR Intergraton (2D Barcodes) for VB Threads (QR Pages by BOP5) VB4 Details »
Basic QR Intergraton (2D Barcodes) for VB Threads (QR Pages by BOP5) VB4
Mod Version: 1.5, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Nov 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (8 votes - 4.88 average) Installs: 31
Released: 28 Oct 2011 Last Update: 08 Jan 2012 Downloads: 168
Not Supported Uses Plugins Template Edits Additional Files Re-usable Code  



Note: Updated to version 1.5- added QR codes for attachments and profiles as well as threads.

This isn't a polished mod, its purpose is to bring 2D Barcode (QR Code) integration to vBulletin. I will be marking it unsupported as I do not recommend users without some basic HTML or coding experience attempt to use the mod. I will NOT be answering basic setup questions. Instructions for the manual template edits are included in the zip. you may use them if you wish but I strongly suggest you work on a custom solution.

Live Demo: Qapla.com Thread

This mod will allow a uniqe QR Code to be generated and displayed for every thread on your forum.

Users with Android, iPhone, and other advanced phones can easily scan these QR Codes and share links with friends via email, text, and other social networking platforms.

The QR generation is handled by a free open-source project called phpqrcode which has its own GNU Lesser General Public License.

I have created the vBulletin interface needed to generate codes for individal threads, attachments, and/or profile pages.

The mod will check if the QR Code has already be generated for a thread (or profile, or attachment) and if so will simply display the png file previously created. If this is the first time someone has viewed the thread (since installing this mod) it will generate and save the QR Code for future use.

All QR Codes are stored in .png format in a new folder called /images/qr/ which you must create and must be writable. (chmd 755 is usually sufficient but if you have problems go to 777).

A utility included in the Admin CP settings will allow you to delete all these images if necessary.

Other Admin CP settings include the ability to set the size, quality, and border size around the QR Code.

What isn't finished is the best way to intergrate this onto your SHOWTHREAD pages and attachment template. I have instructions for a manual template edits that will give you a basic "box" that you can mouse-over and get the full image to pop-up over the rest of your page.

I am aware this isn't an ideal setup but I am more of a coder than a designer. If anyone has some suggestions (with code) for a better implementation I am open to suggestions.

This mod could be expanded to show QR Codes on all pages, not just threads, but until a better way is found to display the code on the page I didn't bother.

Server Load- In general the mod only generates a code on the first view of the thread- this will usually be when a new thread is first submitted so in the long run I don't anticipate any major server load by this mod. However if you have a very large and very busy forum you can expect a temporary increased load after installation as members visit hundreds of threads which have never had a QR Code generated before. This increased load should decrease after the surge of new generations end.

Disk Usage - The smaller the QR Code you generate the smaller the file size per image. In my experience the average size of each QR code png file was 600 bytes. This would mean about 586 KB per 1,000 threads or 58 Megabytes for 100,000 threads. You can extrapolate from there.

Please Mark as Installed if you use this.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	vb4_qrthread1.jpg
Views:	866
Size:	92.6 KB
ID:	134118   Click image for larger version

Name:	vb4_settings.jpg
Views:	266
Size:	93.1 KB
ID:	134119   Click image for larger version

Name:	vb4_profile1.jpg
Views:	289
Size:	98.8 KB
ID:	135605   Click image for larger version

Name:	vb4_attach1.jpg
Views:	273
Size:	56.1 KB
ID:	135606  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons BirdOPrey5 vBulletin 4.x Add-ons 977 02 Nov 2018 04:00
New Posting Features Block Censored Words in Posts by BOP5 VB4 BirdOPrey5 vBulletin 4.x Add-ons 106 02 Oct 2018 13:11
Miscellaneous Hacks Disable Smileys and Annoying Images by BOP5 VB4 BirdOPrey5 vBulletin 4.x Add-ons 22 22 Jun 2014 11:18
End-User Options Username Font Selection Per User (Light) By BOP5 VB4 BirdOPrey5 vBulletin 4.x Add-ons 47 31 Oct 2013 21:08
Show Thread Enhancements Basic QR Intergraton (2D Barcodes) for VB Threads (QR Pages by BOP5) BirdOPrey5 vBulletin 3.8 Add-ons 11 01 Apr 2012 11:46

  #16  
Old 04 Nov 2011, 21:43
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Users with Android, iPhone, and other advanced phones can easily scan these QR Codes and share links with friends via email, text, and other social networking platforms.
When I'm reading the forum on my Android smartphone, how do I scan a QR code? And is this easier than clicking a link?
Reply With Quote
  #17  
Old 05 Nov 2011, 00:02
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
You don't use this if you are reading the forum on your smartphone... This is for when you are browsing the forum on a real computer or laptop, you can then scan the image with your smartphone and quickly get the link on your phone to share or use how you want.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #18  
Old 19 Nov 2011, 02:47
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
Originally Posted by nhawk View Post
Nice Add-on!

If you aren't using the first post ad location, that's a great place to put this..

Edit the QR Code plugin and put this code at the end BEFORE the }..


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

Also, change the hook from showthread_complete to showthread_postbit_create

Then in ACP->Advertising, click Add New Ad, select 'Thread' and click on First Post Content.

Title: Share This Thread

Ad HTML:

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

Active: Yes

Click Save and you're all set.

You may need to edit ad_margin, ad_padding and ad_maxWidth in stylevars for it to display properly.
For those of you who dislike editing templates or files, but want to use the above alternative

This file will do it for you and you will not need to edit anything.
Attached Files
File Type: xml product-qrpagesbop5vb4.xml (7.4 KB, 15 views)
Reply With Quote
  #19  
Old 10 Dec 2011, 16:33
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Excellent mod, but I have problems with deleting images. For some reason it doesn't delete images.
Reply With Quote
  #20  
Old 11 Dec 2011, 10:45
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
About positioning of QR code, I use this:


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

Condition is that QR code is shown only in first posts, you can place this code wherever you like it in your postbit (legacy) template. I placed it after signature (but outside of signature conditionals so it's shown even if user don't uses signature).

To use it you need to change plugin hook location as nhawk suggested, from showthread_complete to showthread_postbit_create. But, new template hook that nhawk suggested ({vb:raw template_hook.share_this_thread}) doesn't work, so you don't need to add it at the end of plugin code:


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

It works without it, just use {vb:raw thread.qr} instead.

Important note: If you use it in ad templates, then you need to create this template hook and use it as nhawk suggested. This information is only if you want to manually place QR code somewhere in your postbit (legacy) templates.
Reply With Quote
  #21  
Old 11 Dec 2011, 15:11
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Alan_SP View Post
Excellent mod, but I have problems with deleting images. For some reason it doesn't delete images.
Any error message?
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #22  
Old 14 Dec 2011, 15:11
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
No, I don't see any error messages, it looks like it just hangs there, white screen (with text "Delete QR Images"), nothing happens, no images are deleted. I can manually delete them, but this is just workaround.
Reply With Quote
  #23  
Old 19 Dec 2011, 03:10
Jman423's Avatar
Jman423 Jman423 is offline
 
Join Date: Jan 2008
I'm trying to figure out what the change in order to get these to show up in the VBCMS pages. We have a lot of automotive how-to articles that, with the help of this, people would be able to quickly load it up on their phone or tablet to view it on the go.

Is it as simple as copying the plugin and changing some code, or is it a whole lot more complicated?

Any tips would be greatly appreciated.

I did get it working properly in threads. I was having trouble with the photos getting deleted too, even set to 777, so I just deleted them via FTP. No error message here either, just a blank screen.
Reply With Quote
  #24  
Old 19 Dec 2011, 12:48
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I think for CMS articles it will be a little more complicated then threads or attachments. Threads and attachments have a numeric ID so it was easy to change just a couple lines and get it working on a new hook.

CMS articles don't have IDs (best I can tell) but there must be some way of getting the URL. I don't think it is impossible but I don't have any ideas on how at the moment.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #25  
Old 03 Jan 2012, 14:37
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Could you make this to work with users profiles? Users profiles have numeric ID, so it could be made that every user has QR code for his profile. And that could be very useful for certain types of communities, enabling users to use this QR code in their business cards or something similar as their internet location. And of course, in this way our forums get advertised also.

And as locations for putting QR code in profile, either in About me tab somewhere at the end, or completely new tab in profile.

Anyway, I thing that this would be very useful to more than one type of community.
Reply With Quote
  #26  
Old 03 Jan 2012, 15:05
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Profiles seem like a good idea Alan, will try.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #27  
Old 04 Jan 2012, 20:29
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
Question

Originally Posted by OldSchoolDSL View Post
For those of you who dislike editing templates or files, but want to use the above alternative

This file will do it for you and you will not need to edit anything.
I'm a little puzzled as to why this seems not to be working in 4.1.10 Alpha 2

I know there were a lot of style templates that were renamed, moved, or deleted in this version. And I'm honestly losing track of which one is which any more.

Any idea on this?
Reply With Quote
  #28  
Old 04 Jan 2012, 20:54
Papa Bear's Avatar
Papa Bear Papa Bear is offline
 
Join Date: Apr 2011
Originally Posted by OldSchoolDSL View Post
I'm a little puzzled as to why this seems not to be working in 4.1.10 Alpha 2

I know there were a lot of style templates that were renamed, moved, or deleted in this version. And I'm honestly losing track of which one is which any more.

Any idea on this?
works for me.you can go to my site and see it..4.1.10 alpha 2 .I used the xml you provided Then manually went in and added the info into the ACP->Advertising section..

Last edited by Papa Bear; 04 Jan 2012 at 21:18. Reason: typo
Reply With Quote
  #29  
Old 04 Jan 2012, 22:05
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
Originally Posted by Papa Bear View Post
works for me.you can go to my site and see it..4.1.10 alpha 2 .I used the xml you provided Then manually went in and added the info into the ACP->Advertising section..
Resolved.

It was all there, but I found re-installing this modification and re-confirming the advertising, fixed the issue. No idea why. But it worked.
Reply With Quote
  #30  
Old 05 Jan 2012, 15:01
Seductor Seductor is offline
 
Join Date: May 2011
Hi @BirdOPrey5. Do people really use QR codes? I mean, I have asked my friends and they know it, but they don't use it very often.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 19:14.

Layout Options | Width: Wide Color: