OK, so that took much less time than I thought it would.
Comments have been broken now for some time—I suspect since the site was moved to another server by my hosting company a few months back. It seems as though an entire PHP file was deleted from my root directory, which doesn’t really make sense to me.
At first I thought I may have accidentally deleted it myself, but the missing file is not in my “trash” folder, though a bunch of other files from over the years are.
I will try to fix it as soon as possible, but I didn’t have a backup, and it’s been so long since I initially coded it, I don’t really remember how it worked. Basically I have to reverse engineer my own web site.
or are they? 1 June 2010, 6:51 pm
+ post a commentI was getting a little tired of all the spam in my comments, so I added a spam filter which seems to work fairly well. (By which I mean I tested it by reposting a viagra link which got through my original unfiltered comment system, and it rejected the spam. Nice!)
For the curious, I used Akismet through the PHP5 Akismet library. If you try to post spam, you get a nice message asking you to make your comment less like spam. Fairly simple.
In case anyone is wondering why there have not been any posts in a while, I’m busy working on a different website. Once things settle down there, I should have more time to blog. I’ll keep you posted.
It was always part of the plan to allow reader comments on this blog. After being nudged today by my friend Siva, I relented.
I handcoded this blog, so it involved more than flipping a switch. But all in all, it only seems to have taken me about six hours; not bad for an amateur, I think.
I don’t have a challenge-response system in place prevent robots from posting spam, but I imagine I will have to add one eventually. Let’s conduct an experiment to see how long it takes, shall we?
It’s so nice that we don’t have to go to the specific post page to make comments. (Is it even possible to go to a specific post page on your blog? You don’t seem to have permalinks?) Anyway, I really like your script setup. Maybe I’ll steal it, harharhar. 10 May 2009, 12:38 pm
Hahaha so you didn’t allow HTML after all. WHOOOOOPS. 10 May 2009, 12:39 pm
After this alcohol and fatigue won’t spoil your couple’s night.
http://obama.xf.cz/1.html
raualir oasiss o uoini een
sotetfi s ooo o urasorro 10 May 2009, 12:42 pm
haha, it took eight hours and forty-two minutes.
i do have permalinks, they’re just not advertised yet.
try, for example http://binarysurge.com/page:ultimeat-pizza or http://binarysurge.com/tag:movies.
I’ll probably enable the markup code now... your malformed html attempt makes me squint. 10 May 2009, 12:48 pm
turns out that first "spambot" was actually cary. that was a pretty good prank. 9 May 2009, 9:10 pm
added permalinks (click on the post title) and a list of tags on the right. 10 May 2009, 2:39 pm
interesting Am I only able to post in italics and bold? or can I use other neato stuff like this...
<div align="center"><FONT
color="#ffffff" size="+1"><MARQUEE bgcolor="#000080"
direction="right" loop="20" width="75%"><STRONG>Fou de fa fa!</STRONG></MARQUEE></FONT></DIV> 20 May 2009, 2:05 am
dang. 20 May 2009, 2:06 am
+ post a comment