The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vb3 Attachments - Including Multiple Attachments Option Details »» | |||||||||||||||||||||||||||
vb3 Attachments - Including Multiple Attachments Option
Developer Last Online: Oct 2012
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
|
Comments |
#52
|
||||
|
||||
Thnx Link.. That fixed the permissions problem.. But no attachments are showing.. Old or new..
|
#53
|
||||
|
||||
Another error:
If you do NOT have the "Private Attachments" hack, open attachment.php Find: PHP Code:
PHP Code:
EDIT: The images are being cutoff. Here is a link to my test thread... http://www.vggmn.com/forums/showthre...=&threadid=328 |
#54
|
||||
|
||||
YES!!! YES YES YES YES YES YES!!!! IT WORKS!!!!!!....
only thing not working would be the edit post thing....i did the edits....or at least tried (since i got 2.2.6 and the codes are crazily different)...yeah....and i dont have the add attachments when editing hack either....anyway... /me CLICKS INSTALL....W000T!!! |
#55
|
||||
|
||||
link, you probably have to edit the code and change the "MAX_FILE_SIZE" gto something......or change the max file size in the admin options...or sommat....who knows, i have no idea what im talking about..lol...thanks for that newattachment.php fix....it works :ninja:
|
#56
|
||||
|
||||
The max file size is 1 MB, and 65535 bytes is roughly 65 1/2 KB.
|
#57
|
||||
|
||||
Yupper.. And the editpost.php is still messed up but it's getting there.. Thanks again Link..
From editpost.php Code:
Database error in vBulletin 2.3.0: Invalid SQL: SELECT filename,attachmentid FROM attachment WHERE |
#58
|
||||
|
||||
Quote:
the max file size you have set?... blarm, jus change it in the admin options....ori could be totally wrong and you can disregard this post :bunny: |
#59
|
||||
|
||||
Any idea on why no attachments show now? Multiple or not?
|
#60
|
||||
|
||||
As I said, the current max file size if 1 MB, and those files are well below that. Furthermore, no error was given.
To fix the editpost.php database error: Open editpost.php: Find: PHP Code:
PHP Code:
|
#61
|
||||
|
||||
Something in functions.. I just added my old functions and the old attachments show again.. but multiple ones do not.. Just the first picture in a multiple attachment thread.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|