Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 01:11:36 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155557 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: hits counter  (Read 9035 times)
tifo

Offline Offline

Posts: 26


« on: October 12, 2006, 09:32:02 AM »

Hi,

I need a hit counter on WB sites as a client is asking for it. I do not want to use 3rd party counters.

I have read another topic on this forum stating that this feature is not going to be in WB.

Has some created a module or code snippet to allow me to use a hit counter on a WB site?
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: October 12, 2006, 10:40:31 AM »

Hello,

in the german subforum we have discussed about chcounter. Don't worry it is multilingual.

Download it from here:

http://chcounter.org/

Unzip the package and copy it in chCounter Folder and install the counter.

To get it working with WB add in the index.php of your Template the following code at the bottom above the </body> Tag

Code:
<?php
$chCounter_visible 
0;
$chCounter_page_title PAGE_TITLE;
$chCounter_force_new_db_connection FALSE;
include(
WB_PATH.'/chCounter/counter.php');
?>

Have fun

Matthias
« Last Edit: December 30, 2006, 05:27:06 PM by ruebenwurzel » Logged
tifo

Offline Offline

Posts: 26


« Reply #2 on: October 13, 2006, 05:20:58 PM »

thanks ... i'll give it a try.
Logged
shlack

Offline Offline

Posts: 25


« Reply #3 on: November 12, 2006, 05:48:48 PM »

Hello,

in the german subforum we have discussed about chcounter. Don't worry it is multilingual.

Download it from here:

http://www.christoph-bachner.net/chcounter/en/

...


Looks fine, but it seems that http://www.christoph-bachner.net/chcounter/en/ doesn't work, is there another place to download Chcounter ?

Thanks
Logged
Monky
Development Team
*****
Offline Offline

Posts: 47



WWW
« Reply #4 on: November 12, 2006, 08:05:17 PM »

Indeed, the site looks down.
On one of my WB sites I have BBclone doing counter/statistics. I suites me well: simple and just as easy to integrate.
You can download that here: http://bbclone.de/ (and its multilingual too Cheesy)
Good luck
Sebastian
Logged
mandros

Offline Offline

Posts: 10


WWW
« Reply #5 on: December 13, 2006, 11:28:46 AM »

For those searching for the chcounter 3.1.1 see attachment!

PS: It works great!

 wink
« Last Edit: December 13, 2006, 12:17:03 PM by mandros » Logged

My website www.mandros.nl runs on WB and free webspace provided by www.funpic.de (FREE 2500MB, FTP, PHP & MYSQL).
marccouture

Offline Offline

Posts: 217



« Reply #6 on: December 13, 2006, 01:31:20 PM »

All I can say is... wow.  chCounter is a very, VERY cool addition to websitebaker.  It's just what a client of mine was looking for, simple statistics with fine control.  Many thanks!
Logged

Marc C.
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #7 on: December 30, 2006, 05:28:17 PM »

Hello,

here is the new url, where chcounter could be downloaded:

http://chcounter.org/

Matthias
Logged
HF cars and sets

Offline Offline

Posts: 41


WWW
« Reply #8 on: December 31, 2006, 02:07:42 PM »

If you want to have this wonderful chCounter visible on each page of you site, you have to add this code in your used template in the place you want to have the counter showed:
Code:
<?php
$chCounter_visible 
1;
$chCounter_status 'active';
$chCounter_page_title PAGE_TITLE;
$chCounter_force_new_db_connection FALSE;
include( 
WB_PATH.'/chcounter/counter.php' );
?>
The  prerequisites are:
1) The chCounter needs to be installed in the WB folder where you can find the folders "admin", "account", "pages" etc.
2) The chCounter  MySQL data bank needs to be the same like the WB data bank
3) The code only needs to be only ONE time in your page/template or the counter will count every visit more than 1 time!
Logged


HF cars and sets - Site
---------------------------------------
"God shaved the queen"
marccouture

Offline Offline

Posts: 217



« Reply #9 on: September 07, 2007, 01:44:35 PM »

I'm trying to hide the counter on a page, and the $chCounter_visible = 0; variable doesn't seem to work.  I've tried moving it around in the template and there is no difference.

See it here: http://pages.usherbrooke.ca/spss

How can I hide the counter?  Thanks.
Logged

Marc C.
mrrbob

Offline Offline

Posts: 3


« Reply #10 on: January 31, 2008, 02:41:16 AM »

I use this on just about everything.

http://www.xav.com/scripts/axs/

You can mod the footer or for some templates you can use the form in settings on the wb menu and drop the ax tracking code in the footer section and your done - after the install of the ax system on your site of course. Just upload the code to your cgi-bin in its own dir like this /cgi-bin/ax/ and chmod the ax.pl and ax-admin.pl to 755 and your set.

Just though I would toss this out there if anyone was interested. Anyone who needs more help to set this up just reply and I'll try to help.

###
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!