Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-01 23:04:37

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

[request] Plugin Request: File Download ratings

I need a plugin that basically adds the ability for visitors to rate files, on a scale from 1 to 10, and then to have the average rating for a file displayed with something like txp:file_download_rating. I also need file lists to be able to be sorted by rating, as in txp:file_download_list sort="rating desc". I don’t need fancy stars displayed, just simple text output of an integer. Sound easy? Hard?

Last edited by aswihart (2007-05-01 23:06:53)

Offline

#2 2007-05-06 07:13:03

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: [request] Plugin Request: File Download ratings

Willing to commission this plugin if it is done well.

Offline

#3 2007-05-07 19:13:17

moloko
Member
From: USA
Registered: 2005-05-25
Posts: 35
Website

Re: [request] Plugin Request: File Download ratings

there is a ratings plugin already in the textgarden site. It uses stars though. Im sure you could intergrate that into your downloads.

Offline

#4 2007-05-09 05:13:27

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: [request] Plugin Request: File Download ratings

moloko, I don’t know how to code jack. How would I integrate a plugin used for article ratings to work on files also? I know it should be simple, which is why I’m asking someone to do it.

Offline

#5 2007-05-09 07:04:35

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: [request] Plugin Request: File Download ratings

can’t you just nest the file download in an article? the people can then rate the article. that’s how i’d do it…

Last edited by sthmtc (2007-05-09 07:48:01)

Offline

#6 2007-05-09 22:53:37

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: [request] Plugin Request: File Download ratings

Thanks for your ideas everyone,

I currently associate files with articles using upm_file, and then display all of them by simply putting <txp:upm_article_file_list form="files"> on the page. In the“files” form, I include a link to the file, the number of downloads, the size, and the file description. What I would like the plugin to do, as I said, is to add a rating for each file, and then add the ability to sort file lists by their rating. Ideally, this should be an extension of upm_file. Mary please help!

I would have to work on this for several weeks to convert it to the way you are suggesting, creating an article for each file, just so I can do a hack job of getting a rating for each file. I would still feel icky about using articles this way. If Mary was able to add my requests to her plugin, so that I could just add a couple tags and continue using a single form for all of my files, it would be a much nicer solution. I will have like 100 articles with nothing but a file_download tag in them, which seems very wrong, even if it gives the desired effect. It might be worth it, though.

A couple questions:
1) Using that ratings plugin you mentioned, is it possible to sort article_list’s by article rating?
2) Is it possible to display an article_list within an article?

Andrew

Last edited by aswihart (2007-05-09 23:12:37)

Offline

#7 2007-05-10 13:01:46

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: [request] Plugin Request: File Download ratings

I talked to Mary, sounds like she will try to incorporate my requested features into upm_file at some point.

Last edited by aswihart (2007-05-10 13:04:28)

Offline

Board footer

Powered by FluxBB