1
kelantan
IStat not updating!
  • 2004/9/15 7:17

  • kelantan

  • Just popping in

  • Posts: 3

  • Since: 2004/9/15


I already follow the instructions in xoop2install.txt - followed exactly.

The time on the server is in real time but something else is null.

The stat looks like this below:

Web Stats
Total Pages:
Total Visits: 0
Total Days: 0
Average Visits per day: 0.00
Average Visits per hour: 0.00
Average Visits per week: 0.00
Average Visits per month: 0.00
Busiest Date: 31-12-1969
Busiest Day Visits: 0
Visitors Today: 0
Visitors this week: 0
Visitors this month: 0
Busiest Week: #
Busiest Week Visits: 0
Busiest Month: /
Busiest Month Visits: 0

Stats Counter
Welcome
admin

There are already:

000000

visitors who came on this website

It is on netfirm.com server.

I already read the forum and already deleted theme.html in template_c but no luck.

Anybody can help?

2
smdcom
Re: IStat not updating!

make sure u add this to ur theme.html

Quote:

<table width="100%" cellspacing="0">
<tr id="footerbar">
<td><a href="https://xoops.org/" target="_blank"><img src="<{$xoops_imageurl}>poweredby.gif" alt="" /></a>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://YOUR_URL_XOOPS_SITE_/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&refer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
</td>
</tr>
</table>
</body>
</html>


it's work in my site... take a look...

3
JasonMR
Re: IStat not updating!
  • 2004/9/15 8:25

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


Are you aware, that the admin isn't counted? Meaning, if you hope to see a change in the counter, when you yourself visit the site, I have to diapoint you.
Logout, and visit your site as regular user. Then logon again, and check if there where changes.

As with smdcom, I have it installed, as you, followed all instructions, and have no poblems. Therefore, this is the only issue I can think of, that might be causing your problem.

4
kelantan
Re: IStat not updating!
  • 2004/9/15 8:57

  • kelantan

  • Just popping in

  • Posts: 3

  • Since: 2004/9/15


TQQuote:

smdcom wrote:
make sure u add this to ur theme.html

Quote:

<table width="100%" cellspacing="0">
<tr id="footerbar">
<td><a href="https://xoops.org/" target="_blank"><img src="<{$xoops_imageurl}>poweredby.gif" alt="" /></a>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://YOUR_URL_XOOPS_SITE_/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&refer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
</td>
</tr>
</table>
</body>
</html>


it's work in my site... take a look...


I did insert those into theme.html and also code for style.css

Everything is done accordingly... from the xoops2_install.txt

FYI I have XOOPS 2.7 installed.

Nothing happen.

Now I am gonna try the second opinion above


5
kelantan
Re: IStat not updating!
  • 2004/9/15 9:24

  • kelantan

  • Just popping in

  • Posts: 3

  • Since: 2004/9/15


1 more question:
What is this?

P3P compact policy is included in the counter.php file with Janmetpet's string.
Just follow the link below to obtain yours:
http://www.privacycouncil.com/freep3pfix.php

What should I do with it?

6
JasonMR
Re: IStat not updating!
  • 2004/9/15 10:57

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


Thats not all that important - in the sense of making the module work. The author had just included this part, to remind people of Privacy Issues (I guess).

BTW: I am also using 2.0.7 (as this is what I assume you meant).

Another issue, do all folder have the correct permissions set? Meaning, not only the changes given in the instructions, but are all the other folder set to 755 and files to 644?

7
louisg1
Re: IStat not updating!
  • 2004/9/15 19:05

  • louisg1

  • Just popping in

  • Posts: 57

  • Since: 2004/9/8 4


i done the above as you said tried both but it still dosn't update i need help i am running it local but it still should work right

8
Jackwan
Re: IStat not updating!
  • 2004/9/25 14:11

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


Quote:

kelantan wrote:
TQQuote:

smdcom wrote:
make sure u add this to ur theme.html

Quote:

