Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tagging uploaded files
#1
I think it would be useful if you could tag files after you have uploaded. If that functionality existed, it would be easy to create a component/plugin/template that could list files matching a given tag. e.g. get_files() (all files) / get_files('tag-name') - returning array of files (including file size and created/last modified too maybe).

I cannot see how you could do it as a plugin - I can see the files-uploaded and files-extra hooks, but not sure how these could be used to extend the files feature.

Also the 'hello world' sample plugin does not work as is Call to undefined function add_hook()
I've found that this is the case with the latest version and 2.0.1 - it should say add_action instead.
-- Sam
Reply


Messages In This Thread
Tagging uploaded files - by SamWM - 2010-05-14, 21:30:36
Tagging uploaded files - by Zegnåt - 2010-05-14, 21:47:48
Tagging uploaded files - by SamWM - 2010-05-14, 22:18:47
Tagging uploaded files - by Zegnåt - 2010-05-14, 22:32:58
Tagging uploaded files - by SamWM - 2010-05-15, 02:46:32
Tagging uploaded files - by SamWM - 2010-05-18, 22:42:29
Tagging uploaded files - by SamWM - 2010-05-19, 01:08:29
Tagging uploaded files - by SamWM - 2010-05-25, 19:40:06
Tagging uploaded files - by SamWM - 2010-05-25, 19:42:45



Users browsing this thread: 1 Guest(s)