File List module (shows all files from a thread)
Posted by Maurice Makaay
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
filelist-1.0.5.tar.gz | 4.6 KB | open | download | Maurice Makaay | 01/31/2007 | Read message |
filelist-1.0.5.zip | 7.6 KB | open | download | Maurice Makaay | 01/31/2007 | Read message |
May 04, 2006 08:32AM |
Admin Registered: 20 years ago Posts: 8,532 |
This module adds a file list to a thread, which lists all attachments that are available in the full thread. It was designed with this Phorum.org Modules forum in mind, so visitors have a quick and complete overview of all the files that are posted in a thread. So no more searching through all the messages for the latest version of a module.
The administrator can configure per forum if and how the file list should be displayed. The available options per forum are:
* No file list
* Only on the first page
* On every page
From the file list, the user can directly download the file or jump to the message which has the file attached to it.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Edited 7 time(s). Last edit at 01/31/2007 04:26AM by mmakaay.
The administrator can configure per forum if and how the file list should be displayed. The available options per forum are:
* No file list
* Only on the first page
* On every page
From the file list, the user can directly download the file or jump to the message which has the file attached to it.
Maurice Makaay
Phorum Development Team



Edited 7 time(s). Last edit at 01/31/2007 04:26AM by mmakaay.
May 04, 2006 09:36AM |
Registered: 19 years ago Posts: 202 |
Maurice,
You are so good! and so quick to code this modules!
Supercoder!
[opensourceCMS.com]
[ongetc.com]
Chanh Ong
You are so good! and so quick to code this modules!
Supercoder!
[opensourceCMS.com]
[ongetc.com]
Chanh Ong
May 04, 2006 11:51AM |
Registered: 19 years ago Posts: 609 |
May 05, 2006 05:18AM |
Admin Registered: 20 years ago Posts: 8,532 |
Released version 1.0.1 of the mod. See the first message in this thread for the download link. Changelog:
2006-05-05 v1.0.1
- Fixes in the default template: the <th> tags should use align="left" and removed stale </h3> closing tag (credits to Brian).
- Fixed displaying with of the block. In MSIE the block showed up wider than the other blocks (reported by CBiLL).
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Edited 1 time(s). Last edit at 05/06/2006 07:55PM by mmakaay.
2006-05-05 v1.0.1
- Fixes in the default template: the <th> tags should use align="left" and removed stale </h3> closing tag (credits to Brian).
- Fixed displaying with of the block. In MSIE the block showed up wider than the other blocks (reported by CBiLL).
Maurice Makaay
Phorum Development Team



Edited 1 time(s). Last edit at 05/06/2006 07:55PM by mmakaay.
May 06, 2006 07:29PM |
Admin Registered: 23 years ago Posts: 4,495 |
May 06, 2006 07:55PM |
Admin Registered: 20 years ago Posts: 8,532 |
hehe, yes. I'm hopeless...
I confuse it IRL often too ;-)
Fixed it in the posting.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Edited 1 time(s). Last edit at 05/06/2006 07:55PM by mmakaay.
I confuse it IRL often too ;-)
Fixed it in the posting.
Maurice Makaay
Phorum Development Team



Edited 1 time(s). Last edit at 05/06/2006 07:55PM by mmakaay.
Re: File List module (shows all files from a thread) May 10, 2006 04:35PM |
Registered: 19 years ago Posts: 179 |
Re: File List module (shows all files from a thread) May 12, 2006 04:54AM |
Registered: 19 years ago Posts: 5 |
Re: File List module (shows all files from a thread) August 14, 2006 07:34AM |
Registered: 20 years ago Posts: 152 |
Hi Maurice,
that's a great module, thanks.
Maybe we should add here, that one has to add the following line to read.tpl:
Another thing is, that the author should only be linked to his profile, when he is registered. I changed the following:
In filelist.php:
In the template:
Greetings,
Clemens
--
Clemens Weiß
Webplain.de
that's a great module, thanks.
Maybe we should add here, that one has to add the following line to read.tpl:
{HOOK tpl_filelist}
Another thing is, that the author should only be linked to his profile, when he is registered. I changed the following:
In filelist.php:
"link_author" => ($msg["user_id"] ? phorum_get_url(PHORUM_PROFILE_URL, $msg["user_id"]) : false),
In the template:
if ($file["link_author"]) { print "<td><a href=\"{$file["link_author"]}\">{$file["author"]}</a></td>"; } else { print "<td>{$file["author"]}</td>"; }
Greetings,
Clemens
--
Clemens Weiß
Webplain.de
August 14, 2006 10:25AM |
Admin Registered: 20 years ago Posts: 8,532 |
About adding the hook to the read.tpl template: I'm pretty sure the install guide in the README file is pretty clear on that :-)
As for the linked profile fix: thanks for the heads up. I'll upload an updated module package (version 1.0.3) to the first message in this thread.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
As for the linked profile fix: thanks for the heads up. I'll upload an updated module package (version 1.0.3) to the first message in this thread.
Maurice Makaay
Phorum Development Team



Sorry, only registered users may post in this forum.