YAFLogo

ScottEmick
  • ScottEmick
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
9 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
9 years ago
Attachments in PMs is not supported yet.
ScottEmick
  • ScottEmick
  • 55.4% (Neutral)
  • YAF Forumling Topic Starter
9 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
9 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
    YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button