DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [forum] request for link statistics  (Read 6,932 times)

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
[forum] request for link statistics
« on: November 10, 2008, 11:06 AM »
When uploading files you can see how many downloads the file got; which is one of the best features of this forum. Is it possible to do have the same functionality with links? I don't always want to host the files here but I'd love to see how many people clicked through. maybe there's a plugin that already exists.

justice

  • Solve issues simply.
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,898
    • Participated in NANY Challenge Four Times
    • Cody Award
    • Coding Snacks
    • DJ Badge - DJ
Re: [forum] request for link statistics
« Reply #1 on: November 12, 2008, 09:33 AM »
I must be the only one :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: [forum] request for link statistics
« Reply #2 on: November 12, 2008, 01:30 PM »
it's a good idea actually, though it would require some javascript in the page code if it was to track external links.
care to see if someone already wrote such an extension for smf? i doubt it but here is where to look:
http://custom.simplemachines.org/mods/

if you find me a simple php/javascript code to keep track of clicks on different links let me know and i'll have a look.  i guess the most important things would be:
1) it shouldn't disrupt the working of the page if user has js disabled
2) people on the forum have to agree that it's not a privacy invasion.  i think as long as all it does it count clicks and doesnt save any other info about the user it's probably not going to bother anyone.

Original address: https://www.donationcoder.com/forum/index.php?topic=15669.0