file dowload with counter?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
Mesmer

file dowload with counter?

Post by Mesmer »

Is there a mod available which makes it possible to put a file up for download with a counter?
Like: [filename] downloads: 12
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: file dowload with counter?

Post by calguy1000 »

check out the uploads module on the forge (dev.cmsmadesimple.org) it does exactly that.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Mesmer

Re: Uploads Module

Post by Mesmer »

thanks. will try it  :D

I intalled the module and everything seems ok but when I want to show a link on a page using

Code: Select all

{cms_module module="Uploads" category="nieuwsbrieven" mode="link"}
I get this error on my page:

string(63) "Smarty error: unable to read resource: "module_db_tpl:Uploads;""

When I try mode="url" I get:

Error!

Error: Insufficient parameters supplied to module!


What did I do wrong?
Last edited by Mesmer on Tue Jul 18, 2006 3:03 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: file dowload with counter?

Post by Dr.CSS »

did you try it in lower case  "uploads"
Mesmer

Re: file dowload with counter?

Post by Mesmer »

doesn't make a difference.

Just noticed mode="detailed", mode="upload", mode="summary" work without a problem.

mode="single" and mode="singlesummary" Both give the msg:

Error!

Error: Insufficient parameters supplied to module!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: file dowload with counter?

Post by calguy1000 »

when you're using those modes you have to specify the id of the upload to point to.  there's a param for that.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Caspar

Re: file dowload with counter?

Post by Caspar »

calguy1000 wrote: when you're using those modes you have to specify the id of the upload to point to.  there's a param for that.
Hello,

I get the same error:

Code: Select all

string(63) "Smarty error: unable to read resource: "module_db_tpl:Uploads;""
My tag looks like that:

Code: Select all

{cms_module module='uploads' category='pdfdownloads' mode='link' upload_id='1'}
I have uploaded a PDF file in the category's directory and it has the ID "1". Infact, the link gets displayed and the file is downloadable, but just after the link there's that error message.
Tried uppercase for

Code: Select all

module='Uploads'
as well.

Module version 1.1.14 after xml-install of 1.2.3 had failed.
CMSMS version 0.13, mod_rewrite urls.

Thank you for responding!
Regards, Cas
Last edited by Caspar on Sun Oct 08, 2006 5:27 pm, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm
Location: Finland

Re: file dowload with counter?

Post by tsw »

thats a bug, fixed in svn in few moments ;)
Caspar

Re: file dowload with counter?

Post by Caspar »

tsw wrote: thats a bug, fixed in svn in few moments ;)
woohhh, let me know when and where  :D :D
Locked

Return to “Modules/Add-Ons”