<table width="100%" cellspacing="0">
<tr id="footerbar">
<td><a href="https://xoops.org/" target="_blank"><img src="<{$xoops_imageurl}>poweredby.gif" alt="" /></a>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://YOUR_URL_XOOPS_SITE_/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&refer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
</td>
</tr>
</table>
</body>
</html>


it's work in my site... take a look...


I did insert those into theme.html and also code for style.css

Everything is done accordingly... from the xoops2_install.txt

FYI I have XOOPS 2.7 installed.

Nothing happen.

Now I am gonna try the second opinion above



I have the same problem, no updates.

my default theme is phpkaox, there are many selectable themes in my setup, in the prefernece selectable themes section my default choice is also phpkaox.

do I have to insert the above mentioned html into ALL selectable themes to make it work ?

9
JasonMR
Re: IStat not updating!
  • 2004/9/25 14:30

  • JasonMR

  • Just can't stay away

  • Posts: 655

  • Since: 2004/6/21


Yes, or the counter wont know about the movements, as soon as somone choses a theme, different to your selected default.

10
Jackwan
Re: IStat not updating!
  • 2004/9/25 17:50

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


I am still not getting it! the count has changed from 0 to 1 and stay there. Now I have printed out the xoop2_install.txt and checked every thing on the list:
Chmod, add classes in ALL .css files in the themes subdirectory(to make it simple, I cut down the themes into three as the default installation), add footers in ALL html files in themes subdirectory. Whatelse I need to do? Oh yes, some where in one of the messages says i need to delete the xxx^theme.html in the template_c subdirectory, which I did and I saw new html has been generated by the system. Also, I have log on not as admin/webmaster, but created a user to log in/out several times. all my main subdirectory has been set 755 and the files there 644 except the cache directory in the istat subdirectory is 777 and config.php 666

BTW: does this module count the Anon traffic? cause I allow all Anon's to look at the newbb, news etc but not posting.

here is one of my html change Please note that I have changed the "refer" to "referer"

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<!-- RMV: added module header -->
<{$xoops_module_header}>
<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
</head>
<body>
<table cellspacing="1" cellpadding="0" bgcolor="#666666">
<tr>
<td bgcolor="#DDE1DE">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="285"><a href="<{$xoops_url}>"><img src="<{$xoops_imageurl}>images/logo.gif" alt="logo" align="middle" /></a></td>
<td width="100%" align="center"><div style="text-align: center; padding-top: 5px;"><{$xoops_banner}></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="20%" bgcolor="#EFEFEF">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<table cellspacing="0" cellpadding="2">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End left blocks loop -->
</td>
<td style="padding: 0px 5px 0px;" align="center">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>

<table cellspacing="0">
<tr>
<td width="100%" colspan="2">

<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End center-center blocks loop -->

</td>
</tr>
<tr>
<td width="50%">

<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End center-left blocks loop -->

</td><td width="50%">

<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<table cellspacing="1" cellpadding="5">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<{/foreach}>
<!-- End center-right blocks loop -->

</td>
</tr>
</table>

<{/if}>
<!-- End display center blocks -->

<div id="content">
<{$xoops_contents}>
</div>
</td>

<{if $xoops_showrblock == 1}>
<td width=20% bgcolor=#efefef align=center>
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<table cellspacing="0" cellpadding="2">
<tr>
<td class="blockTitle">&nbsp;<{$block.title}></td>
</tr>
<tr>
<td class="blockContent"><{$block.content}></td>
</tr>
</table>
<br />
<{/foreach}>
<!-- End right blocks loop -->
<{/if}>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="30" valign="middle" bgcolor="#DDE1DE" align="center"><div style="text-align: center; padding-top: 2px; font-size: 10px"><{$xoops_footer}></div></td>
</tr>

<table width="100%" cellspacing="0">
<tr id="footerbar">
<td><a href="https://xoops.org/" target="_blank"><img src="<{$xoops_imageurl}>poweredby.gif" alt="" /></a>
<{if $xoops_isadmin != 1}>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://creforum.net/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&referer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
<{/if}>

</td>
</tr>
</table>
</body>
</html>

Login

Who's Online

225 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 225


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