WaniKani Forum Signatures


#1

Hey Guys,

It’s me again and due to excessive procrastination from doing my lessons I have built you all another thing to use.



To use just put this in the forum signature box of your favorite forums and hope it works.
<img src=‘http://peterkinnaird.eu/kani/banner/[KEY]’> </img>

I’m planning on adding more in the future with different information on them, any suggestions?

Hope you guys enjoy =)


#2

Why not.
I tried it. So, first time you access the URI, you get an error about the file missing (probably because the image is not generated yet).
Then, I find the layout a bit weird. Especially the level label position.
And last, maybe that’s because my level has 2 digits, but I get a weird layout:


Also, I don’t like exposing my API key in the image link. That’s also why I uploaded this ^ image elsewhere). The API key is theorically private. Maybe generate a link and provide it to the user? Or maybe you don’t want to, which would probably be fine for everyone else. I have no use for forum signatures anyway. Just curiosity.


#3

Suggestion: Write WK somewhere on the box?


#4
Doublevil said... Why not.
I tried it. So, first time you access the URI, you get an error about the file missing (probably because the image is not generated yet).
Then, I find the layout a bit weird. Especially the level label position.
And last, maybe that's because my level has 2 digits, but I get a weird layout:


Also, I don't like exposing my API key in the image link. That's also why I uploaded this ^ image elsewhere). The API key is theorically private. Maybe generate a link and provide it to the user? Or maybe you don't want to, which would probably be fine for everyone else. I have no use for forum signatures anyway. Just curiosity.
 Yep, too wide due to the numbers. 

Yeah, I'll admit I'm abusing the API Key a little, I'll try and find a way to hide it while keeping it simple to use. 

#5

you should probably just build a database of usernames with the api keys so usernames could be used instead. I don’t think that the sig feature would get that much use (I would definitely use it though!) currently that it would create too much pressure on your server :slight_smile:


#6

I… I think this could make this place much more convoluted if people started showing signatures like that…

The color n stuff just make it way too distracting.


#7
Zertap said... you should probably just build a database of usernames with the api keys so usernames could be used instead. I don't think that the sig feature would get that much use (I would definitely use it though!) currently that it would create too much pressure on your server :)
 saving API keys in a database? Hmm...

But otherwise I think caching would be nice, like hourly or even longer intervals, if the traffic goes berserk.

My suggestion: 
Why not use the level icons from the WK Media Pack? Instead of writing the text, you can make it nice and simple. Keep it up.

#8
Apraxas said... I.... I think this could make this place much more convoluted if people started showing signatures like that....

The color n stuff just make it way too distracting.
 Haha, It's not really for here though. The forum doesn't even let you add signatures (a good thing imho).

#9
emin said... saving API keys in a database? Hmm...

But otherwise I think caching would be nice, like hourly or even longer intervals, if the traffic goes berserk.
Yes, I mean: Kinda like kiko did it, you wanted a sig, it made one and refreshed it on every levelup. And there was no api key in the url afaik. It ended to username.ext (png I think)

#10

Thanks for this.  My only suggestion, and it’s completly self serving so feel free to ignor, is to add one more counter for vocab that is a guru or higher.  It could fill that blank spot below burned kanji.