1
Lakota
istats
  • 2005/2/13 12:34

  • Lakota

  • Just popping in

  • Posts: 11

  • Since: 2005/1/28


I have installed Istats and everything works fine except I have all zero's for all the stats including the counter. Can anyone help on how to correct this ?

Thanks
Lakota - www.transconscious.com

2
rowdie
Re: istats
  • 2005/2/13 13:48

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


istats only counts non-admin visits. Could that be the problem?

Rowd

3
Lakota
Re: istats
  • 2005/2/13 13:56

  • Lakota

  • Just popping in

  • Posts: 11

  • Since: 2005/1/28


That is what I thought .... but even the users see 0's ... I have to be missing something !

4
rowdie
Re: istats
  • 2005/2/13 14:18

  • rowdie

  • Just can't stay away

  • Posts: 846

  • Since: 2004/7/21


You included the following code in your theme?
(I placed mine under the footer)
<{if $xoops_isadmin != 1}>
      <
script type="text/Javascript">
        <!--
          
istat = new Image(1,1);
          
istat.src "<{$xoops_url}>/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&refer="+escape(document.referrer)+"&page="+location.href;
        
//-->
      
</script>
    <{/if}>

5
Lakota
Re: istats
  • 2005/2/13 14:28

  • Lakota

  • Just popping in

  • Posts: 11

  • Since: 2005/1/28


Okay I will do that ... what file do I need to include this in?

6
dilbert166
Re: istats
  • 2005/2/13 14:36

  • dilbert166

  • Just popping in

  • Posts: 74

  • Since: 2004/6/4 1


excerpt from the readme file included in the module:

Go in each [color=FF0000]theme.html[/colorfile and add in the footer part of XOOPS the following code
    
Example resulting from the Default XOOPS theme:
     
          <
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://YOUR_XOOPS_SITE_URL/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&refer="+escape(document.referrer)+"&page="+location.href;
          
//-->
          
</script>
        <{/if}>
          </
td>
        </
tr>
          </
table>
    </
body>
    </
html>    

    
This code will allow the stats module to count.


if you miss that step, the module will not be counting!

Login

Who's Online

241 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 241


more...

Donat-O-Meter

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

Latest GitHub Commits