Link Clicks-Count Addon

Register an Account
Reply
 
Thread Tools Display Modes
  #31 (permalink)  
Old 01-03-2008, 11:38 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
I am having an issue with that, I can't seem to find the cause, it just started doing that today.

Heres how I am displaying my clicks, what do you think:


Thanks,
Geoserv.
Reply With Quote
  #32 (permalink)  
Old 01-04-2008, 08:11 AM
Banned
Pligg Version: 9.8.
Pligg Template: Custom
 
Join Date: Feb 2007
Location: Canada
Posts: 796
I now notice that when I click on a story title, where it shows the number of clicks turns to NaN and the click count doesn't increase.

I just went through the install again and still not working.

What does NaN stand for?

Geoserv
Reply With Quote
  #33 (permalink)  
Old 01-04-2008, 03:06 PM
AnAlienHolakres3's Avatar
Pligg Donor/Coder
 
Join Date: Jul 2007
Location: Prague
Posts: 116
Send a message via ICQ to AnAlienHolakres3
Quote:
Originally Posted by Geoserv View Post
I now notice that when I click on a story title, where it shows the number of clicks turns to NaN and the click count doesn't increase.

I just went through the install again and still not working.

What does NaN stand for?

Geoserv
Please visit:
JavaScript NaN Property

I hope that helps
Reply With Quote
  #34 (permalink)  
Old 01-29-2008, 06:36 AM
New Pligger
Pligg Version: Beta 9.8
Pligg Template: yget
 
Join Date: Jan 2008
Posts: 12
Hello,

I will use this Pligg-Option "Use story title as link --> false" but in this case the clicks will not be count with your code. Whats the right way to make it possible?
Reply With Quote
  #35 (permalink)  
Old 01-30-2008, 11:27 PM
dennis's Avatar
Pligg Donor
Pligg Version: 9.8.2
Pligg Template: 9.8.2
 
Join Date: Dec 2007
Location: Silicon Valley
Posts: 12
Send a message via Yahoo to dennis
i've got an alternate implementation of this on my site -- it does not involve mod'ing or extending your dB tables. that changes happen across a few smarty and php files.


(implemented this on v.9.8.2).

Visit my site: reliablesource.org to see it in action.

the mod involves a few lines across 3-5 files...i can't remember b/c I haven't looked at it in a few weeks.

it's not perfect yet -- if you try it out you'll see what I mean. it displays the number of clicks on a story, but when you go view the story, the totals always read 0; however, on the listing pages, the correct clicks are always shown.

it' s not fatal nor is it critical -- though I would like to get it working properly.

I am a serious newb with PHP -- a few weeks old in this domain--i'm more of a java jockey--in any case, I know for a fact that the fix for the stories's view count showing 0 is probably a trivial bug that could be patched with the right person looking over my shoulder.

If anyone is interested in help me iron this out -- let me know. also, downloads could also be tracked using analogous logic -- i plan to throw that in also, but first thing is first.




Quote:
Originally Posted by analogbernd View Post
Hello,

I will use this Pligg-Option "Use story title as link --> false" but in this case the clicks will not be count with your code. Whats the right way to make it possible?
Reply With Quote
  #36 (permalink)  
Old 01-31-2008, 06:55 AM
AnAlienHolakres3's Avatar
Pligg Donor/Coder
 
Join Date: Jul 2007
Location: Prague
Posts: 116
Send a message via ICQ to AnAlienHolakres3
Quote:
Originally Posted by analogbernd View Post
Hello,

I will use this Pligg-Option "Use story title as link --> false" but in this case the clicks will not be count with your code. Whats the right way to make it possible?
You will have to customize link (story) page, probably in story_center.tpl instead of link_summary.tpl
Reply With Quote
  #37 (permalink)  
Old 03-19-2008, 01:49 PM
Casual Pligger
 
Join Date: Feb 2008
Posts: 47
Does this method always add click counts when a user clicks multiple times?
Reply With Quote
  #38 (permalink)  
Old 04-06-2008, 01:15 PM
Casual Pligger
Pligg Version: 9.9
Pligg Template: convergence
 
Join Date: Sep 2007
Location: Netherlands
Posts: 37
is this mod compatible with 9.9.0?

a have added it to my code but nothing is showing ??

greets

Nieuwstube / Gepubliceerd
Reply With Quote
  #39 (permalink)  
Old 04-13-2008, 04:59 AM
New Pligger
 
Join Date: Apr 2008
Posts: 4
Strangely, the same happens on my installation.
Reply With Quote
  #40 (permalink)  
Old 04-17-2008, 11:20 PM
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 784
This sounds like a pretty cool mod! Anyone running this on 9.8.2?
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Submit Antispam Addon v 0.1 AnAlienHolakres3 Free Modules 45 12-05-2011 12:48 AM
Special Advertising Add-On for banners Tutorial AnAlienHolakres3 Questions and Comments 19 10-25-2009 08:56 AM
Sig, link, and post count restrictions Cuilan Questions and Comments 4 02-09-2009 04:16 PM
[mod] count clicks instead of votes abcdefgary Questions and Comments 6 06-15-2008 12:34 AM
Vote count and Title Link only on front page tommy818 Questions and Comments 1 10-25-2007 05:40 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development