Version: 1.00, by rake
Developer Last Online: Oct 2012
Version: 2.3.x
Rating:
Released: 04-27-2003
Last Update: Never
Installs: 87
No support by the author.
Woo! Finally! I've been working on this for 10 straight hours now.
It's a replica of the vbulletin 3 attachment feature, which supports multiple uploads. We can't have vbulletin 3 yet, but at least we can copy it.
Files to edit: 5
Queries to run: 5
New Templates: 3
Just be sure to backup before trying anything.
You can see it live at my forums. Log in as test/test, if you want to see it in action.
And don't forget to click the Install button if you like the hack.
=-=-=-=-=-=-==-=-
UPDATE - Please re-download the file. Upgrading instructions are included in instructions.php. And sorry for the wait. I had to bribe my parents with 15 math exercises to let me use the computer. :knockedout:
=-=-=-=-=-=-=-==-
=-=-=-=-=-=-=-=-=-
SECOND UPDATE - Sorry for the previous non-functioning version, everyone. I did those modifications really late at night and some errors slipped in. This update fixes permission errors, allows you to specify a maximum number of attachments, fixes 65535 bytes error and includes repairing instructions for editpost.php
I have tested it on a clean 230 test board and it worked fine.
=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=
THIRD REVISION - This update fixes the 3 largest errors reported so far:
1. The view image atachments option now works
2. Attaching more than one file with a new thread now works
3. Deleting a post with attachments now works
=-=-=-=-=-=-=-=-=-=
To everyone who used attachment.php from the old zip: Please replace it with your original one. attachment.php was added in the zip by mistake.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Some of you guys ask the weirdest questions ... now do you really think this young man knows if this hack will work with other hacks? Why don't you try it on a test board and give us all your feedback instead!
alamuae: Are you sure you ran the queries? All 5 of them?
350Chevy: I mentioned I was working on that. Re-download the file in the first post and read upgrading instructions. There are parts for the editpost.php only for people with the "add attachment on edit post hack". They're marked in the instructions file. This also goes for Anguish.
subu1: templates.txt includes three templates to add, not just newthread.php
Also, the first post has been updated. Thank you.
As for my age, *grin* 15 seems to be my lucky number. I turned 15 on the 15th of April.
Today at 09:12 PM Bison said this in Post #41 Some of you guys ask the weirdest questions ... now do you really think this young man knows if this hack will work with other hacks? Why don't you try it on a test board and give us all your feedback instead!
Good piece of work Rake!
well maybe u having prob reading but i can clearly see people have installed it - whether to test board or not and are having probs and as for feedback i see loads if i go back and read the posts (HINT HINT)
So obvious people are gonna be wary about installing it unless they sure it works fine and as rake posted himself he still has some minor adjudments to do with it himself hence my post above.
Today at 10:37 PM iggy123 said this in Post #43 I am having a problem with this hack also, it tells me that i dont have the permissions to add the files????
Today at 11:06 PM rake said this in Post #45 Even with this update?
yep, even with the update.
I am also getting the following sql error when i try to view old attachments:
PHP Code:
Database error in vBulletin 2.3.0:
Invalid SQL: SELECT filename,filedata,dateline,visible
FROM attachment
WHERE attachmentid='31'AND private=0
mysql error: Unknown column 'private' in 'where clause'
mysql error number: 1054
Date: Tuesday 29th of April 2003 05:26:53 PM
Script: [url]http://xxxxxxxx.net/forums/forums/attachment.php?attachmentid=31[/url]