Warning: include_once(/home/nullvoid/blog.mikezhang.com/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/nullvoid/blog.mikezhang.com/wp-settings.php on line 217

Warning: include_once(): Failed opening '/home/nullvoid/blog.mikezhang.com/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/nullvoid/blog.mikezhang.com/wp-settings.php on line 217
NullVoid » WordPress NullVoid » WordPress

# Michael Zhang

## Wordpress

### WordPress Plugin: Blogtimes Map

Saturday, May 5th, 2007 -- By ET

NOTE: The permanent address for this plugin is at http://blog.mikezhang.com/blogtimes_map/

What is it?

Blogtimes Map is a wordpress plugin that shows when the blogger posted in the last period of time, and allows a visitor to click on the blogtimes Image Map, and be taken to the corresponding posts. The original version of Blogtimes was written by Matt Mullenweg. This version of Blogtimes Map is also based on the hack of Martin Fitzpatrick‘s Blogtimes with icons.

Version 0.1 of the Plugin is now available for download! This version has been tested on WordPress 2.1.3, but from the way I write it, it should run on all versions.

This version contains the following improvements:

• From zero to zero point one, a percentage increase of infinity! \frac{0.1-0}{0} \rightarrow \infty[/tex] I do not ask for donations for writing this plugin, please email me and let me know you are using it, that will make me very happy. Download Latest Version: blogtimes_map.zip Installation: 1. Download the file, and unzip. 2. Upload blogtimes_map.php to the /wp-content/plugins/ directory. 3. Under your wordpress directory, create a subdirectory called “wp-images”, if it is not there. 4. Change the property of the directory /wp-images/ to be world writable (in Linux, this means: chmod 666 wp-images) 5. Upload blogtimes.png and blogtimes_icon.png to /wp-images/ directory, and allow world writable to blogtimes.png. 6. Activate the plugin in your “Plugins” interface. 7. Decide where to put the blogtimes picture on your website. I’d recommend somewhere in the footer file (/wp-content/themes/default/footer.php) e.g. Add the following to where you want the figure to be displayed: <div align="center"><img border="0" src="/wp-images/blogtimes.png" alt="BlogTimes Map" usemap="#blogtimes_map"></div> 8. You are all set now! Screenshot: Hover your mouse over the icons will allow you to see the URLs of the corresponding posts and be linked to these particular posts. Download the plugin here: blogtimes_map.zip ### Supporting LaTeX in my WordPress Blog Saturday, April 28th, 2007 -- By ET I’ve decided to support \LaTeX in my blog, just to prepare for some “more technical” posts. Here is my favourate equation: \displaystyle \frac{f(p)}{1-F(p)}=\frac{1}{p}$$where$$f(p)$$is some probability density function,$$F(p)$$is its corresponding cumulative distribution function. By the fundamental theorem of calculus:$$\displaystyle \int_{a}^{b}{f(x)}dx=F(b)-F(a)$$Of course, we also have$$\displaystyle \frac{dF(x)}{dx}=f(x)$$To show off the Greek letters:$$\displaystyle \alpha (z) \Gamma (z)=\int_{0}^{\infty}{\frac{\theta^{z-1}}{e^\theta-1}}d\theta

I do this because I can.

Ah, I need to thank the nice folks who produced this plugin for latexrender at http://sixthform.info/steve/wordpress/?p=13.

### WordPress Plugin: Author Notify

Friday, April 27th, 2007 -- By ET

The permanent plugin page is http://blog.mikezhang.com/authornotify/

What is it?

“Author Notify” is a wordpress plugin to show a message box in all the posts by a particular author. I thought about writing this plugin because my wife moved her blog out to a new domain, and I want to put up this notification to all her posts.

This plugin is also useful when multiple writers are writing on one blog, and one of them needs to put up an announcement in all his/her posts.

Version 0.1 of the Plugin is now available for download! This version has been tested on WordPress 2.1.3, but from the way I write it, it should run on all versions.

This version contains the following improvements:

• From zero to zero point one, an increase of infinity! (0.1-0)/0=infinity

I do not ask for donations for writing this plugin, please email me and let me know you are using it, that will make me very happy.

Installation:

2. Activate the plugin in your “Plugins” interface.
3. Go to “Options”–>”Author Notify”, to change the “author nickname”, and the “message”.

Screenshot:

Check out the light blue box on the page.

Acknowledgement:

When working on this plugin, I consulted two related plugins:

I appreciate the respective authors of the plugins.

You are visitor number since September 1, 2001