![]() |
Forum Link: how many times it is clicked
Is there a way I can put near to my forum link (that points to my homepage) how many time it is clicked?
|
Bump.
|
What exactly are you trying to count?
I am somewhat lost, I know you are attempting to count the number of clicks, but the number of click to where? Please answer the following questions as detailed as possible: -What is your final goal? -You want to count the clicks, unique or per-click? -Clicks FROM where? -Clicks TO where? -Where would you like the number displayed at? -Do you have an example we can see? Answering these questions will ultimately help us assist you better. Thank you! |
-What is your final goal? Just to know how could I do this type of script.
-You want to count the clicks, unique or per-click? Unique for user/visitor. -Clicks FROM where? For example, if I have a forum called "vB.org" (wich is a vB forum link), and if a user click on it.. -Clicks TO where? As above. -Where would you like the number displayed at? Near to the forum. -Do you have an example we can see? I have seen something like this, maybe in another forum software. Ufortunately I don't remember where. Thanks. |
Here are my instructions (since I am not sure if VB has this feature already built in).
You will need to create 2 files. -counter.php -log.txt 1. Create the file counter.php and place the following code within it, then save to your forum directory: PHP Code:
3. Now that you have this information call it into the forums and display that single page. Please let me know if this works for you. |
Thank you, Alex. One question. How do I call this script to work for all my forums wich are 'forum link(s)'? Wich is the code I should put in my plugin?
|
All times are GMT. The time now is 01:00 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|