YAFLogo

ScottEmick
  • ScottEmick
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
8 years ago
I'm running 2.1.2 BETA 20140406

I can't seem to get attachments to work on PM's.

I have uploads enabled in the access masks.

Any information appreciated.

Thanks,

Scott

Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
8 years ago
Attachments in PMs is not supported yet.
ScottEmick
  • ScottEmick
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
8 years ago
Are there any plugins or mods that can do this?

How hard would it be to program this? I guess I'll have to take a look at the code for the forum post attachments.

Scott

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
8 years ago
It should have 2 extra tables and MessageID of Attacment table should disappear.

MessageAttachment table Attachment table

AttachmentID int FK -> PK AttachmentID int

MessageID int

PMessageAttachment table Attachment table

PK AttachmentID int FK -> PK AttachmentID int

PK PMessageID int

Message table MessageAttachment table

MessageID int FK ->PK MessageID int

PMessage table MessageAttachment table

PMessageID int FK ->PK MessageID int

Alternatively it can be changed to IPB pattern when some topics are marked as private and excluded from common view. The guys simplified life for them beloved a bit.

Both approaches require a lot of time.

Users browsing this topic