Textpattern CMS support forum

You are not logged in. Register | Login | Help

#41 2007-04-06 19:34:18

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

I’m confused. What image? Can you associate an image or thumbnail with file download link? Or is this only if the file is an image rather than a pdf, doc, etc?

Offline

#42 2007-04-06 21:30:39

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

Ha ha! That’s a mistake – the word should be ‘file’ not ‘image’. I’ve got two plugins which act very similarly and have very similar documentation – one for images and this one for files. I must’ve spaced on which one I was working on/talking about. (Just smile and nod…)

Sorry for the confusion. I’ll correct the plugin’s doc ASAP.

Offline

#43 2007-04-08 18:20:49

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

v.0.3.1

Last edited by Mary (2013-01-24 17:22:30)

Offline

#44 2007-05-09 23:21:47

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

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

Mary,
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.

Would it be possible for you to add these features to your plugin:
1) Allow files to be rated by visitors
2) Allow sorting file lists by their rating (as in <txp:upm_article_file_list form="files" sort="rating">).

These features would be extremely helpful for my site, and I think they would nicely complement your plugin. Mary, please help!

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

Offline

#45 2007-05-10 01:16:34

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

The kind of thing you’re asking for is possible but somewhat involved. I could do it, but it’d take time. I can’t state exactly how much, as it depends on how much free time I can get.

Offline

#46 2007-05-10 01:36:14

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

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

Mary, thank you for checking into my request. I would be happy to donate something towards your effort. I love all of your plugins so I know you’ll do it right. Let me know how I can donate.

Offline

#47 2007-05-10 12:31:45

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

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

I just donated, Mary. Thanks for all your great work.

Offline

#48 2007-05-17 04:27:57

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

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

Mary,
As a start, do you think it would be difficult to at least implement the ability to sort files by rating? Could this be done somehow using another custom field where I could input a rating from 1 to 10 (or 100)? I realize later, if you get around to letting visitors rate files, it will have to be done another way.

Last edited by aswihart (2007-05-17 04:30:21)

Offline

#49 2007-06-23 08:49:29

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

i am enjoying this plugin thus far! one issue i have is that on a certain site im working on, i have several custom fields (for example, one for mp3’s, one for video). with upm_file, i’d like for the client to be able to choose which custom field the file (whether it be an mp3 or a video file) will be associated with. only being able to choose to add a file to a single custom field (without asking the client to manually type in the other filename/id himself) is somewhat limiting in my case. is there a way around this?

Last edited by iblastoff (2007-06-23 08:50:30)

Offline

#50 2007-06-24 01:52:27

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [plugin] [ORPHAN] upm_file: Associate single or multiple files with an article.

You can enter them all into one field, apply different categories to the file depending upon their type, and then separate them in your template via the tag’s category attribute.

There is not a way to use multiple custom fields.

Offline

Board footer

Powered by FluxBB