 |

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
|
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
|
|
|  |
 | |  |
 |

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)
|
|
|  |
|