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

  #31  
Old 05 Jan 2012, 16:32
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Seductor,

Good question... I don't, but I don't watch American Idol or listen to Lady Gaga either, so I really am a bad person to ask what most people do... it would seem from the responses I've gotten some people find QR codes very important.
__________________
-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
  #32  
Old 05 Jan 2012, 17:47
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by BirdOPrey5 View Post
Any error message?
Here is the error message I just received when I clicked on "Delete All Images":
Fatal error: Cannot redeclare print_cp_login() (previously declared in /home/xxxxx/public_html/forums/includes/adminfunctions.php:26) in /home/xxxxx/public_html/forums/includes/adminfunctions.php on line 246
Here is what I did to fix it. In the file "bop5qrcode.php", I changed this:


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


To this:


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


You already had adminfunctions.php declared above in "REQUIRE BACK-END" with require_once.

Excellent mod, Joe. You are to be commended.

Last edited by Boofo; 05 Jan 2012 at 18:19.
Reply With Quote
  #33  
Old 05 Jan 2012, 18:48
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Just to report it, Boofo found bug and solved it. Now everything works and QR images are deleted.

Thank you.
Reply With Quote
  #34  
Old 05 Jan 2012, 18:50
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by Seductor View Post
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.
Yes, I don't use it, I only heard for it, remember I saw it here and there, but not too often. On the other hand, people will use it more and more and they are good bridge between classical print and "new print" i.e. Internet.

I see this more as investment in future and a way to advertise my forum...
Reply With Quote
  #35  
Old 05 Jan 2012, 19:03
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
I agree. The QR codes are becoming more popular for cell phones now. I used my first one just a few weeks back and it worked pretty slick. It was for a local grocery store that has an Android app available and it made it real easy to just scan the code and the app pops up from the App store in a flash. Searching will almost become obsolete in time.
Reply With Quote
  #36  
Old 05 Jan 2012, 20:37
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Awesome, thanks Boofo... I will include in the next update.

The next update will include options for attachments and profile pages. Hopefully this weekend.
__________________
-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
  #37  
Old 05 Jan 2012, 21:08
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Instead of using require, use require_once as you won't run into problems like this then. And, you're welcome, sir.
Reply With Quote
  #38  
Old 08 Jan 2012, 17:42
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Updated to version 1.5.

You don't need to re-upload the phpqrcode directory but you should re-upload and overwrite the rest.
__________________
-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
  #39  
Old 08 Jan 2012, 18:59
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
good job BirdOPrey5 on the attachment qrcode, one last thing how can i make it so it'll be a mouse over effect?

thanks
__________________
Android Custom Creations
Reply With Quote
  #40  
Old 08 Jan 2012, 21:47
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
QR code in profiles works excellent.

I used your suggestion for placement and also added it in MEMBERINFO template.

Find:


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

Below that add:


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

It makes QR code visible on every profile page.
Reply With Quote
  #41  
Old 08 Jan 2012, 23:49
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Originally Posted by Alan_SP View Post
QR code in profiles works excellent.

I used your suggestion for placement and also added it in MEMBERINFO template.

Find:


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

Below that add:


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

It makes QR code visible on every profile page.
Can you post a pic of what it looks like with your changes?

Also, you could just use the profile_sidebar_first template hook and save the manual editing.

Tyhe li tags will give you a W3C Markup Validation error, by the way.

Last edited by Boofo; 09 Jan 2012 at 00:59.
Reply With Quote
  #42  
Old 09 Jan 2012, 00:34
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by puertoblack2003 View Post
good job BirdOPrey5 on the attachment qrcode, one last thing how can i make it so it'll be a mouse over effect?

thanks
It should be a mouse over effect. If you look at the screenshot there were 2 attachments, one was hidden and the one visible was only visible because the mouse was over it.
__________________
-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
  #43  
Old 09 Jan 2012, 00:57
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
Here's a pic of my profile with the QR code added via the profile_sidebar_first template hook.
Attached Images
File Type: png qr_profile.png (21.4 KB, 14 views)
Reply With Quote
  #44  
Old 09 Jan 2012, 04:37
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by Boofo View Post
Can you post a pic of what it looks like with your changes?

Also, you could just use the profile_sidebar_first template hook and save the manual editing.

Tyhe li tags will give you a W3C Markup Validation error, by the way.
Here's image:



What I should add to use profile_sidebar_first template hook?

li tags are used by vBulletin in MEMBERINFO template, that's why I used them. But, I'm open for suggestions.
Reply With Quote
  #45  
Old 09 Jan 2012, 17:23
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Originally Posted by BirdOPrey5 View Post
It should be a mouse over effect. If you look at the screenshot there were 2 attachments, one was hidden and the one visible was only visible because the mouse was over it.
yea its was my fault i had moved the css to additional so i reverted back in template.I have to figure out where to put it at, when i get some free time.. thanks
__________________
Android Custom Creations
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 11:20.

Layout Options | Width: Wide Color: