[RC] Attachments in subfolders

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
JerryBruckWill
Registered User
Posts: 6
Joined: Thu Jan 02, 2014 3:39 pm

Re: [RC] Attachments in subfolders

Post by JerryBruckWill »

I apply this permission on all folders and the tag does not work. Any ideas? : -)

I-FR70
Registered User
Posts: 58
Joined: Wed Mar 17, 2010 2:13 pm
Name: Fabio Rambaudi

Re: [RC] Attachments in subfolders

Post by I-FR70 »

The MOD works for the old attachments?

JerryBruckWill
Registered User
Posts: 6
Joined: Thu Jan 02, 2014 3:39 pm

Re: [RC] Attachments in subfolders

Post by JerryBruckWill »

Yes, old attachments work's. If I upload a new attachment's, link is OK. And preview post with attachment is too OK. The problem occurs when I send a post. I see only text with name attachment. For example: "image.jpg".

I-FR70
Registered User
Posts: 58
Joined: Wed Mar 17, 2010 2:13 pm
Name: Fabio Rambaudi

Re: [RC] Attachments in subfolders

Post by I-FR70 »

Ok, so I think you've made some mistake in applying the MOD.

I suggest to restart from the original files and install it again.

:)

JerryBruckWill
Registered User
Posts: 6
Joined: Thu Jan 02, 2014 3:39 pm

Re: [RC] Attachments in subfolders

Post by JerryBruckWill »

Ok, I try install mod again. :-)

JerryBruckWill
Registered User
Posts: 6
Joined: Thu Jan 02, 2014 3:39 pm

Re: [RC] Attachments in subfolders

Post by JerryBruckWill »

You were right. I tried to install the mod again and now it runs fine. Thank you very much. ;)

I-FR70
Registered User
Posts: 58
Joined: Wed Mar 17, 2010 2:13 pm
Name: Fabio Rambaudi

Re: [RC] Attachments in subfolders

Post by I-FR70 »

That's great!!!

:)

superj707
Registered User
Posts: 1136
Joined: Thu Feb 26, 2009 12:20 am

Re: [RC] Attachments in subfolders

Post by superj707 »

is there a way to run a a batch that will go through a move images that are already stored in one giant dir ?

wile
Registered User
Posts: 57
Joined: Mon Apr 30, 2007 4:21 pm

Re: [RC] Attachments in subfolders

Post by wile »

superj707 wrote:is there a way to run a a batch that will go through a move images that are already stored in one giant dir ?
yes, such script is part of the MOD

User avatar
Pthelovod
Registered User
Posts: 106
Joined: Mon Feb 22, 2010 1:32 am
Location: Россия
Name: Alexs Pthelovod
Contact:

Re: [RC] Attachments in subfolders

Post by Pthelovod »

Good health to the author!
After installing the mod and the script has another folder files_new. Why is it and why?


P/C/ the Taxpayers

I-FR70
Registered User
Posts: 58
Joined: Wed Mar 17, 2010 2:13 pm
Name: Fabio Rambaudi

Re: [RC] Attachments in subfolders

Post by I-FR70 »

Hi Pthelovod
Probably you stopped the script move_attachments_in_subfolders.php before the end of the process.

Run it again and let it ends as required.

:)

User avatar
Pthelovod
Registered User
Posts: 106
Joined: Mon Feb 22, 2010 1:32 am
Location: Россия
Name: Alexs Pthelovod
Contact:

Re: [RC] Attachments in subfolders

Post by Pthelovod »

All right. Thank you. I'll try it. There is one more request. Verneuil problem with another mod. If you can not decide yourself - write.

User avatar
shortmort37
Registered User
Posts: 427
Joined: Sat Aug 26, 2006 8:40 pm
Location: Upper Darby, PA, USA
Name: Dan Morton
Contact:

Re: [RC] Attachments in subfolders

Post by shortmort37 »

Uh-oh. I'm getting "This webpage is not available" when I go to the modification download link. Is it available anywhere else?

Dan

User avatar
shortmort37
Registered User
Posts: 427
Joined: Sat Aug 26, 2006 8:40 pm
Location: Upper Darby, PA, USA
Name: Dan Morton
Contact:

Re: [RC] Attachments in subfolders

Post by shortmort37 »

OK, the site's back up, and I was able to grab the zip. Thanks, Fabio! I'm really looking forward to trying this mod.
I-FR70 wrote:
wile wrote:Hello,

one more question.

What in case we copy thread ? I was playing with MOD and seems that after copying (and automatic creating of new folder because of another 100 files in DB - because my thread contained files) I am missing some attachments...
Hi wile,
you're right, it seems that the mod doesn't work in case of thread copy, since the attachments get each one a new attachment ID. The solution could be to duplicate the attachments, but I don't know if it's a good idea... I have to think a bit about it.

At this moment I suggest you to not use the copy feature OR to not use this MOD.

:)
Fabio, instead of copying the entire file, what about just copying the pointer to the same file(s)? I realize that if the original post with images got deleted, it would affect the copied post - but that's an unlikely event.

Dan

I-FR70
Registered User
Posts: 58
Joined: Wed Mar 17, 2010 2:13 pm
Name: Fabio Rambaudi

Re: [RC] Attachments in subfolders

Post by I-FR70 »

Hi Dan,
my personal VPS goes down for hours today, this is the reason why you wasn't able to download the mod.

About the thread copy, I still not have a solution mainly because I'm really really overloaded of jobs and commitments in this period and I don't have time...

Probably I'll be able to fix it at the end of the summer.

:)

Locked

Return to “[3.0.x] MODs in Development”