Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2012-08-23 06:14:38

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: bot_file_upload: upload and edit files from within the write tab

husainhk wrote:

Is there some other way to call this per article, so the download links are available only on articles to which files are added?

With that particular snippet, when the custom field is empty, there are no IDs assigned to the file_download_list tag, which in case without any selective filters, the tag default to listing all files up to the limit.

Since the file IDs come from a custom field, you can use a if_custom_field tag to check and see whether the field is populated. Just wrap the file list in one.

Offline

#38 2012-11-30 14:49:13

gfdesign
Member
From: Argentina
Registered: 2009-04-20
Posts: 401

Re: bot_file_upload: upload and edit files from within the write tab

Hi Redbot. As I said, I like a lot your plugins.
Let me tell you I’m passing to last TXP (4.5.2) version, testing one by one the plugins that I most use. But I found an issue with this one. When I select some files for an article and then to press Publish button, the files that I chose, are no longer visible, but if then I select again “Add files” link, they are as checked.
Does it happen just me or likely I found an issue in this version with your (fantastic) plugin ?
Thanks in advanced

Offline

#39 2012-11-30 17:16:28

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_file_upload: upload and edit files from within the write tab

You are right Fernando, I know this plugin must be updated but can’t find the time.
I’ll try to do it ASAP ok?

Offline

#40 2012-11-30 17:21:45

gfdesign
Member
From: Argentina
Registered: 2009-04-20
Posts: 401

Re: bot_file_upload: upload and edit files from within the write tab

No worries. Many thanks for replying so soon.
I’ll be looking forward :D
Best regards

Offline

#41 2012-12-07 14:19:01

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_file_upload: upload and edit files from within the write tab

Version 0.5 is out.
This version should work from ok txp v 4.5. onwards.
I still hadn’t the time to add more functionality (drag’n‘drop file ordering, cosmetic tweaks, maybe multiple upload etc.) but that’s better than nothing :)
Download from first post.
Let me know if there are issues.

Offline

#42 2012-12-07 14:23:01

gfdesign
Member
From: Argentina
Registered: 2009-04-20
Posts: 401

Re: bot_file_upload: upload and edit files from within the write tab

Many thanks Redbot !
As soon as possible, I’ll do it :D
Best regards

Offline

#43 2012-12-07 16:14:32

gfdesign
Member
From: Argentina
Registered: 2009-04-20
Posts: 401

Re: bot_file_upload: upload and edit files from within the write tab

Hi again. I’ve been testing your plugin, now this works like a charm but unfortunately there is a conflict with other plugin yours. When I activate “bot_cf_titles”, then “bot_file_upload” does not run.
Everything else, up to now, works fine.
Let me know if I can help in anyway.
Best regards and many thanks.

Offline

#44 2012-12-07 17:16:23

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_file_upload: upload and edit files from within the write tab

Thanks Fernando,
I’ll have a look asap

Offline

#45 2012-12-07 18:10:49

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_file_upload: upload and edit files from within the write tab

Version 0.5.1 is out.

This version only fixes “plugin conflict”:“http://forum.textpattern.com/viewtopic.php?pid=268546#p268546 with “bot_cf_titles” (thanks Fernando) so you don’t need to update if you are not using that plugin.
Download form “ first post”:http://forum.textpattern.com/viewtopic.php?id=33709&p=1

Last edited by redbot (2012-12-07 18:11:51)

Offline

#46 2012-12-21 21:08:58

jlbadrian
New Member
From: Lima - Perú
Registered: 2012-12-21
Posts: 2

Re: bot_file_upload: upload and edit files from within the write tab

When I create a “Staff Writer” user, and try to use files from other users, the plugin fails. I made some changes to fix this

Offline

#47 2012-12-22 16:26:18

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: bot_file_upload: upload and edit files from within the write tab

jlbadrian wrote:

When I create a “Staff Writer” user, and try to use files from other users, the plugin fails. I made some changes to fix this

Good catch Adrian!
I’ll have a look at your mod and emend the plugin accordingly ASAP ok?
Thank you again.

Offline

#48 2012-12-23 19:38:05

jlbadrian
New Member
From: Lima - Perú
Registered: 2012-12-21
Posts: 2

Re: bot_file_upload: upload and edit files from within the write tab

thanks to you for the plugin, there is a similar problem with bot image upload

Offline

Board footer

Powered by FluxBB