QR Post LinksSnippet-Title: QR Post Links
Snippet-Version: 0.0.1
Snippet-Autor: 4seven
Credits: Y.Swetake for
QRcode v. 0.50iRequest by: hinixRequest Topic: http://www.phpbb.com/community/viewtopi ... #p12667325Description: This Mod shows QR Links in Posts
phpBB-Version: phpBB 3.0.x
phpBB-Sprachen: mutlilingual
phpBB-Styles: prosilver, subsilver2
Features: This Mod shows QR Links in Posts, so u can scan this directly to your Mobile Devices
Requirements: GD 2+ / PHP 4/5
Topic Demo: http://4seven.bplaced.net/phpbb3/viewtopic.php?f=7&t=371Posting Demo: http://4seven.bplaced.net/phpbb3/posting.ph ... &f=7&t=371 ( click on [qr_link] )
4seven wrote:

means:
Code:
http://www.phpbb.com/community/viewtopic.php?f=72&t=2079085&p=12796961#p12796961
copy img-adress or download img and enter here to check:
http://zxing.org/w/decode.jspx
Instructiondownload packageAttachment:
copyroot/qr/*.*
> qr/*.*
openstyles/xxxxxx/template/editor.js
findCode:
insert_text(bbopen + bbclose);
replace withCode:
if (bbopen == '[qr_link]')
{
var Error = '';
var QR = prompt('Insert a Link to generate QR (with http://)' , '');
if (!QR) {
Error = "U don't enter anything";
}
if (Error) {
alert("Error: "+Error);
return;
}
if (QR) {
QR = escape(QR);
QR = encodeURI(QR);
insert_text('[img]http://4seven.bplaced.de/phpbb3/qr/php/qr_img.php?e=L&s=4&t=J&d=' + QR + '[/img]');
}
else {
return;
}
}
else{
insert_text(bbopen + bbclose);}
Quote:
Note: replace Code:
http://4seven.bplaced.de/phpbb3/
to your forum root folder openstyles/prosilver/template/posting_buttons.html
findCode:
<!-- END custom_tags -->
after add Code:
<input type="button" class="button2" name="qr_link" value="qr_link" onclick="bbfontstyle('[qr_link]','[/qr_link]');this.form.addbbcode9999;" title="Click to start Wizard" />
openstyles/subsilver2/template/posting_buttons.html
findCode:
<!-- END custom_tags -->
after addCode:
<input type="button" class="btnbbcode" name="qr_link" value="qr_link" onclick="bbfontstyle('[qr_link]','[/qr_link]');this.form.addbbcode9999;" title="Click to start Wizard" />
Clear all Board-, Style- and Browser-Caches