|
|
Joined: Aug 2003
Posts: 3
Lurker
|
Lurker
Joined: Aug 2003
Posts: 3 |
Has anybody already done a mod to have multiple attachments to a post in 6.4? My community NEEDS multiple attachments.
|
|
|
|
Joined: Feb 2001
Posts: 169
Member
|
Member
Joined: Feb 2001
Posts: 169 |
Agree, could be very useful.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
I don't think I've ever seen anything like this.
Would be nice though.
There'd be quite a bit of reworking of the structure though, as currently the attachment is stored in the posts table.
You'd either need to add fields there - but then you'd always be limited as to how many attachments you could have by however many fields you added.
Or you could move attachments to their own table and rework the scripts from there.
|
|
|
|
Joined: Aug 2003
Posts: 3
Lurker
|
Lurker
Joined: Aug 2003
Posts: 3 |
[]JoshPet said: I don't think I've ever seen anything like this.
Would be nice though.
There'd be quite a bit of reworking of the structure though, as currently the attachment is stored in the posts table.
You'd either need to add fields there - but then you'd always be limited as to how many attachments you could have by however many fields you added.
Or you could move attachments to their own table and rework the scripts from there. [/]
Actually what I was thinking about is to use the field that is in the database to be the name of the file that contains the names of the attached files (single first level indirection). Nonetheless I might go with a maximum number of files to attach, 'cuz that might be easier in the UI. I do have that extension for the 5.5 version, where we had all the attachments stored in an additional DB table, but this gave us headaches with certain browsers, as they don't look at the datastream, but at the name of the file to decide what kind of data is coming. (IE is notorious for that) So I was thinking of changing that storage in the DB. Ideas?
|
|
|
|
Joined: May 2001
Posts: 550
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 550 |
How about not using the attachemnts at all but make a separate file upload with the ubbthreads identification.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|