Previous Thread
Next Thread
Print Thread
Rate Thread
#265031 12/21/2003 1:41 PM
Joined: Aug 2003
Posts: 3
Lurker
Lurker
Offline
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.

Sponsored Links
Joined: Feb 2001
Posts: 169
Member
Member
Offline
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
Offline
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
Offline
Joined: May 2001
Posts: 550
How about not using the attachemnts at all but make a separate file upload with the ubbthreads identification.

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)