![]() |
Create files from attachments
This is not like the attachments as files hack, it is simply a way to import files from the attachment table to real files for whatever reason, maybe you just wanted an actualy backup of the files instead of the database.
Simply upload the file into your admin directory. Open up /admin/index.php look for PHP Code:
PHP Code:
|
another useful hack from scott, the new mod
|
I dunno if its just me, but when I press the link to it:
Code:
http://forums.jadelit.com/admin/attachment_export.php&s=6d2a081fa5f4a3ab0e24df9b210dbb83 Code:
http://forums.jadelit.com/admin/attachment_export.php ? |
WoW!!! ;)
The long-awaited stand alone exporter !!! Great! (Scott, do you remember our thread about in beta ? ;) ) This point, seems it's missing only the 2-way converter, if anyone would come back to the db-version of attachments... :D :D :D :D :D :D :D I'm jokin'... of course. Great job as usual. Bye |
em i missed the action bit, re-apply the change to your /admin/index.php from the first post
|
On a side note, this hack RELIES on two files not having the same name, if they do it will just rewrite the first one with later ones.
|
ok great, thanks
|
Are you sure that this:
if ($action == "import") { doformheader("attachment_import","doimport"); maketableheader("Add New Forum"); Shouldn't be this: if ($action == "import") { doformheader("attachment_export","doimport"); maketableheader("Add New Forum"); |
Thx Scott :) This is our first request that has actually turned into a hack, LOL!!
Thanx buddy, gonna use it right away ;) |
Well, it has worked really well... Now we have a HUGE folder with a LOT of attachments! :D
Would it be possible to make a zipped output of the backup instead of all the files in one folder? Thanx again for the hack ;) |
All times are GMT. The time now is 06:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|