2005
CA-StarDate
Sponsored Links
It seems to work just fine, so I guess it’s time to release it to public
)
CA-StarDate is a WordPress plugin that will display a Star Trek’s StarDate format from either post date or comment date. So if you’re a big fans of Star Trek, this one for you! ![]()
Requirement
Since this is a WordPress plugin, of course you need WordPress
Currently tested under version 1.5 (Strayhorn) and 1.5.1 (alpha)
Installation
1-Click Install: Available through WP Plugin Manager.
Manual Install: Download the file, extract, and upload it into your Plugins directory. Then activate the plugin from admin panel.
Live Demo
Just look around my site. I’m currently using this plugin
) Not that I like Star Trek, but I found it silly to mix StarDate with Javanesse date style.
Documentation
Default Usage
Put the code below either inside your Post loop or your Comment loop:
<?php if (function_exists('ca_stardate')) ca_stardate(); ?>
Parameters
There are 2 3 parameters:
ca_stardate($date, $print,$url)
$url parameter added on version 0.2
- $date
String, tell the plugin the date reference you want to use. Possible value: ‘auto‘ (default, will choose between post or comment date), ‘post‘, ‘comment‘, and ‘now‘ (use current date). - $print
Boolean, whether to show the output or not. Default is true. - $url
String, URL where visitor goes when he click on the StarDate. Default is the StarDate information on Wikipedia.
Example
Show current StarDate
[php]ca_stardate(’now’);[/php]
To Do
Future plan:
- No idea
Let me know if you have any.
Version History
v0.2 - May 3rd, 2005
- Add custom link to StarDate text
- Add tooltips to display the real date
v0.1 - April 30th, 2005
- Initial release
CA-StarDate is written by cosa and posted under Programming, WordPress , plugin, WordPress. If you like it, you might consider subscribing to our feed, follows us on Twitter, or receive our latest posts via email. Or else, you could also or store it to your favourite social bookmark sites. Further information about this article can be found.
And while you're here, why don't you check out our other articles:
Pssst! Most people are coming to this page searching for: stardate,star date,current stardate,Stardate gadget,star trek stardate,star trek myspace comments,star trek stardates,star trek star date,stardate star trek,CA-StarDate,lg rumor skins download star trek,stardate startrek,stardate php,wordpress stardate plugin,star trek star dates,star trek computer,gadget stardate,php stardate,star trek wordpress plugin,"star trek" myspace comments, 


No comments?
Man, you make my day better!
I love Star Trek and I will love to show my user the stardate of a post.
Just a question:
Do you think that for now stardate 84547.45 is correct?
I dont have sure, but I think it is a litle weird… ^^
Rui
PS: for those who dont know how to install this, just search for the date on the files index.php (for the index) and single.php (for direct article view).
[...] Visit [...]
Suggestion: Make it a widget, so we can have the current date shown in star dates.
[...] CA-StarDate | Daily Gadgets, Computer, and Electronics News Oh yeah, there’s even a WordPress plugin to display the stardate. Thanks Stephu! (tags: Startrek Stardate WordPress plugin) [...]
[...] May 2005 with coding. Coding my own Wordpress plugin to be exact. My first plugin on that month was CA-StarDate, a simple plugin that display current Star Trek’s StarDate. Somehow it got a lot of attention [...]
[...] CA Stardate : Traduce in data astrale la data, imperdibile per un trekker [...]
thanks for sharing