Chatterbox

Because I like to “showcase” my top commenters, I made a little box for those who comment the most. It’s a “top 5 list” of the people who have commented the most. Just insert this EE code where you want it to show up:

{exp:query sql=”SELECT DISTINCT name, email, url, count( email ) AS count FROM `exp_comments` GROUP BY email ORDER BY count DESC LIMIT 0 , 5″}

<a href=”{url}” target=”_blank”>{name}</a> – {count} retorts<br />

{/exp:query}

That will give you the top commenters for all your weblogs with the commenter with the most comments on top. If you want to narrow down by weblog, then add a WHERE statement saying “WHERE weblog_id=#” where # is the weblog ID number. Therefore the query will read: “SELECT DISTINCT name, email, url, count( email ) AS count FROM `exp_comments` WHERE weblog_id=1 GROUP BY email ORDER BY count DESC LIMIT 0 , 5″

Posted in Uncategorized

Zoo

Went to the St. Louis Zoo today. It was pretty fun. I love animals. Although sometimes I just feel kinda weird seeing all the animals in captivity. I sure the trainers love them and take care of them, but sometimes I just feel so bad for them. Aside from all that, had some fun. :)

Pictures to come, if I like them. I’ve already posted one to my photolog.

Posted in Uncategorized