Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Reseting the visitor counter...


Guest

Recommended Posts

Posted

Is there a way of reseting the counter on the page bottom? the one that reads (for example) 685 requests since Tuesday 08 October, 2002 . In what file is this information, and how can I reset it? can I make it auto reset every month?

 

 

BTW, I'm just about done building my site, and I'd appreciate some feedback before I publish it:

http://ethan.withangeleyes.com/catalog/default.php

Tell me what you think.

 

-Ethan

Posted

Not directly. You need to edit the table called counter using phpmyadmin or similar.

Ian-san

Flawlessnet

  • 1 year later...
Posted

I have just reset my counter using my hosts built-in phpMyAdmin control panel:

  • Open phpMyAdmin and click counter in the left menu
  • Click the Browse tab in the main window
  • You should see a small table with the headings: startdate and counter
  • Click the EDIT button (small pencil and paper icon on the left of this table)
  • Change the startdate to your present date and reset the counter
  • Make sure the SAVE radio button is checked and click GO

  • 1 year later...
Posted

Hi!

is there any way of making the COUNTER on the footer.php

to slow down?

well, it's already up to 45 in 4 Minutes.

As it's supposed to be a COUNTER i would suggest a some kind of 2-hour-timeout-thing.

But how can that be done?

thx, Mark

Posted
Hi!

is there any way of making the COUNTER on the footer.php

to slow down?

well, it's already up to 45 in 4 Minutes.

As it's supposed to be a COUNTER i would suggest a some kind of 2-hour-timeout-thing.

But how can that be done?

thx, Mark

the counter goes up with each REQUEST. To slow it down you need to either change the reason it goes up (i.e. amend the request to a page view - I think theres a contrib for that) or delete it altogether. The counter is there as a quick visual aid to both you and your visitors to let you know how well your site is doing in terms of visitors.

 

Ethan - the link you posted is dead, so pretty hard to give you any kind of constructive feedback :(

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Posted
the counter goes up with each REQUEST. To slow it down you need to either change the reason it goes up (i.e. amend the request to a page view - I think theres a contrib for that) or delete it altogether. The counter is there as a quick visual aid to both you and your visitors to let you know how well your site is doing in terms of visitors.

 

thanks a lot. that's what i'm looking for. Didn't find that contrib though.

yours, mark

 

Ethan - the link you posted is dead, so pretty hard to give you any kind of constructive feedback :(

 

its already two 2 years old ;)

Posted
its already two 2 years old ;)

um, ok, didnt look at the date. [blush]

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Posted
I think theres a contrib for that

 

Well, i just cant find anything that would suite me.

Would you be so kind to tell me how that could be done?

 

PS: are you one of the scripter of this osCommerce Shop?

yours, Mark

Posted

Reset counter - http://www.oscommerce.com/community/contributions,3258

 

Sorry, I cant find the requests to page views mod either..?!

 

As for the comment about being one of the scripters, no, I cannot claim any credit whatsoever for this fantastic bit of kit. I am a Community Sponsor, which all users of the forum can become (http://www.oscommerce.com/partners/community) as a way of saying thanks and giving back to the oscommerce community. The main coders of the script will have a "Team Member" logo where it says Community Sponsor for me!

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Posted
I have just reset my counter using my hosts built-in phpMyAdmin control panel:
  • Open phpMyAdmin and click counter in the left menu
     
  • Click the Browse tab in the main window
     
  • You should see a small table with the headings: startdate and counter
     
  • Click the EDIT button (small pencil and paper icon on the left of this table)
     
  • Change the startdate to your present date and reset the counter
     
  • Make sure the SAVE radio button is checked and click GO

 

Nice and concise info! :thumbsup:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...