Posted By
|
Message
|
LB
Registered 08/08/2009
Points 25
|
10th August, 2009 at 00:15:50 -
This was requested by Jon_Lambert after he saw my viewcounter on my Hills and Balls project page. ( http://TinyURL.com/HillsBallsProject )
What this is is a PHP script that makes an image with the number of views in it as text. This way you can include the image in your project page for people to see and for you to know just how many people are looking.
Download here: http://www.LB-Stuff.com/MMF2/LB_TDC_viewcounter.zip
You need to place the viewcount_TDC.php on your website. This requires that you have PHP installed on your server. (I might later think about making one on my website for people who can't have a PHP webhost)
To put it on your poject page: < img src="http://your.website.here/your_path_here/viewcount_TDC.php" >
That's it! Now you have a nice little viewcounter! It can go anywhere that supports images, really, even your own site or signature!
So good luck on your projects!
Just found this old account from when I was 15 lol
|
[DELETED] Likes to put dots on paper
Registered 08/12/2008
Points 118
|
10th August, 2009 at 08:01:28 -
Really nifty, I think it's a nice addition for people's project pages. Though, I don't think a lot of people have their own PHP-server.
n/a
|
Hayo Stone Goose
Registered 15/08/2002
Points 6948
|
10th August, 2009 at 11:24:07 -
Pretty cool, thanks. I think project pages should have a view count anyway.
www.hayovanreek.nl
|
LB
Registered 08/08/2009
Points 25
|
10th August, 2009 at 18:05:59 -
Yeah, but from the looks TDC doesn't have asy PHP scripts, all the pages are Active Server Scripts (.asp)
I'm still considering make a feature to have the viewcounters on my website and people just linked to them with a name like
"viewcouters.php?counter=MyProjectName"
If I did that maybe they could be automatically incorperated on ell the project pages as a thing in the top part with all the project info.
But that's all to be thought about.
Just found this old account from when I was 15 lol
|
Codemonkey Always Serious
Registered 06/11/2007
Points 164
|
11th August, 2009 at 15:24:57 -
If they do this, they might as well add it for download pages also.
You can log off any time you like, but you can't ever leave.
|
LB
Registered 08/08/2009
Points 25
|
17th March, 2010 at 02:46:55 -
My only concern is my server's security, and what to do if people start to make crazy names that mess up my server. But, we'll figure something out.
EDIT: Heh, whay didn't I just think of it before? I'll just limit it to letters and numbers and underscores and dashes only, and have a length limit for it too. Then, everything will work out just fine!
I'll get to work on it.
Edited by LB
Just found this old account from when I was 15 lol
|
UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
|
17th March, 2010 at 15:07:55 -
Make sure you add support for and symbols and equal signs.
n/a
|
LB
Registered 08/08/2009
Points 25
|
17th March, 2010 at 17:26:05 -
No, I am not going to add support for that! >
Anyway, I have completed it and will post a new thread shortly.
Just found this old account from when I was 15 lol
|
|
|