What do you think about our smilies?

Post questions, comments, and suggestions about Runouw.com here.

Re: What do you think about our smilies?

Postby Oranjui » April 15th, 2015, 6:14 pm

...you sure about that?

download/file.php?avatar=9799.png takes me right to my avatar.
download/file.php?avatar=4611.png takes me right to your avatar.

Just change the number to a user's ID thing and it should display the most recent avatar, right? You could add a smiley or a tag to make it shorter. [avatar]9799[/avatar], or [avatar]4611[/avatar], etc displays the avatar associated with that user.
User avatar
Oranjui
Minister of Oerhaos

 
Posts: 1914
Joined: June 26th, 2010, 6:49 am

Runolympics 2015 MVP

Thumbs Up given: 388 times
Thumbs Up received: 188 times

Re: What do you think about our smilies?

Postby Doram » April 15th, 2015, 7:30 pm

You know what? I've looked at it before, and where the database stores the info, it's more gibberish than that, and the files themselves are pretty gibberish, and when you right click the image, and go to "View Image", it uses more gibberish than that. I never knew you could shorten it to the User ID and it would work.

For showing me something new about how the forums work, your wish is granted. And yes, it will have to be BBCode. The smilies won't take input like that.



Ok, caveat time. This IS not perfect. A number of people I tried with it, don't work. Some for the obvious reason that they are linking to their avi, and not having it stored here on the site (Supershroom qualifies: 146552), and others are not so clear cut why they fail (MoD qualifies: 298).

Otherwise, it works beautifully.

Code: Select all
[avatar=33070]NanTheDark[/avatar] Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text

[avatar=33070]NanTheDark[/avatar] Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text

It's the avatar, and their name, floated to the left, and the whole thing is a link to their user profile. Also of note, it does not do rank colors, and I am working on that (technically there's a staffcolor bbcode - that's not working - that you could embed in it; having it pull the color automatically is MUCH harder). Just be aware of things stacking up to the right of the left floated element, like this:
[avatar=4611]Doram[/avatar] The avatars will line up on the left, and the text will all flow to the right. Just be aware of how far down the text reaches (if you are trying to line up the text with the avatar). Of course, you could also use tables to get the positioning right (one cell per row, avatar floated to the left of it by default, and text to the right by default, but table rows separate individual sets).
Martin Luther King Jr. wrote:Man must evolve, for all human conflict, a method which rejects revenge, aggression, and retaliation.
The foundation of such a method is love.
More words from a wise man on activism, terrorism, violence, and peace
User avatar
Doram
Global Moderator

 
Posts: 1524
Joined: February 22nd, 2010, 7:37 pm
Location: Wherever I'm needed.

Cookie
l.m: "For fixing the stuff I break, and for being the best Forum Dad. XOXO <3"

Thumbs Up given: 153 times
Thumbs Up received: 471 times

Re: What do you think about our smilies?

Postby Raz » April 16th, 2015, 10:45 am

I still think the delay between the animation in the suggestive smiley is too long. I think the delay should be either removed (I really don't think the eyebrow wiggle will be annoying) or something incredibly short.



[avatar=10691]Raz the winner of LDCs everywhere[/avatar]
Karyete, Master of Civil Conversation
Disclaimer: none of these messages have been edited, context can be provided if needed (thanks discord!) but absolutely does not change anything about these messages and that he's too overly defensive and cocky to make situations better

Karyete: I don't have anything to say to you, I've been deliberately trying to not offend you for years, actually, but apparently everything I say to you is wrong. You come across as so aggressive that you successfully intimidated me into not wanting to talk to you
Karyete: Seriously, what is your problem? And not only that, you fail to even acknowledge you might be in some wrong here.
Karyete: Oooh it's you? Hello. Feel free to drop this right now. You're going to make yourself look like an idiot.
Karyete: We don't want to hear your opinion at this stage.
Karyete: You're not getting any apology, especially after now.
Karyete: You can stay up on your high horse, continue to twist the truth and act like an absolute child all you want. I refuse to give respect to a man who right now is picking up a dropped argument because he simply cannot fathom the idea that he might be in the wrong.
Karyete: How pathetic
User avatar
Raz
"quite easily the most manly man of all" --Raz

Error contacting Twitter
 
Posts: 4432
Joined: July 12th, 2010, 5:48 pm
Location: :-)

