Replies

Jun 14, 2016 9 years ago
This rift empty
MagnusTheRed
YEET
User Avatar
White Rabbit

Is it possible to get something - either an image or something text-based - that shows my local time, that I could put in my profile or signature? I've been looking around and I don't know whether or not it's possible; I haven't found anything but I could be using the wrong search terms.

I tend to put 'Time Zone: GMT/BST' in my signature or profile but it would be easier to have an at-a-glance thing to help the people I RP with.

CW Thread | CW Shop | Redbubble SALE: .+:。(ノ・ω・)ノ゙*:・゚✧ CWS: |

Jun 14, 2016 9 years ago
Bug
User Avatar
Segfault

JavaScript is not allowed in our custom profile/signature code, so it is not possible as far as I know. We are only allowed to use HTML and CSS, which cannot do this kind of thing by themselves.

At least... it's not possible to do it with minimal effort.

Being a crazy programmer person, I have this idea in my head that "nothing is impossible". So, I have thought of an imperfect solution for you, but it does take some effort. This requires your own web server of some sort. The easiest way to do this is to use PHP.

Basically, write a PHP file that gets your current local time and generates an image that displays that time. Have the PHP file return this image data.

Then, you can do: As far as I can tell, Subeta does not currently block php scripts being referenced by an img tag. So this should work. The only downside is that the image will only display the time it was when the user loaded your profile page; it will not automatically update every second.

Good luck and let me know if you need any help :)

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Jun 14, 2016 9 years ago
This rift empty
MagnusTheRed
YEET
User Avatar
White Rabbit

So, uh, not possible for someone who poked Codecademy once or twice and then sort of gave up? :o

Also, web servers cost money, right? Isn't that why Subeta always needs donations - for their servers?

CW Thread | CW Shop | Redbubble SALE: .+:。(ノ・ω・)ノ゙*:・゚✧ CWS: |

Jun 14, 2016 9 years ago
Bug
User Avatar
Segfault

A large-scale website with many users, like Subeta, would want to pay for servers because of all the storage and bandwidth and such that they need. For something small like this, you don't need to pay at all. You can find tons of free PHP hosts online, by googling "free php web hosting" and similar terms.

If you don't think you could code it yourself, I'd do it for sP :P

🐝 ☕ bug (he/him) | your friendly neighborhood code wrangler. stay in the loop! join and check out the latest admin post highlights

Please log in to reply to this topic.