Archive for the ‘WordPress scripts’ Category

Forget User Info

Tuesday, June 29th, 2004

When someone leaves a comment on a WordPress blog, a cookie is saved to their computer with the name, e-mail, and URI that they entered. This is quite handy for most people, but it may bother those who use public or shared computers. Wordpress does not by default have a way for commenters to specify that they don’t want their info saved to a cookie, so here’s a way to do that.

Warning: This is not just a plugin. You are going to add a few lines to a core WordPress file. Just so you know.
(more…)

Comment Highlighting (based on author)

Monday, June 21st, 2004

Monty asked about comment highlighting based on author.

Even though this isn’t a plugin, I thought this could work similar to the way I was doing comment highlighting
(more…)

Comment Hilighting

Friday, June 4th, 2004

One of the things I wanted to do was be able to highlight certain posts that were particularly important. Probably not useful on all types of blogs - but on this one, where some comments with links, or suggestions, or alternate methods of doing something, may go unnoticed in a busy, highly commented post, I wanted to be able to point to a few and make sure people saw them…

I had actually originally asked MooKitty for a plugin/hack that would do it:
Here is her script.

I think her solution is very well-done. It means updates to the interface so you can easily see which post was noted as “important”, etc. However, after having lived through a few MT upgrades, I’ve been trying to avoid editing any core WordPress code, so that I don’t have to start worrying about a dozen hacks I could lose when I upgrade my CMS.

Here’s my solution. It may not be as elegant, but it gets the job done. :)
(more…)

Number of users currently online (part II)

Saturday, March 27th, 2004

I’ve been looking around for “users currently online” type scripts. So, tonight, I hacked together two great scripts. The first comes from Spoono - this script uses php and mySQL to keep track of how many users are on your site. Then tonight I saw Lynda’s script - which uses php, a flat file and makes use of MT’s cookies to actually display WHO is on your site (they would have had to leave a comment on the site to show up in this list)

So I combined the two…
(more…)