Jun 12

Site Updates

Oh goody goody, I’ve updated the website! What changes do we have in store right now?

Well, we are now using NBBC to do parsing of BB code and related stuff. This means that the style of the website has changed slightly, but I find that’s acceptable.

I came across NBBC the other week when I was looking for a BBCode parser. I realized that it was rather dumb of me to write my own parser. While it would be cool, it would take a long time and potentially wouldn’t work so well. So, we took something that was already made and then slammed it into the website. So far, so good though. 🙂

May 20

Comments

Holy moley, that’s a lot of comments!

Unfortunately, they’re all spam. On the bright side, adding comments apparently works!

To prove it to you:

mysql> DELETE FROM comments;
Query OK, 311 rows affected (0.12 sec)

Yeah… we’ll be integrating a CAPTCHA system soon, possibly tomorrow.

On the bright side, this website is actually being utilized! Of course, perhaps that’s not such a great thing… Ah well, what are you going to do?

Jan 11

RM5248: Now with comments(really!)

So I’ve finished up the comments feature of the website, and it appears to be working properly. Currently, I have it set to allow guests to comment as well. It seems to be rather good.

On a related note, viewing a post is now in its own separate page, as opposed to a parameter to index.php. I think that it looks a lot better that way.

More features to come soon.

Oh, I almost forgot: This website should be fully XHTML compliant; I have not checked the new pages, but up until this point the entire site is good. Standards checks are a good thing.

Jan 08

RM5248: Now with comments(almost)

I’m currently working on adding the ability to add comments to news posts. The framework is in-place, but I think that I need to re-work some of the website in order to make this more customizable. So, you can’t actually add any comments yet. I’m feeling rather lazy at the moment, and so I don’t feel like finishing it tonight.

So hopefully later this weekend. But because of what I want to do, it will take a little bit. Basically what I want to do is to make it possible to turn comments on and off, as well as have the ability to allow anonymous users to post comments. That’s something that I need to work on to allow maximum control over what is on the site, so that non-computer-savvy people can make a website for themselves and easily update it. This means that it would probably be a good idea to break out the viewing of individual posts into their own page, as right now that is all done thru index.php, and if I wanted to add more settings it would get very large and difficult to maintain. So, if I break it out into different pages I can make it cleaner.

I think that I am also going to look into re-working some of the SQL strings, making more use of PEAR to get values and insert values. Hopefully that will make it fully database-independent.