The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




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: 3 Guest(s)