1
zakharov
Problem with Istats\Web Stats 2.1
  • 2004/7/11 15:10

  • zakharov

  • Just popping in

  • Posts: 12

  • Since: 2004/7/10


http://www.transversegames.com

acct: test_account
pw: test1

The Istats block worked... or so I thought. I finally figured out what I had wrong and fixed it, but now it won't update past "1". Any ideas?

2
Stewdio
Re: Problem with Istats\Web Stats 2.1
  • 2004/7/11 16:02

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


Did you add the following to your theme.html in the footer?

<{if $xoops_isadmin != 1}>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://YOUR_XOOPS_SITE_URL/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&refer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
<{/if}>

3
sylvainb
Re: Problem with Istats\Web Stats 2.1
  • 2004/7/11 16:17

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Stewdio says it right.

I just went to your site, logged in and edited his sources...I can't see the mentioned code by Stewdio in it.
Also I see that you haven't added specifics istats css to your theme.

Hope it help.

4
zakharov
Re: Problem with Istats\Web Stats 2.1
  • 2004/7/11 17:55

  • zakharov

  • Just popping in

  • Posts: 12

  • Since: 2004/7/10


Woopsie, my bad. Thanks!

I'll try that now.

5
zakharov
Re: Problem with Istats\Web Stats 2.1
  • 2004/7/11 18:30

  • zakharov

  • Just popping in

  • Posts: 12

  • Since: 2004/7/10


I've made some changes and have some progress...

Now it's updating, but it's only per IP. The numbers keep updating between my laptop and PC (behind a router)

Total Pages: 9
Total Visits: 9
Total Days: 1
Average Visits per day: 9.00
Average Visits per hour: 0.38
Average Visits per week: 63.00
Average Visits per month: 270.00
Busiest Date: 11-07-2004
Busiest Day Visits: 9
Visitors Today: 9
Visitors this week: 9
Visitors this month: 9
Busiest Week: #28 2004
Busiest Week Visits: 9
Busiest Month: 07/2004
Busiest Month Visits: 9

to

Total Pages: 10
Total Visits: 10
Total Days: 1
Average Visits per day: 10.00
Average Visits per hour: 0.42
Average Visits per week: 70.00
Average Visits per month: 300.00
Busiest Date: 11-07-2004
Busiest Day Visits: 10
Visitors Today: 10
Visitors this week: 10
Visitors this month: 10
Busiest Week: #28 2004
Busiest Week Visits: 10
Busiest Month: 07/2004
Busiest Month Visits: 10

But my buddy (on a different IP and OS) gets a different one (lower). To test this, he got his to be equal to mine + 1, and I increased it by one to see if it would increment like it should, no luck.

Hmm...

6
sylvainb
Re: Problem with Istats\Web Stats 2.1
  • 2004/7/11 21:03

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


For me, everything seems to be fine.
Each time I hit the refresh button, it's incremented.
Total Visits              39      Current time                      2004/7/11 4:30 pm
Visitors Today             39     Average Visits per day             39
Visitors this week     39     Average Visits per week     273
Visitors this month     39     Average Visits per month     1170
Total Days              1     Average Visits per hour     1.63
Busiest Day Visits     39     Busiest Date                     2004
-7-11
Busiest Week Visits     39     Busiest Week                     2004   
#28
Busiest Month Visits     39     Busiest Month                     2004/07

7
theprof
Re: Problem with Istats\Web Stats 2.1
  • 2004/7/14 8:14

  • theprof

  • Quite a regular

  • Posts: 225

  • Since: 2004/7/14


I finally found this topic...this is eq I erased my profile somehow by mistake. anyways.....I was told to put that code in the footer in the theme.html of my gooberhead...is that correct? Also, how cna I view my php files correctly? My CPANEL is not letting me view, saying I have to download first...due to some characters it cannot read.....I dont know why this is the hardest module to upload for me...

8
sylvainb
Re: Problem with Istats\Web Stats 2.1
  • 2004/7/14 10:53

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Hello Theprof,

You're right, you have to put the script code into your theme.html (as described into xoops_install.txt).

What do you mean when you say:
Quote:
Also, how cna I view my php files correctly?

I just tried to view a php file in the istats directory, trough my cpanel account, and all is fine.

Like you, I don't know why some people have such difficulties with this module. It's like an other modules excepted the part concerning the portion of code which has to be included into the theme.html file and some css classes.

Kind Regards

9
theprof
Re: Problem with Istats\Web Stats 2.1
  • 2004/7/14 13:59

  • theprof

  • Quite a regular

  • Posts: 225

  • Since: 2004/7/14


Great I made some progress....only now...the cout will not go past 1....It stays at 1 hit, and the web stats...are staying the same also....

I put the footer part, in

html..theme.html

and in my Gooberhead theme.html...

is there one I am missing?

10
sylvainb
Re: Problem with Istats\Web Stats 2.1
  • 2004/7/14 16:54

  • sylvainb

  • Not too shy to talk

  • Posts: 168

  • Since: 2003/2/11


Theprof,

Is it your website: Gooberhead.net?
If it's the case, I visited it and cannot see the code which has to be in the footer part of your theme.

May I invite you to see this topic onto my website or to search onto xoops.org (I remember that Mithrandir has said something about updating a theme.html file)?

Kind Regards

Login

Who's Online

104 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 104


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits