PDA

View Full Version : Is it possible to view the 'Statistics' of the guestbook on your site?


demoguy
10-22-2005, 09:36 AM
Yeah, the title says it all.

Is there some sort of javascript that make it possible to view the stats of the guestbook (like in the 'Members Area') perhaps?

Maybe it's not allowed or something, but i just need an answer :)

Thank you.

Andreas
10-22-2005, 11:09 AM
Hi,

If you are looking for visitor statistics that's not available. It would be allowed, but it's simply not recorded. If you would like some statistics for your guestbook I would recommend you to try out StatCounter (http://www.statcounter.com/) and add the hidden code to the header of your guestbook. This service is quite good, and the one I use myself for UltraGuest.com statistics.

demoguy
10-26-2005, 04:03 PM
Are you sure?

I'm talking about this:

http://img428.imageshack.us/img428/6938/image22av.jpg (http://imageshack.us)

This 'counter' gets updated every time someone use the guestbook...

Isn't it possible to get this counter to appear anywhere else?

Andreas
10-27-2005, 10:38 AM
My bad! :)

Try using this code where your change the "id" number to reflect your guestbook id:

<script src="http://www.ultraguest.com/statistics.php?type=js&id=1041779607" type="text/javascript"></script>

<script type="text/javascript">
<!--

document.write('Messages:');
document.write(messages)
document.write('<br>Unique Hits:');
document.write(uniquehits)
document.write('<br>Total Hits:');
document.write(totalhits)

// -->
</script>

Using the javascript variables "messages, uniquehits and totalhits" you should be able to display the stats in any way you want. I just wrote this code and haven't really tested it too well so let me know if you are having any problems using it.

Best regards,
Andreas
UltraGuest.com

demoguy
10-28-2005, 10:55 AM
Thanks alot!

EDIT
It works! :cool: