Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  New feature: QR codes  (Read 2272 times)
0 Members and 1 Guest are viewing this topic.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 799
Projects: 4
Exp: 16 years


Hand over your head.


« Posted 2011-10-11 13:32:07 »

With the growing demand for feedback of apps on smartphones, I added a QR tag to the UBB tag list, powered by the Google Charts API.

Usage:
[ QR ] message [/ QR ]
[ QR ] url [/ QR ]

Example:



Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline princec

JGO Kernel


Medals: 378
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1 - Posted 2011-10-11 14:09:28 »

Nice one Riven.

Cas Smiley

Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #2 - Posted 2011-10-11 23:17:34 »

Set the alt and title attributes of the image to the text of the message.

弾幕 ☆ @mahonnaiseblog
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SimonH
« Reply #3 - Posted 2011-10-12 00:00:35 »

Ok, I'll give a shiny penny to the first person who can QR a message which makes a picture.  Grin

People make games and games make people
Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #4 - Posted 2011-10-12 00:17:50 »


Offline JL235

JGO Coder


Medals: 10



« Reply #5 - Posted 2011-10-12 00:44:56 »


Right click => View Image => "http://chart.apis.google.com/chart?cht=qr&chs=350x350&chl=Riven+is+too+creative+and+has+too+much+time+on+his+hands.+%3AD"

It's nice that I don't need a QR reader to read them.

Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #6 - Posted 2011-10-12 00:54:50 »

Grin Grin

Offline theagentd
« Reply #7 - Posted 2011-10-12 01:45:23 »


Myomyomyo.
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #8 - Posted 2011-10-12 01:51:42 »


I refuse.  Clueless

See my work:
OTC Software
Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #9 - Posted 2011-10-12 01:56:50 »


Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Eli Delventhal

JGO Kernel


Medals: 42
Projects: 11
Exp: 10 years


Game Engineer


« Reply #10 - Posted 2011-10-12 01:57:35 »


But they are so perky and active.

See my work:
OTC Software
Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #11 - Posted 2011-10-12 02:03:31 »


Offline theagentd
« Reply #12 - Posted 2011-10-12 09:57:54 »


Myomyomyo.
Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #13 - Posted 2011-10-12 11:25:00 »


Offline theagentd
« Reply #14 - Posted 2011-10-12 11:32:44 »


Myomyomyo.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 799
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #15 - Posted 2011-10-12 13:47:34 »

If it turns out to be needed, I will disable the QR tag for specific members Cranky

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Waterwolf

Junior Member


Medals: 3



« Reply #16 - Posted 2011-10-12 14:45:25 »

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
// ==UserScript==
// @id             www.java-gaming.org-3dfa1163-bb02-4059-b3d1-c11863ffbbe0@scriptish
// @name           QR Code textual form
// @version        1.0
// @namespace      
// @author        
// @description    
// @include        http://www.java-gaming.org/topics/*
// @run-at         document-end
// ==/UserScript==

function decode(str) {
    return unescape(str.replace(/\+/g, " "));
}

var imgTags = document.getElementsByTagName("img");
for (imgTag in imgTags) {
    var tag = imgTags[imgTag];
    var srcAttribute = tag.getAttribute("src");
    if (srcAttribute.indexOf("http://chart.apis.google.com/") == 0) {
        var getTextual = decode(srcAttribute.split("chl=")[1]);
        var newSpan = document.createElement("span");
        newSpan.innerHTML = "<br/>QR TEXT: <br/>" + getTextual + "<br/>";
        tag.parentNode.appendChild(newSpan);
    }
}


Tongue
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 799
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #17 - Posted 2011-10-12 14:53:01 »

Well, yes. I will just fix it serverside Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline theagentd
« Reply #18 - Posted 2011-10-12 16:59:46 »

I apologize for my rudeness and misuse of the QR-tag, o great Riven. I will immediately cease my misuse of this greater form of communication, as I value my ability to post funny lines encrypted in images.

Myomyomyo.
Offline ra4king

JGO Kernel


Medals: 345
Projects: 3
Exp: 5 years


I'm the King!


« Reply #19 - Posted 2011-10-13 00:43:10 »

If it turns out to be needed, I will disable the QR tag for specific members Cranky

Offline Mads

JGO Ninja


Medals: 26
Projects: 3
Exp: 6 years


One for all!


« Reply #20 - Posted 2011-10-28 05:31:44 »

Riven is too creative and has too much time on his hands. Cheesy



EDIT: Sorry Sad Had to try it.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (20 views)
2014-09-21 02:42:18

BurntPizza (14 views)
2014-09-21 01:30:30

moogie (14 views)
2014-09-21 00:26:15

UprightPath (25 views)
2014-09-20 20:14:06

BurntPizza (27 views)
2014-09-19 03:14:18

Dwinin (42 views)
2014-09-12 09:08:26

Norakomi (73 views)
2014-09-10 13:57:51

TehJavaDev (96 views)
2014-09-10 06:39:09

Tekkerue (49 views)
2014-09-09 02:24:56

mitcheeb (70 views)
2014-09-08 06:06:29
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!