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 |
#262
|
|||
|
|||
ufff... this hack was quite close to wipe my Vb forum!!! man.. I JUST LOVE BACKUPS!!!! (tried on 2.3.4 but no go)
|
#263
|
|||
|
|||
NO reply necessary I figured it out.
I need to change the color of the text when the error message says "Your images are too big, etc" Where do I do this? I looked in the files that I downloaded and where I see this line it doesn't say anything about colors, etc. I have to change just the text color on these error messages, because if I change it in the overall template that would really FUBAR the whole deal. If you need to see what I mean, just let me know. Thanks for the help. I am running 2.3.3 |
#264
|
|||
|
|||
I found the answer by trial and error on the problem before this. I have been getting this error message after someone tries to upload an image that is too big:
Warning : fopen(/tmp/php3mvoUh): failed to open stream: No such file or directory in /home/xxx/public_html/forum/newattachment.php on line 154 Warning : fread(): supplied argument is not a valid stream resource in /home/xxx/public_html/forum/newattachment.php on line 155 Warning : fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/forum/newattachment.php on line 156 Those lines are: $filenum = fopen($attachment,"rb");-----> line 154 $filestuff = fread($filenum,$filesize);------->line 155 fclose($filenum);-------->156 Also am I the only one who has entire posts deleted if someone tries to edit a post with an image in it? I am running 2.3.3 Thanks for the help. |
#265
|
|||
|
|||
I see that this thread was started a long time ago and it's been around awhile. However, Rake, how hard would it be to make uploaded images into thumbnails like vb3 if there are more than 1 image attached?
Tommy |
#266
|
|||
|
|||
Has anyone but me had the problem of when a post is made and the author goes back to edit it, the whole thing disappears?
I am unable to upgrade due to some custom hacks and would really, really like to get this fixed. Anyone? Thanks |
#267
|
||||
|
||||
Quote:
|
#268
|
|||
|
|||
It seems that this hack is not very stable. Anyone got it working fine on their board?
|
#269
|
|||
|
|||
The instructions.txt is highly confusing.
Why not do a re-write that just has the instructions rather than 1.1 / 1.2 / 1.3... it's not clear if each one changes the other set of instructions of what you should do 1st |
#270
|
|||
|
|||
The instructions are very confusing......and very poorly written....can somebody clear them up for us?
|
#271
|
|||
|
|||
how do i get this to work with vb3.03?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|