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:

  • again
    Oct 6, 2022 Permalink Reply
    • ooo nice so far!
      Oct 6, 2022 Permalink Reply
      • the input box is cutting out, fren :(
        Oct 6, 2022 Permalink Reply
        • aaaaaaaaa
          Oct 6, 2022 Permalink Reply
          • tiny!
            Oct 6, 2022 Permalink Reply
            • oo its really small now!
              Oct 6, 2022 Permalink Reply
              • well atleast the buttons wrap, kinda
                Oct 6, 2022 Permalink Reply
                • im getting bored
                  Oct 6, 2022 Permalink Reply
                  • double-stacked buttons :P
                    Oct 6, 2022 Permalink Reply
                    • ...
                      Oct 6, 2022 Permalink Reply
                      • please stop
                        - me
                        Oct 6, 2022 Permalink Reply
                        • a
                          Oct 6, 2022 Permalink Reply
                          • INTO THE VOID WE GOOOO
                            Nov 25, 2022 Permalink Reply
                            • Hey I wonder if I fixed it?? Let'sss seeeeeeee!
                              Dec 9, 2022 Permalink Reply
                              • Bump, originally
                                Jan 9, 2023 Permalink Reply
                                • \o/
                                   H
                                  / \
                                  Jan 22, 2023 Permalink Reply
                                  • 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!