TinyPortal

Development => Support => Topic started by: pvtjimmy on January 02, 2009, 08:22:44 PM

Title: Recent Downloads
Post by: pvtjimmy on January 02, 2009, 08:22:44 PM
I am trying to create a Recent Downloads block....should be simple, just select the TP-module as block type....at least that is what I read on the forums....however....it does not give me a Download module as an option, it only shows my TPShoutbox.

Any suggestions how to make a recent downloads block?

Site: http://clandevious.com/forums (http://clandevious.com/forums)
SMF Version: SMF 1.1.7
TinyPortal version:1.0.6 beta 2
Theme name and version: Custom
Mods installed: Downloads Manager and TP Simple Shoutbox
Related Error messages: none
Title: Re: Recent Downloads
Post by: G6Cad on January 02, 2009, 09:44:01 PM
Have you installed and activated the download module ?
It's not enough to just create a block for it, you need to install and activate the module first.
Title: Re: Recent Downloads
Post by: pvtjimmy on January 02, 2009, 10:19:50 PM
It is installed an activated...I am actually using it for downloads. http://clandevious.com/forums/index.php?action=tpmod;dl (http://clandevious.com/forums/index.php?action=tpmod;dl)

Not sure you can see it though, you won't have permissions as guest
Title: Re: Recent Downloads
Post by: G6Cad on January 02, 2009, 10:24:03 PM
What type of block do you try to use ?  there are one option called TP Module, and one tpmodule ( same but spelled diffrent ). one of them are wrong and should not be listed there ( fixed for beta3 )
Title: Re: Recent Downloads
Post by: Maddog452 on January 02, 2009, 10:37:21 PM
Isn't it now a block code snippet that needs to go into a PHP block as discussed in the topic below:

http://www.tinyportal.net/index.php/topic,27452.0.html (http://www.tinyportal.net/index.php/topic,27452.0.html)
Title: Re: Recent Downloads
Post by: G6Cad on January 02, 2009, 11:08:32 PM
Yes, that code is a snippet code, and is for a PHP block and not a tp module block
Title: Re: Recent Downloads
Post by: pvtjimmy on January 02, 2009, 11:54:01 PM
That worked!! Thanks!!

But....I have another question and if I should open another topic on this, I will...

This PHP code on show the files that were uploaded through the upload function in the Downlaod Manager. Is there a way to show files that were added via FTP function in Download Manager?
Title: Re: Recent Downloads
Post by: G6Cad on January 03, 2009, 07:29:35 AM
No, there are no code to show that so a request in the block code and snippets requests board is where you can post a request for a block snippet for what you seek.
Dont know if it's possible though as FTP is outside TinyPortals functions, it just link to the files.
Title: Re: Recent Downloads
Post by: pvtjimmy on January 03, 2009, 01:18:27 PM
OK, thanks G6 for all your help!! :)