• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest XenForo_AttachmentHandler_Abstract

Sniper

Active member
#1
Some thoughts :)

  • Pass $contentData to getAttachmentConstraints - it should give the ability to dynamically set constraints by using the available params e.g. pass in category_id to fetch per category settings
  • Let the attachment handler generate thumbnails, it should allow additional handlers to have there own rules for generating thumbs with little effort, it would also be responsible for cleaning up files.
 

Sniper

Active member
#3
ah :( at least passing in $contentData would help.

I don't mind all types to having the same thumbnails but even simple callbacks to generate/delete additional thumbs would help, we can then insert these into our own tables etc