Site logo image

Welcome to the CozyNet Blog!

My comment box setup shenanigans for the website

While people were out at the lake enjoying their memorial holiday to a BBQ and cold beer, I decided to be extra social by staying inside of my room and setting up a comment system for the website!

For now it’s in a beta testing phase, so I can’t exactly guarantee that any comments will remain or if this platform will stick around.

A good anon in my IRC recommended that I take a look at TinyBBS for a commenting system. It’s an old project that hasn’t been updated in 11 years… BUT, it works! I had some trouble with it at first since documentation is sparse. There’s a schema to be imported for creating a table, as well as some php files to tweak. Despite the sparse documentation, it’s pretty small and not that difficult to just read over and figure out.

Commenting doesn’t require registration, which we’ll see how that pans out. It’s also quite clean and utilizes PHP and MySQL. I don’t know shid about databases, and yeah yeah I know there’s a DB password out there in a PHP file. There isn’t much I can do about it, but there may be some “hardening” I could accomplish.

I had to make some tooling to more easily handle comment deletions and table generation for each blog. It’s kind of rough, but it’s basically just text manipulation of the source material for the specification, then copies the contents where they need to go as well as import the new schema.

You can test it out now in the comment section below! (That is if you’re reading this from the website and not a feed reader.) I’ve also enabled it for the previous two blog posts, “CozyNet Chronicles - Episode 1 (Video)” and “My choco cookie recipe.”

Anyhow, if anyone’s interested, I could try and make a write up on how to set this up yourself, so just let me know. Just bare in mind I don’t know wtf I’m doing and have probably just made a huge security no no.

Thanks for reading my blog!


Back to top!

Comments:

  • I mean... it is readable.. Looks kinda shid, but not bad. I think I can live with this.
    Jan 23, 2023 Permalink Reply
    • Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test 
      Jan 23, 2023 Permalink Reply
      • Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test 
        Jan 23, 2023 Permalink Reply
        • Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test text Test 
          Jan 23, 2023 Permalink Reply
          • The comment box is now fixed!
            Jan 23, 2023 Permalink Reply
            • TestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTest.
              Jul 13, 2023 Permalink Reply
    Back to top!