Difference between revisions of "User talk:Aichon"

From The Urban Dead Wiki
Jump to navigationJump to search
Line 23: Line 23:


Howdy Aichon. Wiki coding question for you any it is fully possible this can't be done. I am trying to figure out how to make what is basically a random quote generator pulling from an array or hidden list that refreshes on a button press. I'd prefer it not reload the whole page but if necessary that would work as well. Any ideas or am I just beating my head against a wall with no hope of breaking through? - [[User:MeesoSorry|ШəəϨо ϨоЯЯλ]] ([[User talk:MeesoSorry|talk]]) 04:25, 22 December 2017 (UTC)
Howdy Aichon. Wiki coding question for you any it is fully possible this can't be done. I am trying to figure out how to make what is basically a random quote generator pulling from an array or hidden list that refreshes on a button press. I'd prefer it not reload the whole page but if necessary that would work as well. Any ideas or am I just beating my head against a wall with no hope of breaking through? - [[User:MeesoSorry|ШəəϨо ϨоЯЯλ]] ([[User talk:MeesoSorry|talk]]) 04:25, 22 December 2017 (UTC)
:It’s possible to get close to what you want, but it’ll be necessary to refresh the page. More or less, create a {{tl|Switch}} that has different quotes each hour/minute/whatever (by using the appropriate [[Help:Magic_Words#Date_.26_time|magic words]]), then add a refresh link near it that uses the full URL for the page with <code>&action=purge</code> at the end. It isn’t random, but it does provide new quotes on a regular basis, which is usually good enough for most people.
:I did something similar when Big Bash 4 was launching, except instead of quotes, I had a timer that was counting down to when we went public. The countdown itself doesn’t work anymore, but if you look at the code for [http://wiki.urbandead.com/index.php?title=Big_Bash_4&direction=prev&oldid=2073152 that version of the page], you’ll see an example of both the way the link works and how you can use a switch to provide different text.
:Let me know if you have any questions, though my response may be delayed a bit around this time of year. {{User:Aichon/Signature}} 06:24, 22 December 2017 (UTC)

Revision as of 06:24, 22 December 2017

Aichon:Talk
Aichon
ˈīˌkän :Talk

Announcement: I'm no longer active. My talk page is still your best bet to get in touch. Aichon 04:39, 15 December 2018 (UTC)

Please be aware of the following guidelines before posting here.

  • New conversations should be started at the bottom using a level two header (e.g. ==Header==). Or with the +
  • I like to keep conversations wherever they start, but if a conversation ends up here, I will keep it here.
  • I will format comments for stylistic reasons, delete comments for whatever reason, and generally do anything else within reason.

Thanks. Aichon

NOTICE

Archives: 2018 | 2017 | 2016 | 2015 | 2014 | 2013 | 2012 | 2011 | 2010 | 2009 | To do


Where's the best place to shoot you a PM?

SoC forum? Hope you're well! BOSCH 06:23, 4 December 2017 (UTC)

SoC forum works, or else you can just e-mail me from the side link. I was actually just looking through your recent page changes and was going back through some of those old pages. Fun times. Aichon 06:25, 4 December 2017 (UTC)
Howdy, Aichon. I came to ask the same but since I'm here I might as well make an obligatory wiki post. I wonder if I remember how to sign properly. ~Vsig.png 03:05, 19 December 2017, The year of our lord (UTC)
Love ya vape A ZOMBIE ANT 12:50, 19 December 2017 (UTC)
Ugh, I’ve been super busy, so I’ve had a reply partially written in my drafts folder for days. But here’s the important part: what you’re asking about is possible, but it’s WAY bigger than any of my other userscripts, and I’m afraid I’m checked out enough that I’m not up for tackling it at this point. I’ll try to respond to the rest and in more detail as time allows. Aichon 06:10, 22 December 2017 (UTC)

The message left behind by the person who wiped this page

do not mess with my talk page kid. —The preceding unsigned comment was added by Auralius (talkcontribs) 16:29, 15 December 2017‎ (UTC).

I don't understand the hostility when I've simply been offering to help you with a problem you've been complaining about, but I'll try to remember to honor your request, provided I'm not required to do otherwise as part of my duties around the wiki. That said, wiping my talk page is NOT acceptable behavior and will not be tolerated. Aichon 17:04, 15 December 2017 (UTC)


Message on IRC

Only saw the message you left for me on IRC ages later - hop on Discord at some point and I'll run you through it! -- Adward  22:25, 21 December 2017 (UTC)

Which Discord channel/room/thing? I don’t really Discord, so I’m a bit out of the loop on where all the cool kids hang out. Aichon 06:12, 22 December 2017 (UTC)

WikiCode Question

Howdy Aichon. Wiki coding question for you any it is fully possible this can't be done. I am trying to figure out how to make what is basically a random quote generator pulling from an array or hidden list that refreshes on a button press. I'd prefer it not reload the whole page but if necessary that would work as well. Any ideas or am I just beating my head against a wall with no hope of breaking through? - ШəəϨо ϨоЯЯλ (talk) 04:25, 22 December 2017 (UTC)

It’s possible to get close to what you want, but it’ll be necessary to refresh the page. More or less, create a {{Switch}} that has different quotes each hour/minute/whatever (by using the appropriate magic words), then add a refresh link near it that uses the full URL for the page with &action=purge at the end. It isn’t random, but it does provide new quotes on a regular basis, which is usually good enough for most people.
I did something similar when Big Bash 4 was launching, except instead of quotes, I had a timer that was counting down to when we went public. The countdown itself doesn’t work anymore, but if you look at the code for that version of the page, you’ll see an example of both the way the link works and how you can use a switch to provide different text.
Let me know if you have any questions, though my response may be delayed a bit around this time of year. Aichon 06:24, 22 December 2017 (UTC)