View Single Post
  #2  
Old 04-18-2009, 12:04 AM
CPMcGraw's Avatar
CPMcGraw CPMcGraw is offline
BARCLONE Rocketry
 
Join Date: Mar 2005
Location: Mobile, Alabama
Posts: 5,357
Default

More progress, finishing up a couple of untidy last-minute items.
  1. Primary visitor counter -- The website has to feed your browser a cookie with a one-hour lifetime for this feature to work properly. I want to count unique visits to the website, not just every time someone clicks on the index page (the big logo in the upper left links to the main index page). If someone comes to the site with no cookie, then they are counted and the big number on the left of the green bar is incremented by 1. The cookie prevents them from being logged in again for at least one hour.
  2. Model Page Visitor Counter -- Different story here. Visits to these pages are counted each time they're visited, no matter how close the visits are. This number is displayed in the grid to show visitors how often that design is looked at.
  3. Downloads Counter -- Yet another animal. I count each time a download is made from the model pages, and this number is used to determine which designs are the most popular. This number is closer to being an accurate indicator of popularity, since someone who downloads the plan file is giving more consideration to building it than someone who doesn't download it.
  4. Models currently in the database -- 65. I'm going to attempt to get 35 loaded up on Saturday, which would give me the first 100.

It's getting scary now: Everything seems to be working...
__________________
Craig McGraw

BARCLONE Rocketry -- http://barclone.rocketshoppe.com
BARCLONE Blogsite -- http://barclone.wordpress.com
BARCLONE Forum -- BARCLONE Forum

BARs helping BARs

SAM 0044
AMA 352635
Reply With Quote