![]() |
On a new vb 2.3.0 all is working OK, but
If I attach a file, then edit and add a new attachement, on my ftp i can see 2 files. The old file is not deleted ! |
It seems that suport for 2.3.0 is missing :(
|
Scott missed adding removeattachment() in a few places in editpost.php ;)
|
@rake
Solutions ? :D |
The user who uses the Advanced Attachmentbox v1.0
HACK: functions.php FIND: $DB_site->query("INSERT INTO attachment (attachmentid,userid,dateline,filename,visible,has h) VALUES (NULL,$bbuserinfo[userid],".time().",'".addslashes($attachment_name)."','$v isible','$attachment_hash')"); and replace it with: $DB_site->query("INSERT INTO attachment (attachmentid,userid,dateline,filename,filedata,visible,hash) VALUES (NULL,$bbuserinfo[userid],".time().",'".addslashes($attachment_name)."','$filesize','$visible','$attachment_hash')"); Open Showthread.php Search for this (2 times on a unhacked vB, Line 55 , 410): attachment.counter and replace it with: attachment.counter,attachment.filedata AS attachsize displays the filesize of the attachments :rolleyes: |
Is it possible to get an explanation of what happens during the installation process. Obviously files are going to get saved as attachments, but it doesn't say anything other than that on the thread or instructions. Specifically it would be good to know:
Thanks for any help. |
1. Yes. Attachment are ported during the installation process.
2 and 3. Only the [data] is stored in files. Other information related to attachments is still stored in the database. |
Thx for the reply rake. However, can you specify what folder these attachment files are stored upon installation / after installation?
|
just installed it on my 230 board with no problems thanks for a great hack
rob |
Quote:
Any news on this for the beta 3? |
All times are GMT. The time now is 09:19 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:
|