Posts

code cleanup

  • Main Pages:
    • consolidated and cleaned up code; less redundant code is good
      • added HTTP referer display code
        • resized big photos for consistency and space saving
          • renamed templates from *.ihtml to *.html
            • fixed a bug in “content_individual.html” blog template

Visible Links

  • Database:
    • added “visible” column for link table
    • Admin Pages:
      • added “visible” check box to editlink and addlink pages
      • Main Pages:
        • made non-visible links not show up in link displays

Cool Upgrades

  • Database:
    • added table for counting clikthrus out of site
      • added table for counting HTTP_REFERRERs into the site
      • Libraries:
        • renamed hit_tracking.php to stats_tracking.php
          • add clikThruCount() method
            • added redirect script for counting clikthrus
              • modified Counter() method to track HTTP_REFERRERs
              • Main Pages:
                • added search capability
                  • renamed “home” topic to “blather”…. since it’s kindof the catch all blog topic

Tuesday Modifications

  • Database:
    • wrote a script to strip the slashes out of my database. slashes were icky.
      • cleaned all code of unneccesary slash stripping.
      • Admin Tools:
        • made main admin page reflect topics for news entries
          • news edit and adding uses topics for ease of navigation
          • Main Pages:
            • added “next/prev” navigation for individual viewing of entries.
              • changed layout of “next/prev” on multi-view(default view)
                • display time zone

Original System Notes

I originally wrote this website software to run on a crappy HP-UX box that only had PHP ver. 3.0.8 or something. It was horribly outdated for its time even. That was September 25, 2001. Nearly 2 years ago. Anyway… I started first by trying to implement the database with DBM. DBM sucks. I didn’t try that for long at all. After that I decided to just use flat text files with custom delimiters and a small API for accessing and updating the data in those files. That’s probably why I didn’t spend a lot of time writing admin pages at the time; the parsing of all that text got ugly fast.