Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-08-29 15:39:19, last edited by Koya (2016-09-10 02:53:40)

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Player Badges - working

Notice
My host is being attacked and it is out of my control.
Note: I'm not being attacked, just my host.

It's cool now

http://forums.everybodyedits.com/viewto … 75#p621275

Hexagon wrote:

I’m not planning to support the online images in the forum signatures, sadly.

I have duplicated and expanded Hexagon's idea.

Base
[img]http://live.koya.io/players?user=<username>[/img]

players?user=locator players?user=_offlineuser

Styles

Using shields.io default styles.

Plastic

[img]http://live.koya.io/players?user=<username>&style=plastic[/img]

players?user=locator&style=plastic players?user=_offlineuser&style=plastic

Flat

[img]http://live.koya.io/players?user=<username>&style=flat[/img]

players?user=locator&style=flat players?user=_offlineuser&style=flat

Flat Squared

[img]http://live.koya.io/players?user=<username>&style=flat-square[/img]

players?user=locator&style=flat-square players?user=_offlineuser&style=flat-square

Location

Will just show "online" if in lobby.
You do not need to change the image URL at all, you just need to add the player "locator" as a friend and "online" will display the world name (locator will slowly make its way down to the bottom of your friendslist and will not always be at the top) - you can also link to the world directly like so:

[img]http://live.koya.io/players.php?user=<username>[/img]

players.php?user=bbmp

[url=http://live.koya.io/players.php?user=<username>&link=true][img]http://live.koya.io/players.php?user=<username>[/img][/url]

players.php?user=bbmp


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#2 2016-08-29 22:19:24

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: Player Badges - working

Stalk much?


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#3 2016-08-29 22:26:15, last edited by Koya (2016-08-29 22:27:32)

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: Player Badges - working

Xfrogman43 wrote:

Stalk much?

Your location is only posted if you add the user "locator", I don't know your locator if you do not add this user.

It is completely your choice, if you don't want it - don't have locator as a friend.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Wooted by:

#4 2016-08-30 01:33:37, last edited by Koya (2016-08-30 01:35:36)

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: Player Badges - working

Notice

The bot will now automatically accept friend requests! (thanks to NVD @, I'm not entirely sure what happened as the instructions he gave didn't work but a C&P did work even though the code was identical - idk)

If you want to use a badge that allows you to show off what world you are in and have a link to that world then add the user "locator", your friend request will be accepted within a minute and your world should be shown off within a minute after.
If you do not want to have your world shown off - do not add the bot, a simple "online" will be shown (Edit: if you no longer want to show your world, delete the bot from your friendslist - you can add it again after)

The bot should never show as online in your friendslist so do not worry about a bot always being at the top, it will slowly make its way to the bottom of the list.

This service is still new, only spent a limited amount of time on it after finding out Hexagon was discontinuing it and I had other stuff to do - there shouldn't be any bugs and if there are it'll be because of caching, but mention them if something drastic happens.

Some things to note:
• I am fairly certain that this bot should never crash but there is a small chance the service could stop.
• If you have connected with the bot and used the link, if you change worlds and don't refresh your page for a minute then the link will send you to a new world and the image will show the old world - there is no fix.
• Sometimes the images fail, shields.io timesout after only a few seconds and lots of simultaneous requests from the same browser queues the image requests resulting in images failing consistantly when there are lots of banners - there is no fix unless I make my own (I am logging chosen smiley //forums.everybodyedits.com/img/smilies/wink)


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Wooted by:

#5 2016-08-30 02:55:07

Yandax
Member
From: Where ever I need to be.
Joined: 2015-02-21
Posts: 637

Re: Player Badges - working

Cool. I never knew Hex did the original ones. How did you put this together so fast?

I have no technical questions 'cause I don't understand anything about coding


Pretend I didn't exist until now

All hail me, the king of insensitive jerks

Woot if you hate me

Offline

#6 2016-08-30 12:17:53

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: Player Badges - working

Yandax wrote:

Cool. I never knew Hex did the original ones. How did you put this together so fast?

I have no technical questions 'cause I don't understand anything about coding

The bot is very simple, it's about 160 SLOC (plus about 10 for the PHP)


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#7 2016-08-30 15:00:39

Yandax
Member
From: Where ever I need to be.
Joined: 2015-02-21
Posts: 637

Re: Player Badges - working

Koya wrote:
Yandax wrote:

Cool. I never knew Hex did the original ones. How did you put this together so fast?

I have no technical questions 'cause I don't understand anything about coding

The bot is very simple, it's about 160 SLOC (plus about 10 for the PHP)

Sorry, I have no idea what a SLOC is. Is it like an oobleck?


Pretend I didn't exist until now

All hail me, the king of insensitive jerks

Woot if you hate me

Offline

#8 2016-08-30 15:02:13

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: Player Badges - working

Yandax wrote:
Koya wrote:
Yandax wrote:

Cool. I never knew Hex did the original ones. How did you put this together so fast?

I have no technical questions 'cause I don't understand anything about coding

The bot is very simple, it's about 160 SLOC (plus about 10 for the PHP)

Sorry, I have no idea what a SLOC is. Is it like an oobleck?

Source Lines Of Code - basically lines of code omitting blank and noted lines.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#9 2016-09-06 21:52:32

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: Player Badges - working

Notice

I had some issues with my hosting provider, my FTP activity was "dodgy" - I use a static server cached JSON to get player activity which is faster than using a database if multiple images are loaded at once.
There should no longer be any issues, sorry for this annoyance.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#10 2016-10-24 15:28:53

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: Player Badges - working

ninjasupeatsninja is polling my badge constantly which has been causing issues for everyone, once ninja has fixed their grouper or removed my badge then it will be up and working again.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Wooted by: (2)

#11 2016-10-24 17:08:47, last edited by Anatoly (2016-10-24 17:09:16)

Anatoly
Guest

Re: Player Badges - working

players?user=nou&style=flat
players?user=thanel&style=flat
players?user=processor&style=flat
players?user=toop&style=plastic
players?user=benje00&style=flat
players?user=koya&style=flat

^ We should really be allowed to see the world id in where the admin currently is, so we can follow him.

players?user=eeanatoly&style=flat

EDIT: What? It displays many errors?

#12 2016-10-24 18:41:24

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: Player Badges - working

Read the post above you and I will only stalk the staff if they are ok with it (by adding the player).


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#13 2016-10-25 15:10:13

Anatoly
Guest

Re: Player Badges - working

Okay... What about Crew Badges?

Anatoly1477404613631381

Board footer

Powered by FluxBB

[ Started around 1711635088.7727 - Generated in 0.058 seconds, 12 queries executed - Memory usage: 1.62 MiB (Peak: 1.83 MiB) ]