Project Description:
Aardvark is a free topsites script:
http://www.aardvarktopsitesphp.com/
I have installed a version of it onto a website. The way it works is like this:
You put the above code onto a website. Then when someone clicks the code, the user gets 1 point.
You will notice that it requires the use of an image, and that the username is in the image. ie: u=UserName
That's all well and good, but I need it to work as a simple link instead. ie:
http://www.mywebsite.com/?u=UserName
Now, I am pretty sure that there's a good reason that the script writers made it work like that. The image is used to get a page count or somethng.
SO, I AM GOING TO NEED SOMEONE SWITCHED ON, WHO IS ABLE TO WORK OUT AND UNDERSTAND WHY THE SCRIPT WORKS THE WAY IT DOES, AND HOW TO KEEP IT WORKING CORRECTLY BY MODIFYING THE WAY THE CLICKS ARE COUNTED,
Basically, I need the way the script works to be modified, so that it works as a simple URL that can be pasted into facebook, myspace, youtube descriptions, etc. That's why I can't use the original image code.
Surely there must be some way around it. ie: maybe once the user clicks the new link, it can redirect to the image (so the click gets counted), and then to the script -- or something like that. Maybe use some htaccess, or some header location redirects or something. I don't know. That will be your problem.
Here's some info I have found, I am not sure if it will be useful (the posts are old):
http://www.aardvarktopsitesphp.com/forums/viewtopic.php?f=5&t=8430&p=34001&hilit=link+instead+of+image#p34001
Additional Project Description:
12/05/2012 at 10:33 EST
I have installed a version of it onto a website. The way it works is like this:
<a href="http://www.mysite.com/"><img src="http://www.mysite.com/button.php?u=UserName" alt="My Topsites List" border="0" /></a>