MyBB Community Forums

Full Version: Link Click Counter...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there any Link Click Counter plugin for myBB ? I need a plugin or modification that does this: every time you (someone) makes a post, and puts a link inside that post, next to the link displays a number (that shows every click the link has been clicked).

But i need the link click counter to count the clicks from external URL's (in post) not from attachments (attached files)...

thx

Wrong forum and difficult to do.
you can do with link_counter.php 1.0

1. What does the script do?
---------------------------
link_counter.php is a simple, lightweight script that allows you to keep track of how many time people have clicked your links on your site.

2. Getting it going
-------------------
Getting it up and running with your webpages is very straightforward - just follow these three simple steps:

1. Upload the link_counter.php and link_counter.txt file to somewhere on your webserver, via FTP. Both should be uploaded in ascii format.

2. For any links that you want to garner stats for, change them to point to the link_counter.php like in the following example.

Change this:

http://www.google.com

To this:

http://www.yoursite.com/link_counter.php?url=http://www.google.com

What that does is link to the link_counter.php script (whose path you'll have to determine yourself - depending on where you uploaded it to!). The script keeps track of how many people have clicked that link, then redirects user to the proper URL.

3. Checking your link stats
---------------------------

Checking your link stats is easy, just open up your web browser and go to the link_counter.php script, adding "?admin=1" at the end.

http://www.yoursite.com/link_counter.php?admin=1
That will open up a page which displays all your stats, and control over deleting those records which are no longer important.

[attachment=23212]
[attachment=23213]
Thank you sir !
@ Midori:

is there a way to show the record of the link in front of the link to all users. as uzurpatoru says
Quote:every time you (someone) makes a post, and puts a link inside that post, next to the link displays a number (that shows every click the link has been clicked).