Re: Enhanced Master Counter?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15053
interpreted = N
texte = >I'm using WC to serve up several different domains off of my server and I'd >like to create an enhanced MasterCounter (based upon the orginal WebDNA >sample) that would be more useful for myself and my clients. Basically I'd >like to use just one counter.db and give each one of my clients a >reports.tmpl that would only show their domain's traffic.I do this already but I set the name of the counter and the site name ahead of time. And it doing so can control who sees what. I used replace not append and if the counter name is not set ahead of time it does not get counted. You could do the same thing with the sample just a field called site and when appended on a given site add sitea and on the other site do siteb and so on. then control the display with a search. an interesting thing I did on some multi-domain pages is I created a another counter name that is located right after the page counter called grand total and the site name is admin and only I get to see the total traffic for all the sites combinded. Instead of searching all the records just to get a grandtotal. I do a look-up and it shows the grandtotal on my personal admin page along with the free memory available to webcat :) >I'd also like to automatically email a monthly traffic report to each >domain.Just pour a search out between the [sendmail] tags. After the email has been sent, I'd like to automatically archive >the counter.db Ken can tell you how to do this. Never done that. and reset the counters to zero for the next month.just search all the records and do a [math]total=0[/math] where total is the field you are tracking.>I'd like to know if anyone has already created such a monster (boy wouldn't >that be nice!). If not, is there enough interest in such a thing that I >should write a generic version of it to be posted to the WedDNA code >archive? > >Any comments or suggestions are welcome. >-marty=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Associated Messages, from the most recent to the oldest:

    
  1. Re: Enhanced Master Counter? (Marty Schmid 1997)
  2. Re: Enhanced Master Counter? (grichter@panavise.com (Gary Richter) 1997)
  3. Enhanced Master Counter? (Marty Schmid 1997)
  4. Re: Enhanced Master Counter? (Grant Hulbert 1997)
>I'm using WC to serve up several different domains off of my server and I'd >like to create an enhanced MasterCounter (based upon the orginal WebDNA >sample) that would be more useful for myself and my clients. Basically I'd >like to use just one counter.db and give each one of my clients a >reports.tmpl that would only show their domain's traffic.I do this already but I set the name of the counter and the site name ahead of time. And it doing so can control who sees what. I used replace not append and if the counter name is not set ahead of time it does not get counted. You could do the same thing with the sample just a field called site and when appended on a given site add sitea and on the other site do siteb and so on. then control the display with a search. an interesting thing I did on some multi-domain pages is I created a another counter name that is located right after the page counter called grand total and the site name is admin and only I get to see the total traffic for all the sites combinded. Instead of searching all the records just to get a grandtotal. I do a look-up and it shows the grandtotal on my personal admin page along with the free memory available to webcat :) >I'd also like to automatically email a monthly traffic report to each >domain.Just pour a search out between the [sendmail] tags. After the email has been sent, I'd like to automatically archive >the counter.db Ken can tell you how to do this. Never done that. and reset the counters to zero for the next month.just search all the records and do a [math]total=0[/math] where total is the field you are tracking.>I'd like to know if anyone has already created such a monster (boy wouldn't >that be nice!). If not, is there enough interest in such a thing that I >should write a generic version of it to be posted to the WedDNA code >archive? > >Any comments or suggestions are welcome. >-marty=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== grichter@panavise.com (Gary Richter)

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

formatting dates from a field ... (1997) Re:Searching for ALL / empty form field *the FINAL answer* (1997) How long until WebDNA makes the list? :( (2004) Upgrading from version (1998) intel mac (2006) WebCatalog NT beta 18 now available (1997) [ot] Another HTTPS issue? (2004) woops - speed results - right subject (2002) taxrate - off by 1 cent (1997) Tab Charactor (1997) WebCat and image maps (1997) UPPERCASE (1997) Country & Ship-to address & other fields ? (1997) urls (2005) WebMerchant issues. (2000) Generating Report Totals (1997) Running _every_ page through WebCat-error.html (1997) PCS Frames-Default page is solution! (1997) WebDNA commands for Dreamweaver (2003) WebCat2: Items xx to xx shown, etc. (1997)