1
maru1
very newbie Q: number of visits
  • 2006/3/31 9:24

  • maru1

  • Just popping in

  • Posts: 27

  • Since: 2006/3/28


I mean a simple counter of visits, displayed as "xxx guests visited our site", which is usually an easy cgi script available at every server.

Since I've started with XOOPS (and it's just a few days), I notice that the XOOPS connected sites (like this one, or dev.xoops, etc) don't have such a thing. I couldn't also find this option in my XOOPS administration.

Searching for "counter" here gives a list of stats modules as a result, but all they are about sophisticated statistics for a webmaster, not a simple counter to put in the site.

Can I just use one of the scripts provided by my hosting server? But how could I add it to the site?

2
svaha
Re: very newbie Q: number of visits
  • 2006/3/31 9:41

  • svaha

  • Just can't stay away

  • Posts: 896

  • Since: 2003/8/2 2


I made a custom block (html) and placed the code for the counter in it (from my host)

<span><img src="/cgi-sys/Count.cgi?df=my.dat|display=Counter|ft=3|md=6|frgb=91;139;120|dd=D"></span>


You can see it here


For the istats counter I have on another site I included this in the theme.html

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

What doesn't kill me,
makes me stronger.

http://exm.amevita.eu
http://www.amevita.eu
http://www.alohaspirit.nl

3
maru1
Re: very newbie Q: number of visits
  • 2006/3/31 14:49

  • maru1

  • Just popping in

  • Posts: 27

  • Since: 2006/3/28


Thanks a lot, svaha!
It's so easy that I've managed to make it
Even though I'm still not too familiar with blocks.

By the way, I'm really impressed by your site's appearance. Gosh, it had to take lots lots of your time. What do you use for making it multilanguage? (if I can ask) For someday, in far future probably, I'd like to implement a multilanguage option to my site, and I don't know what to choose.

Login

Who's Online

176 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 176


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