Razzian Fighter

Thumbs Up given: 40 times
Thumbs Up received: 367 times

Re: What do you think about our smilies?

Postby MessengerOfDreams » April 16th, 2015, 10:47 am

[avatar=298]MessengerOfDreams[/avatar] Maybe because I change my avatar every two picoseconds? Does change rate have anything to do with it?
Image
Image

My Most Recent Works: show
I switch my signature a lot. If you wanna see some of my past ones, here you go.
Silent Conversations and a Crow's Final Song!
My latest story, and one of my personal favorites. A girl bound in silence finds the words to say to her prospective girlfriend as they visit her religious father in a dusty town on the edge of Kansas, where the crows' migration south brings forth anchored memories, the path to resolution, and a new start.

Form (25quared)
This might be like nothing you've seen before.
Updated Works! Some of my past best and current stuff: show
Writing Works!
Fanfic: Shut Up and Dance
why do I write so much about dancing you don't dance you've never danced in your entire life
lying little ♥♥♥♥ with your ♥♥♥♥ story ♥♥♥♥ you
also Diddy/Lucina <3

Fanfic: Worth a Thousand Words
Because the world needed a Samus/Dedede story
Fanfic: Ecstatic Silence
Just wanted to write and ♥♥♥♥ like this happens, you'd think I'd know better.
Fanfic: Far From the Edge
It's a dance that's been a long time coming for a brand new man and an unchanging woman, but once one takes the plunge there's no falling back up.
Original: Jealous Ghosts of the Mississippi
The story of Rachel meeting Amber after a lifetime of silence and being shunned
Original: Your Hand in Mine
One of my most personal stories about a dangerous romance. Now to be published in a college lit journal!
-------------------------
Recent LDC Work:
Level Series: Leaves From The Vine (ft Star King)
For the 29th LDC, a theme of grassland taken through the growth of our designing society. Won the 29th LDC!
--
Levels at Large:
Level Topic: Collection of MoD's Levels!
If you've ever wanted to see any level I made worth a damn, go here! From the quiet 14th LDC entrant Finis to the megasmash level series Dark, you can find links here!
"You were always a revolutionary, now there's just less of a chance of you crying in the corner." ~Ridder
User avatar
MessengerOfDreams
Moderator

Error contacting Twitter
 
Posts: 6615
Joined: August 16th, 2009, 11:31 am
Location: When I figure it out, I'll let you know.

Winter
2016 Story Contest

Thumbs Up given: 519 times
Thumbs Up received: 707 times

Re: What do you think about our smilies?

Postby KABOOM » April 16th, 2015, 11:53 am

My avatar and the other ones that have worked in this topic are all PNG files. MOD's is a JPEG. Maybe that's the problem?
Last edited by KABOOM on April 17th, 2015, 10:48 am, edited 1 time in total.
User avatar
KABOOM
Prophet of Shadowsquid

 
Posts: 1144
Joined: October 16th, 2009, 11:31 am
Location: Just a little further.

A Good Start

Thumbs Up given: 44 times
Thumbs Up received: 121 times

Re: What do you think about our smilies?

Postby Kimonio » April 16th, 2015, 2:53 pm

Oh my god Doram impregnate me and let me have your babies, I've been trying to do that without tables since forever.
Image

User avatar
Kimonio
Honorary Member

 
Posts: 2114
Joined: September 27th, 2009, 11:06 am
Location: In the absence of nothing

Thumbs Up given: 62 times
Thumbs Up received: 135 times

Re: What do you think about our smilies?

Postby Sethster » April 16th, 2015, 6:53 pm

