Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2006-01-09 09:10:51
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
Can you guys all list your active plugins please?
Alex
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
upm_file_packets 0.2.8 by Mary
ajw_comment_alt 0.3 by Andrew Waer
nhn_livecommentpreview 0.4 beta 2 by Nils Hörrmann
ajw_if_comment_owner 0.3 by Andrew Waer
ajw_comment_num 0.2 by Andrew Waer
ptv_if 0.3b by Petur Valdimarsson
txp.icio.us 1.2 by Marshall Potter
glx_gravatar 0.2 by Johan Nilsson
zem_nav 0.4 by Threshold State
zem_link 0.3.3 by zem
ajw_clean_feed 0.1 by Andrew Waer
dru_recent_referers 0.4 by Drew McLellan
zem_contact 0.6 by Threshold State
ob1_title 2.2 by Henrik Jönsson
rss_admin_show_adv_opts 0.1 by Rob Sable
rss_suparchive 0.16 by Rob Sable
Article listings by date or by category/section
hak_article_image 0.3.2 by Patrick Woods
rsx_plugins_list 1.0 by Ramanan Sivaranjan
rss_live_search 0.5 by Rob Sable
glx_countdown 0.1 by Johan Nilsson
glx_admin_image 0.5b by Johan Nilsson
rss_admin_db_manager 4.0.1 by Rob Sable
upm_img_popper 0.9.7 by Mary
nhn_image_import 0.1 by Nils Hörrmann
bos_author 0.1 by Maurizio Boscarol
vdh_flickr 0.8.5 by Ralph von der Heyden
hpw_admincss 0.1 by Hyperwhat (Adrian Duffell)
mdn_if_custom 1.1 by Mark Norton
ajw_comments_feed 0.3 by Andrew Waer
rei_recent_comments 0.5 by Reinier Ladan
rss_if_author 0.1.2 by Rob Sable
mem_glinklist 0.8.1 by Michael Manfre
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
- ajw_admin_workflow 0.1.2
- chh_article_custom 1.03
- glx_if 0.6.4
- glz_crumbs 0.3
- glz_vars 0.1
- hak_tinymce 0.5.1
- jsa_copyright 0.2
- mem_glinklist 0.8.1
- ob1_googlenav 2.0
- rss_suparchive 0.16
- stw_category_tree 0.6.1
- upm_category_title 0.4.5
- upm_img_popper 0.10
- upm_quicktags 0.4.3
- zem_contact 0.6 (modified)
Last edited by tinyfly (2006-01-09 14:47:55)
Refresh Dallas and other Refreshing Cities.
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
Please de-activate rss_suparchive and see if file-downloads work again after that. If that is the case, please contact Rob with a pointer to this thread/my post here.
The plugin hooks into pretext-callback and makes some changes to global-vars which (I am only guessing at this point) as a side-effect breaks file-downloads. I am sure the plugin can be fixed, such that it only makes those changes in the pretext-callback when it is really needed (i.e. when the plugin knows it will be handling those urls).
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
That is it Sencer. Disabling rss_suparchive allows file_download_link to work again. I need to make a note that when something goes wrong first disable all the plugins. I will notify Rob right away.
Last edited by tinyfly (2006-01-09 15:57:15)
Refresh Dallas and other Refreshing Cities.
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
> Sencer wrote:
The plugin hooks into pretext-callback and makes some changes to global-vars which (I am only guessing at this point) as a side-effect breaks file-downloads. I am sure the plugin can be fixed, such that it only makes those changes in the pretext-callback when it is really needed (i.e. when the plugin knows it will be handling those urls).
Yeah, that would seem to be the case. Is there a way that I can tell from that callback if the plugin will be called in one of the pages or forms that will handle the URL?
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
Yeah, that would seem to be the case. Is there a way that I can tell from that callback if the plugin will be called in one of the pages or forms that will handle the URL?
Ah, didn’t know it was dependant on tags.
At that point (pretext) it is not yet known which pages/forms will be parsed, so it’s not possible to do it that specific. I was thinking in more general terms to check if the first item is a valid section or something similar.
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
I was thinking in more general terms to check if the first item is a valid section or something similar.
That should work for now. But its seems that even if that fixes file downloads, its bound to break something else someday.
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
I posted version 0.16.1 that should fix the problem. I was able to test it out on 4.0.3 and my file downloads work.
Last edited by wilshire (2006-01-09 23:50:18)
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
wilshire and Sencer… thanks very much :)
Offline
Re: 4.0.3 r1188 txp:file_download_list problems [resolved, plugin-related]
In case you’re using zem_rewrite and are having similar troubles: watch out for your zem_rewrite rules (and order of said rules); if you have {article} (as in article id) involved in any of your rules, this can produce a false match when asking for /file_download/[id].
My clean url scheme is now completely functional with {section}, {category}, {year} and {url_title} matches, avoiding any conflicts with file ids. Here’s my file_download-friendly zem_rewrite pattern:
$uri_scheme[‘article_archive2’] = ‘{section}/{category}/{year}/{url_title}’;
$uri_scheme[‘article_archive’] = ‘{section}/{year}/{url_title}’;
$uri_scheme[‘article3’] = ‘{section}/{category}/{url_title}’;
$uri_scheme[‘category’] = ‘{section}/{category}/’;
$uri_scheme[‘section’] = ‘{section}/’;
$uri_scheme[‘article_alt2’] = ‘{section}/{url_title}’;
Last edited by simmerdesign (2006-11-22 16:30:03)
Offline