Can we add Interstate smileys? There would be one for each 1 and 2 digit Interstate. They would be made like :i90: and they would make a miniature version of the Interstate shield.
Maybe, additionally, for each 1 and 2 digit US route (and 101), there could be a smiley, formed like :us20:
They could be shown in the "more smileys" list so they won't be seen every time someone tries to post.
These are smileys only in name. The shields don't actually have faces.
So... every single highway would have to be coded into a little character. You do that and we'll consider it.
It might be easier to implement this as a tag. Like [rte=us45] and then we could have a mini-Shield Generator spit it out as (https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F6%2F6e%2FUS_45.svg%2F25px-US_45.svg.png&hash=438ac1923b4a479b4df2c5f60fd66fededf86263) (or even just something that links to the Wikipedia image, like I did).
e.g.:
us45: (https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F6%2F6e%2FUS_45.svg%2F25px-US_45.svg.png&hash=438ac1923b4a479b4df2c5f60fd66fededf86263)
i80: (https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F1%2F11%2FI-80.svg%2F25px-I-80.svg.png&hash=ad2925ab1db6e74372b682a870f92784f9c8c367)
il7: (https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F9%2F97%2FIllinois_7.svg%2F25px-Illinois_7.svg.png&hash=874186f853d892203a7848e2c73052540139220a)
:spin:
Quote from: sammi on April 14, 2014, 11:03:47 PM
It might be easier to implement this as a tag. Like [rte=us45] and then we could have a mini-Shield Generator spit it out as (https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F6%2F6e%2FUS_45.svg%2F25px-US_45.svg.png&hash=438ac1923b4a479b4df2c5f60fd66fededf86263) (or even just something that links to the Wikipedia image, like I did).
e.g.:
us45: (https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F6%2F6e%2FUS_45.svg%2F25px-US_45.svg.png&hash=438ac1923b4a479b4df2c5f60fd66fededf86263)
i80: (https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F1%2F11%2FI-80.svg%2F25px-I-80.svg.png&hash=ad2925ab1db6e74372b682a870f92784f9c8c367)
il7: (https://www.aaroads.com/forum/proxy.php?request=http%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2F9%2F97%2FIllinois_7.svg%2F25px-Illinois_7.svg.png&hash=874186f853d892203a7848e2c73052540139220a)
:spin:
That still involves a hefty amount of work, unless you have some magical code that specifies where all the images are located (in terms of directories) written that doesn't involve a large amount of array lists. I think it could be easy to render a bunch of SVGs in terms of writing a program to output SVG syntax into a .SVG file created at execution, where the program then goes through and creates files for each number in a sequential order. I wouldn't know how to export it into a format such as PNG without opening Inkscape for each and every one of them, and that sounds terrible. And even if you got that to work, you have to implement of those into a BBCode parser for Sammi's idea, or a bunch of smileys in 1's idea.
Bottom line: I don't see this working without a massive effort involved.
This wasn't serious. :spin:
Quote from: Zeffy on April 15, 2014, 10:29:53 AM
That still involves a hefty amount of work, unless you have some magical code that specifies where all the images are located (in terms of directories) written that doesn't involve a large amount of array lists.
For most states I think you can find the images on Wikipedia (like in my previous post). And it
will involve a list of URL prefixes. I don't think there's any way around that. Unless you can rename all the images to follow the same scheme as the name you put in the tag.
Quote from: Zeffy on April 15, 2014, 10:29:53 AM
I wouldn't know how to export it into a format such as PNG without opening Inkscape for each and every one of them, and that sounds terrible.
Command line! But not a lot of people know how.
Again, this wasn't serious. :sombrero:
The easiest way would be to keep an organized directory of the shields and dynamically load the right one with a script. Or link it up with the AA Roads shield generator. Or do what CHM does and keep a separate graphic for each digit and dynamically put them together.
Yes, please add 1500 new smileys for Louisiana's highway system. Don't forget the dashed numbers. :spin:
Theoretically, if someone made a bunch of shield images, I could write a PHP script that "injects" the smileys into the database through a bunch of SQL commands...
But first you would need someone to make all the images. And that is NOT going to be me.
Quote from: Zeffy on May 15, 2014, 04:22:23 PM
Theoretically, if someone made a bunch of shield images, I could write a PHP script that "injects" the smileys into the database through a bunch of SQL commands...
But first you would need someone to make all the images. And that is NOT going to be me.
SVG shields can be easily generated using a script of some sort. I believe that's how the Wikipedia shield bot works.
Here's a start.
(https://upload.wikimedia.org/wikipedia/commons/1/11/I-5.svg)
(https://upload.wikimedia.org/wikipedia/commons/c/cd/I-15.svg)
(https://upload.wikimedia.org/wikipedia/commons/2/25/I-25.svg)
(https://upload.wikimedia.org/wikipedia/commons/0/05/I-35.svg)
(https://upload.wikimedia.org/wikipedia/commons/5/55/I-45.svg)
(https://upload.wikimedia.org/wikipedia/commons/3/38/I-55.svg)
(https://upload.wikimedia.org/wikipedia/commons/4/48/I-65.svg)
(https://upload.wikimedia.org/wikipedia/commons/9/93/I-75.svg)
(https://upload.wikimedia.org/wikipedia/commons/a/ae/I-85.svg)
(https://upload.wikimedia.org/wikipedia/commons/6/61/I-95.svg)
Quote from: 1 on May 15, 2014, 04:34:07 PM
Here's a start.
(https://upload.wikimedia.org/wikipedia/commons/1/11/I-5.svg)
(https://upload.wikimedia.org/wikipedia/commons/c/cd/I-15.svg)
(https://upload.wikimedia.org/wikipedia/commons/2/25/I-25.svg)
(https://upload.wikimedia.org/wikipedia/commons/0/05/I-35.svg)
(https://upload.wikimedia.org/wikipedia/commons/5/55/I-45.svg)
(https://upload.wikimedia.org/wikipedia/commons/3/38/I-55.svg)
(https://upload.wikimedia.org/wikipedia/commons/4/48/I-65.svg)
(https://upload.wikimedia.org/wikipedia/commons/9/93/I-75.svg)
(https://upload.wikimedia.org/wikipedia/commons/a/ae/I-85.svg)
(https://upload.wikimedia.org/wikipedia/commons/6/61/I-95.svg)
Nononono. I'm talking about someone getting a bunch of shields to I would presume 24x24 size, putting them into a directory hierarchy with the shields named like i95.png. The way my code would work is by looking through files in a directory in the script folder, then taking that smiley's filename for the bbcode. So i95.png would be :i95:.