Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager (Realty Manager & Auto Manager):
Counter question

 

 


nznan
Novice

Aug 23, 2002, 4:54 PM

Post #1 of 10 (3180 views)
Shortcut
Counter question Can't Post

Hi guys

Can anyone tell me how I may be able to add a simple page viewed counter to each listing I have? Or indeed if it is even possible.

Thanks in advance
www.listezy.com


Dave
Staff / Moderator


Aug 26, 2002, 4:35 PM

Post #2 of 10 (3166 views)
Shortcut
Re: [nznan] Counter question [In reply to] Can't Post

Sure, you could have a look for a free counter. I belive there is a number of sites that offer free counter services where you just cut and paste some code into your page. Or you could also look for a free cgi/perl counter. In any case, If you find a counter and it needs a unique "ID" for each page you could use the listing number, which should be in the placeholder $num$ (if I recall correctly). To get started I'd do a search for "free counter".

Has anyone else setup a counter on your Realty Manager listing pages? What did you use? Where did you get it from? Let us know. : )

Dave Edis - Senior Developer
interactivetools.com


1forsalebyowner
User

Sep 15, 2002, 9:53 AM

Post #3 of 10 (2911 views)
Shortcut
Re: [Dave] Counter question [In reply to] Can't Post

I use GCounter. It is simple to install and use in _publish_listing.html. I happen to use SSI , but the non-SSI should work fine.

Link: http://www.watty.com/myscripts/gcounter.html


fabjr71
User

Apr 3, 2003, 8:46 AM

Post #4 of 10 (2755 views)
Shortcut
Re: [1forsalebyowner] Counter question [In reply to] Can't Post

Any chance you could provide us with an example of what you did to get it to work.

If possible, please copy and past the code in your response with Insert here for the change variables.

Thanks


fabjr71
User

Apr 3, 2003, 12:02 PM

Post #5 of 10 (2746 views)
Shortcut
Re: [fabjr71] Counter question [In reply to] Can't Post

Simple and quick counter here is working great.

Easy installation and counts all pages in a simple perl script and data file.

Only bad thing is that it counts all reloads. But hey, can't complain for the simplicity.


Benjamin
Staff


Apr 3, 2003, 5:16 PM

Post #6 of 10 (2739 views)
Shortcut
Re: [fabjr71] Counter question [In reply to] Can't Post

Glad to hear it's all worked out :-)
Ben
interactivetools.com


jimneilson
User

Apr 4, 2003, 2:48 AM

Post #7 of 10 (2728 views)
Shortcut
Re: [Benjamin] Counter question [In reply to] Can't Post

Hi downloaded the script, but how do you install it, is there instructions that i have missed?


fabjr71
User

Apr 4, 2003, 5:08 AM

Post #8 of 10 (2722 views)
Shortcut
Re: [jimneilson] Counter question [In reply to] Can't Post

Unstuff the zip file and the install.txt file explains how to install the scripts. If you have any experience with perl scripting, this is one of the quickest and simplest scripts to install. The only line that needs to be modified in the perl script is the path to perl.

#!/path/to/perl - which most unix servers looks like this

#!/usr/bin/perl or #!/usr/local/bin/perl

You then insert the SSI tag into your page specifying the location of the perl scrip in your cgi-bin - like this

<!--#exec cgi="/cgi-bin/allaccounted4/counter.cgi" -->

The shtml page is included with an example. Make sure to set your permissions properly as explained in the instructions. The counter.cgi is 755 and the counts.txt is 777. Install counter.cgi and counts.txt into the same directory within the cgi-bin.

Test it out and it should work perfectly.

That is it, you don't need to insert any id numbers after the tag since each page the tag is on will be recorded into the counts.txt file.

Best wishes,

Frank Beier
Dynamic Webs, LLC


jimneilson
User

Apr 4, 2003, 5:44 AM

Post #9 of 10 (2721 views)
Shortcut
Re: [fabjr71] Counter question [In reply to] Can't Post

Hi i unzip the file but there was not any install.txt only the images and gcounter.pl file.

Thanks for yr quick response.

Jim


fabjr71
User

Apr 4, 2003, 5:57 AM

Post #10 of 10 (2719 views)
Shortcut
Re: [jimneilson] Counter question [In reply to] Can't Post

I'm a bonehead - my mistake - I uploaded the wrong file.

Here is the correct file - it is from

http://www.stellarstuff.com - The script is called allaccounted4


(This post was edited by fabjr71 on Apr 4, 2003, 6:01 AM)

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4