SimpleCounter

Guido

Avatar: Guido

2011-07-02 00:52

Hi,

I just added plugin Simple Counter to my website and have a question.

How much time is there between the registration of visit number one and the next visit?

And where in the code can I change the time?

Guido

» Quick.Cms v3.x

euphoria-art

Avatar: euphoria-art

2011-07-02 09:40

setcookie('osSimpleCounter',true,time()+7200);

Guido

Avatar: Guido

2011-07-15 11:14

Thanks euphoria-art, but where do I have to copy-paste that line?

boboo

Avatar: boboo

2011-07-15 13:02

Just find this line in the plugin.
The value 7200 means amount of seconds (7200 sec = 2 hours).
1 minute = 60 sec, 1 hour = 3600 sec.

Guido

Avatar: Guido

2011-07-16 12:02

Hi boboo, I cannot find that line in the code of Simple Counter.

So, where in the code do I have to put that line?

Greetings, Guido

boboo

Avatar: boboo

2011-07-16 13:30

OK, i see now. You took the plugin from q.cart download area.
the setting with seconds are by the plugin, which is in q.cms download area.

it-service.kimla.de ---> qc plugins&tips

Guido

Avatar: Guido

2011-07-16 19:32

I see it now as well... strange!

But thanks again, boboo.

Guido

Avatar: Guido

2011-09-01 00:12

New question,

I have a website with simplecounter.
This website was running local (localhost), but since today it's online.
How can I reset counter (to '0' visits)?

cgan

Avatar: cgan

2011-09-01 10:15

Check counter.php in db.
First digit on line 2.

cgan

Guido

Avatar: Guido

2011-09-01 19:26

Yes, I found it. Thanks!

Back to top
about us | contact