Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: jriani on June 07, 2017, 12:09:12 AM

Title: Attachments Table Values for attachment_type
Post by: jriani on June 07, 2017, 12:09:12 AM
Does anyone know what the values for the attachment_type field are in the smf_attachments table? I know 3 is a thumbnail, 0 looks to be a normal attachment to a post, 1 is an avatar in a custom directory, but what is 2?

Thanks!
Title: Re: Attachments Table Values for attachment_type
Post by: Arantor on June 07, 2017, 02:52:47 AM
Pretty sure it's a holdover from how things were done way way back and shouldn't be in use any more. You're right about the others, though.