Basic QR Intergraton - نمایش کد QR هر تاپیک در زیر عنوان آن
آخرین زمان حضور: Dec 2016
کد قابل استفاده تغییرات در کد ها فایل های اضافی مجوز ترجمه
This isn't a polished mod, its purpose is to bring 2D Barcode (QR Code) intergration of vBulletin.
This mod will allow a uniqe QR Code to be generated and displayed for every thread on your forum.
New as of version 1.5- It can also create QR Codes for member profile pages AND attachments. Each option independently enabled in settings.
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.
The mod will check if the QR Code has already be generated for a thread 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. I have instrctions for a manual template edit that will give you a basic "bar" 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.
You can see this as a demo right on this forum, I customized the template edit a bit.