Feb 9, 2002, 2:27 AM
Veteran / Moderator (6956 posts)
Feb 9, 2002, 2:27 AM
Post #2 of 2
Views: 1166
Hi,
I was going to post on this. (or something similar).
I've hacked detailed_page.cgi (again) to use the ClickTrack table to prevent duplicate "hits" when using Links in an "internal" mode -- ie: where the links are on the site, and jump.cgi isn't really used.
I have a hack for rate.cgi that has to be turned into a plugin (again) for counting UNIQUE ratings. ie: each user has ONE chance to rate a link. There is an option to allow a user to change their opinion, and an option that just "logs" the user votes, so you can silently track which users are stacking the deck.
I was going to turn this into a similar hack for review.cgi since while you can rate the link once, and the program remembers it, it doesn't remember how often you click the "useful/not-useful" rating system, and that can stack a deck for or against (or both).
Right now, detailed_page.cgi tracks "hits" to the detailed page (an internal jump). Jump.cgi still tracks "hits" to external jumps. On postcardsportal.com (I think) you can see this as "Site Visits" vs "Hits", and I know I've been tracking that on Bodyart.com and Girlfriends.com, but don't know if those are public or not.
Do you want to track how many times all the reviews are looked at? If so, you'd want to insert the code from Links::User::jump.pm that tracks the click_db and have it track "review_hits". You'd want to add a column to the Links table, review_hits, and then increment it. Not a hard hack, but since I'm doing this in 3 or 4 places, I'm trying to find a *better* way of doing it that generalizes it for each use. Maybe a plugin that allows you to tap into existing hooks... but I'm not sure.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.