Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » upm_file_packets

#61 2005-10-17 05:29:06

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: upm_file_packets

Precision : it will work only if there are not others txp:if_custom_field tag nested


Nico

Offline

#62 2005-10-17 05:55:09

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: upm_file_packets

Which is where I ran into problems Niconemo. I did try it but there are several custom fields within the form and I need to ask “is the custom filed empty or not”. I tried using a blank for the “val” but no go I’m afraid. Thanks anyway. I want this, if it is possible, for the “view by popularity” menu option over at TextGarden. At the moment, if you select it, it works fine but at the bottom of the list are a number of styles whose download isn’t hosted on the site. I feel it would be better if they didn’t get listed in this view.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#63 2005-10-17 12:05:36

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: upm_file_packets

Got it – mdn_if_custom – does it nicely.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#64 2005-10-17 17:25:28

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: upm_file_packets

Cool !… an old plugin can still be useful ;-)


Nico

Offline

#65 2005-10-19 23:51:44

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

Re: upm_file_packets

v0.2.3: withfiles attribute, so you don’t need a second plugin. :)

Offline

#66 2005-10-20 02:09:04

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: upm_file_packets

Has anybody told you you’re gorgeous lately? Thank you very much. Works a treat. Now I just need to work on zem a bit more and…… :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#67 2005-11-03 13:15:25

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: upm_file_packets

sorry haven’t checked exhaustively but on a 4.0.2 upgrade, clicking ‘attach file’ pops up window with this notice at the top:
Warning: Division by zero in E:\apachefriends\xampp\htdocs\domain\textpattern\lib\txplib_misc.php(455) : eval()'d code on line 258

Offline

#68 2005-11-04 06:12:30

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

Re: upm_file_packets

Try upgrading the plugin to the newest version, then try the fix mentioned here.

Offline

#69 2005-11-04 07:02:10

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: upm_file_packets

I think I followed that fix correctly… and latest version installed… but same error; will try fresh install later tonight

UPDATE: upgraded another local install from 4.0.1 to 4.0.2 and had no problems with upm_file_packets so the other install must be funky

Last edited by nardo (2005-11-06 03:55:24)

Offline

#70 2005-11-07 12:53:01

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: upm_file_packets

I think there may be a problem here with using <code><txp:upm_article_file_list></code> and <code><txp:comments_invite/></code> together in a form… whichever way I arange them, it will only display the first… Has anyone else come across this?

Last edited by pieman (2005-11-07 12:54:04)

Offline

#71 2005-11-07 15:17:22

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: upm_file_packets

apologies, i was being slack and not closing the tag!

I have another query though…

I’m going to use mp3 files and I want to give the user the option to open it in the browser OR (right/shift click) download it to disc.
So would it be possible to make it write link to the actual file (ie. files/filename.mp3) rather than the downlooad url as is (ie. file_download/1) ?

Last edited by pieman (2005-11-07 15:17:36)

Offline

#72 2005-11-08 01:55:47

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

Re: upm_file_packets

Understand that “file_download/” powers the download counter, so if you don’t use it you can’t count the downloads from that link.

Go to your “files” form and build the link yourself, something like:
<a href="/files/<txp:file_download_name />"><txp:file_download_name /></a>

:)

Offline

  1. Index
  2. » Archives
  3. » upm_file_packets

Board footer

Powered by FluxBB