php forum
php mysql forum
php mysql smarty
 
Topic Options
#242078 - 04/07/03 09:45 AM attachment directory
Dslam Offline
Member

Registered: 06/05/01
Posts: 246
Loc: USA
would it be possible to have sub directorys so each board has it's own attachment directory ?<br />Right now all attachments are saved in one directory so it's a little hard to clean it up .<br />I have one board thats for graphics , I'd like to keep all them online but clean up all the attachments from the rest of the forum.<br />so looks like a attachment directory hack is needed<br /><br />it would be sweet if someone could tackle this one .<br />

Top
#242079 - 04/07/03 09:58 AM Re: attachment directory [Re: interforos]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
What do you mean by "cleaning up"? Don't the attachments get deleted when you delete the corresponding posts?<br /><br />In any case, I think a simpler approach would be an addon for cleaning up the attachments, which displays them by board. That would minimize the hacking required.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#242080 - 04/07/03 11:38 AM Re: attachment directory [Re: joeuser]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
In this thread JustDave helped me with a utility that deleted all my "orphaned" attachments. It worked great. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#242081 - 04/07/03 03:32 PM Re: attachment directory [Re: Daine]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
Hey, this idea isn't stupid. The attachments are not organized in any way. <br /><br />I think what he means is the following:<br /><br />Board UBB1<br />Board UBB2<br />Board UBB3<br /><br />/attachments/UBB1 ; announcement board<br />/attachments/UBB2 ; files for users<br />/attachments/UBB3 ; avatars<br /><br />He has different categories and wants sub directories so that he can directly see which files are belonging to which category. I think that give a nice overview how much space a category needs and could initialize a cleanup (delete old shite <img src="/forum/images/graemlins/laugh.gif" alt="" />))<br /><br />Nice suggestion I think but I see also problems. What happens if a thread with an attachment is move from one board to another? Also the attachment must be move then etc...
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#242082 - 04/07/03 04:19 PM Re: attachment directory [Re: edr]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
That would be very doable.. and I guess you'd need to modify the scripts that move and delete threads as well, so that they move... delete the attachments from the proper location.<br /><br />Probably would be very doable. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#242083 - 04/09/03 01:30 PM Re: attachment directory [Re: edr]
Dslam Offline
Member

Registered: 06/05/01
Posts: 246
Loc: USA
yes thats what I mean .<br /><br />each board would have it's own attachment dir .

Top
#242084 - 04/10/03 10:35 PM Re: attachment directory [Re: interforos]
DLWebmaestro Offline
Addict

Registered: 08/08/00
Posts: 1802
Loc: North Carolina
I was wondering this too. I am working on putting up a sheet music section on my website. I am using Dalan's article template and inline attachments for this. It would be great if I could keep all of the sheet music files seperate from the other stuff. <br /> <br />So the reason for this post? Just wanted to raise my hand to say someone else would be interested in this. <img src="/forum/images/graemlins/grin.gif" alt="" />

Top
#242085 - 04/10/03 10:39 PM Re: attachment directory [Re: eslmix]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
he he<br /><br />It's a long paying list I'm working on right now... but if I ever find myself with nothign to do... I could think of a use or two for this myself. It's on my list. Someday. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#242086 - 04/10/03 10:41 PM Re: attachment directory [Re: Daine]
DLWebmaestro Offline
Addict

Registered: 08/08/00
Posts: 1802
Loc: North Carolina
You're so very kind to think of us every now and then. <img src="/forum/images/graemlins/smirk.gif" alt="" />

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks