Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Detail page hits counter?

Quote Reply
Detail page hits counter?
Hi, I want to know if is possible this options or if exists a code hack for:

For example:
When I click to a link:
http://www.anysite.com/cgi-bin/jump.cgi?id=3
The link must access to detailed page with the same id, and at same time count the clicks of jump.cgi?id=3. In other words, the counter only count the access to detailed pages and not for the link.

Or another option only if this option is better: Copy jump.cgi to detailedcount.cgi and create the link to detailed page http://www.anysite.com/...tailedcount.cgi?id=3 but to display the hits to detailed page, how store this information in the database?

Note: I am only interested in display the hits of the detailed pages and not for the links, because in each entry I want to display several links:

Example:


- Canon Powershot G3 (this link go to detailed page)
Image canon powershot g3.
Description: Blah blah blah blah blha blah blah blah blblbhahah
Hits: 423 Votes: 432 Rating: 9.40 Vote!

When the user click in the detail page
appears this:


- Canon Powershot G3
Image
Long Description Blah blahb lahbl bhla
Hits: 424 Votes: 432 Rating: 9.40 Vote!

Canon Powershot G3 Links (this is a unique custom text field with all the links I need):
-Link 1
-Link 2
-Link 3


Original Idea: My first idea is the ability to add several links for each entry (each entry is a digital camera), each additional link with a specific id and with a independent counter, but I believe this idea is very difficult. żIs difficult? żI Need one database for each additional link? Example:

Canon Blah
Blah Blah
Additional links:
- Link 1 (3 hits)
- Link 2 (4 hits)
- Link 3 (6 hits)


Thank you very muchBlush
Quote Reply
Re: [perico] Detail page hits counter? In reply to
Pugdog has a pluing for this. I believe it is available in your plugins download area.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [perico] Detail page hits counter? In reply to
Another solution for this suggested from Alex

In Your templates just change:

jump.cgi?ID=10

to:

jump.cgi?Detailed=10

this must do the job for you Wink

zaaron

---------
GetLokal Reviews
Quote Reply
Re: [zaaron] Detail page hits counter? In reply to
I don't believe this counts the hits though Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Detail page hits counter? In reply to
In Reply To:
I don't believe this counts the hits though Wink


It works fine for me! Tongue

But .. may be i post wrong, this is the exactly modification:

jump.cgi?Detailed=<%ID%> - this counts all hits to detailed page for specified ID not to the URL of the link

zaaron

---------
GetLokal Reviews
Quote Reply
Re: [zaaron] Detail page hits counter? In reply to
Yes, this solution works fine for me CoolCoolCoolCoolCoolCoolCoolCoolCool

Thank you very much Zaaron & Andy!