TinyPortal

Development => Resources => Modules => Topic started by: Boylett on April 11, 2008, 12:59:13 AM

Title: Download module
Post by: Boylett on April 11, 2008, 12:59:13 AM
Is there anyway to generate an image showing information about files in the download section? Like how many times a file has been downloaded.

If someone told me the file I need to edit I could do it myself, because I know how to use GD functions in PHP.

Thanks :)
Title: Re: Download module
Post by: IchBin on April 11, 2008, 02:04:35 AM
I'm not 100% sure, did you look in the Downloads file in the Sources and Theme/default directory?
Title: Re: Download module
Post by: Boylett on April 11, 2008, 11:04:54 AM
Ok, using the information in the tpdlmanager.php in /Sources/ I have made an image which shows information about an item :)

Thanks for your help.
Title: Re: Download module
Post by: Ken. on April 11, 2008, 11:11:50 AM
Sounds like that solved the issue for you?  :)
Title: Re: Download module
Post by: Boylett on April 11, 2008, 07:47:40 PM
Yes it works quite well 8)

http://www.xendot.com/site/itemimage.php?item=23

I may release the source if someone else wants something like this.
Title: Re: Download module
Post by: Ken. on April 11, 2008, 08:02:54 PM
Good deal.

And yes, by all means post your code and any directions needed to implement your fix.  :)

Marked as solved.
Title: Re: Download module
Post by: Boylett on April 11, 2008, 09:37:36 PM
Ok here is the source and a readme file aswell:
http://www.xendot.com/site/index.php?action=tpmod;dl=item27
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.xendot.com%2Fsite%2Fitemimage.php%3Fitem%3D27&hash=211488674a1ec3bf063787f450e652a4f509e1cb)