Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[plugin] [ORPHAN] ajt_naked_day_switch
This is a really simple plugin I wrote to get my feet wet writing Textpattern plugins.
What it does is remove your CSS link during Naked Day (April 5th) every year or until you get sick of it. :)
Current version: 0.1 (2006-04-4)
Last edited by segfault (2006-04-04 16:07:02)
“A hero is no braver than an ordinary man, but he is braver five minutes longer.” – Ralph Waldo Emerson
Offline
Re: [plugin] [ORPHAN] ajt_naked_day_switch
Thanks segfault, i’m using it :)
Plugin Composer — admin plugin to write your own plugins
Offline
#3 2006-04-04 23:51:32
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: [plugin] [ORPHAN] ajt_naked_day_switch
it’s running, I feel so naked
regards
Last edited by marios (2006-04-04 23:51:52)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: [plugin] [ORPHAN] ajt_naked_day_switch
@Inspired: Thank YOU for the wonderful plugin I used to create my own. It was a snap.
@marios: Glad you liked it. Don’t worry. It’s just for a day. :D
“A hero is no braver than an ordinary man, but he is braver five minutes longer.” – Ralph Waldo Emerson
Offline
#5 2006-04-05 05:12:53
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Offline
Re: [plugin] [ORPHAN] ajt_naked_day_switch
No, it assumes that Naked Day is from 12:00am from the International Date Line (somewhere out in the Pacific) until it’s 23:59 from the last timezone (again, somewhere out in the Pacific). This has the unintended effect that websites farther away from the International Date Line will have long CSS Naked Days as it’s Naked Day way before their local time comes somewhere out in the East and way past their local times too out West. I am assuming your server is using UTC time. If your server is using another time setting it might not be accurate.
Last edited by segfault (2006-04-05 12:13:56)
“A hero is no braver than an ordinary man, but he is braver five minutes longer.” – Ralph Waldo Emerson
Offline
Pages: 1