Version: 1.00, by Scott MacVicar
Developer Last Online: Mar 2016
Version: 2.2.x
Rating:
Released: 02-17-2002
Last Update: Never
Installs: 121
No support by the author.
Well after alot of time leaving it in the beta hacks forums without any problems, I'm now moving it to the Full Releases, I'm satisfied that there isn't any bugs that need to be addressed. Thanks to Jawelin he pointed out most of the mistakes through alot of his testing.
I've attached it as an installer file here, as it needs to make changes to the database. Two new rows to settings and a new column in the attachment table.
Scott
Updated some more
Note the > is missing off the bottom of the file after the ?, add it before trying to install
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Thanks for all of the help, Scott. It's working great!
I do have one problem though...I also have the attachment editor hack installed and now for some reason when I go to edit a txt file, the editing box is blank. Nothing in it, but when I go to view it, everything is there. Any ideas on this one?
Here is the updated file from the zip, it is backwards compatible anyway, so if you decide to go back to the database the hack will still work. I'll see if chen can update his hack with this file later today.
The only real changes is the bits to add to misc.php so i'll just post this as an attachment.
Thanks, Scott! I'll have to re-install it again. I took it out when it messed with the attachment editor. When I re-install it, do I just ingore the part in the install php file about the misc.php file then and just do it with the attachment file you posted here?
Quote:
Originally posted by PPN Here is the updated file from the zip, it is backwards compatible anyway, so if you decide to go back to the database the hack will still work. I'll see if chen can update his hack with this file later today.
The only real changes is the bits to add to misc.php so i'll just post this as an attachment.
Well, Scott, I re-installed your hack and I wanted to let you know that everything is working as it should be so far. The attachment editor now works with your great hack. Thank you very much for all of your help and the fix for the misc.php file. I really appreciate you working to get the editor to work with it. Not many authors would do all that you did here. This is the kind of support that makes a great hack! Thanks again! You bees the man!!!
Two small questions...
Attachment as files works almost wonderfully.
Is there a size limit to the file size?
as no matter what the attachment size number is set too (20971520 which should be 20 megs) when I upload a file that is above ~3 megs (I am not sure the exact number) it does not upload the file.
also it does not promp when the file is too large.
What would be the easiest way to update to v2.2.6 from 2.2.5
while keeping attachment as files?
You just need to re-apply the code i guess. 2.2.6 is a big update so u cant really only upload some files and not the others.
Alot of people are having the problem with attachments, Im not too sure what is causing the problem.
You realise there is a max upload size in php as well to stop too large files being uploaded, you can check this in phpinfo();
Hi, Scott.
I read about the update, and while I'm upgrading my hacked 2.2.5 I noticed something about your hack.
JFYI in the final 2.2.6 version, there's some moved code within function.php (attachment delete), but it isn't to difficult to manage the differences from your instruction.