[avatar=145638]That one guy that does stuff[/avatar] Testing it with GIF file type, since mine is a GIF. It doesn't work on my end and looking at the pic in a new tab gives a blank PNG (no picture at all)
User avatar
Sethster
As Ninja As Myst

 
Posts: 140
Joined: September 19th, 2013, 3:06 pm
Location: In the depths of hell

Thumbs Up given: 5 times
Thumbs Up received: 7 times

Re: What do you think about our smilies?

Thumbs up x1

Postby Doram » April 16th, 2015, 8:59 pm

Oh, bloody hell. I just figured out what was breaking, and... there's no easy fix. You are totally right. It's all about the file types.

Well, the link was literally download/file.php?avatar=4611.png, so if I had a gif in there, of course it wouldn't load, the url is specifying png. Slight solution: I put in an extra spot to specify what image type. Problem: I have no easy way of finding out what the necessary image type for any given person is, so the work will have to be done by you - the person writing the BBCode (in other words, you go to their profile, and load the image separately and find out what the extension is, and then use that in the BBCode). Unrecoverable problem: if the user changes their avatar AND uses a different image type, the code is broken with no hope of catching it. I will look into possible ways of finding the image type through code, but this will have to do for now.

NEW FORMAT:
Code: Select all
[avatar=4611, ext=png]Doram[/avatar]







EDIT2: Oh, and especially considering the slightly unfinished/wonky nature of this, I'm going to leave it as a hidden BBCode and not advertize or add it to the main thread.


Also, you can stack BBCode inside the username (and it can override the link address):
Code: Select all
[avatar=4611, ext=png][staffpm position=glomo id=4611]Doram[/staffpm][/avatar]




Oh, and awesomeface looks good now? :awe: (I'll shorten the delay on waggle, too.) |:)
EDIT: Better?
Martin Luther King Jr. wrote:Man must evolve, for all human conflict, a method which rejects revenge, aggression, and retaliation.
The foundation of such a method is love.
More words from a wise man on activism, terrorism, violence, and peace
User avatar
Doram
Global Moderator

 
Posts: 1524
Joined: February 22nd, 2010, 7:37 pm
Location: Wherever I'm needed.

Cookie
l.m: "For fixing the stuff I break, and for being the best Forum Dad. XOXO <3"

Thumbs Up given: 153 times
Thumbs Up received: 471 times

Re: What do you think about our smilies?

Postby Kimonio » April 16th, 2015, 10:10 pm

Could we implement apng maybe with the png format?

Dunno how it works, and it's 1AM, but...I'll hit it up and check it out a bit in an hour
Image

User avatar
Kimonio
Honorary Member

 
Posts: 2114
Joined: September 27th, 2009, 11:06 am
Location: In the absence of nothing

Thumbs Up given: 62 times
Thumbs Up received: 135 times

Re: What do you think about our smilies?

Postby Doram » April 17th, 2015, 4:27 pm

To a fair extent, it is not my job. Showing APNG properly is the browser's job, not the server. The only browser that doesn't show it properly right now is IE. Some brief research shows that there is a workaround that puts it on a canvas, but I have no idea how much resources it would demand, whether it would work with the forums, or even how to install it. So, this is a candidate for the long game.

Technically, you can submit it like normal, and if the browser won't show it animated, it WILL show it as a still.



Also, I wanted to see if they would combine, and they do.




In the end, I just combined the two into another tag (yes, the avi not being centered bothered me that much). Also, it works with the new staffcolor tag:
Code: Select all
[approvedavi id=4611 ext=png][staffcolor position=glomo]Doram[/staffcolor][/approvedavi]


Martin Luther King Jr. wrote:Man must evolve, for all human conflict, a method which rejects revenge, aggression, and retaliation.
The foundation of such a method is love.
More words from a wise man on activism, terrorism, violence, and peace
User avatar
Doram
Global Moderator

 
Posts: 1524
Joined: February 22nd, 2010, 7:37 pm
Location: Wherever I'm needed.

Cookie
l.m: "For fixing the stuff I break, and for being the best Forum Dad. XOXO <3"

Thumbs Up given: 153 times
Thumbs Up received: 471 times

PreviousNext

Return to Site Discussion