Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tagging uploaded files
#2
SamWM Wrote:I think it would be useful if you could tag files after you have uploaded.
It would also bloat the XML back-end, so I don’t see this happening any time soon. Chris might surprise me by implementing something like it though, he always surprises me ;-)

SamWM Wrote: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.
They can be used to extend the files (uploads) page, files-uploaded will run when you upload a file and files-extra allows you to run some action every time a file is being shown in the overview. You might be able to use files-extra to add a field for tags to each file.

If you’d like to see additional hooks, just request them.

SamWM Wrote: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.
You’re very right, the documentation on the website hasn’t been updated to reflect the latest version changes in the core yet.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
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)