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 |
#22
|
||||
|
||||
Quote:
I will definitely be installing this when these things are implemented. I have too many attachments now to have to re-do them all. |
#23
|
||||
|
||||
i love this...
[high]* squawell installed....: [/high] a problem when i click add file it show me i must logging anyone have this problem?? |
#24
|
|||
|
|||
I'll install soon
Larry |
#25
|
||||
|
||||
rake, thanks for this great addition mate. excellent work!
Metro. |
#26
|
|||
|
|||
Very nice! I'm probably going to upgrade to vB3 (as much as I hate to admit it), but well done!
|
#27
|
||||
|
||||
PHP Code:
help? |
#28
|
||||
|
||||
Quote:
iwont loose my previous attachs by installing this, right, unless i already messed up cuz theyre not showing...and.. Quote:
|
#29
|
||||
|
||||
Could you please post all the lines surrouding the one with the error please?
As for the login error, the file does check for permissions: if($bbuserinfo[userid]==0) { show_nopermission(); } if($threadid!=0) { $threadid=verifyid("thread",$threadid); $threadinfo=getthreadinfo($threadid); } $foruminfo=getforuminfo($forumid); $permissions=getpermissions($forumid); if (($bbuserinfo['userid']!=$threadinfo['postuserid'] or $bbuserinfo['userid']==0) and (!$permissions['canviewothers'] or !$permissions['canreplyothers'])) { show_nopermission(); } if (!$permissions['canview'] or (!$permissions['canreplyown'] and $bbuserinfo['userid']==$threadinfo['postuserid'])) { show_nopermission(); } if ($permissions[canpostattachment] and trim($attachment)!="none" and trim($attachment)!="" and trim($attachment_name)!="") { show_nopermission(); } You might want to replace all that, with this: ==================== if($bbuserinfo[userid]==0) { show_nopermission(); } if($threadid!=0) { $threadid=verifyid("thread",$threadid); $threadinfo=getthreadinfo($threadid); } $foruminfo=getforuminfo($forumid); $permissions=getpermissions($forumid); if($threadid!=0) { if (($bbuserinfo['userid']!=$threadinfo['postuserid'] or $bbuserinfo['userid']==0) and (!$permissions['canviewothers'] or !$permissions['canreplyothers'])) { show_nopermission(); } if (!$permissions['canview'] or (!$permissions['canreplyown'] and $bbuserinfo['userid']==$threadinfo['postuserid'])) { show_nopermission(); } } if ($permissions[canpostattachment]) { show_nopermission(); } =============== |
#30
|
||||
|
||||
ok...stay on! lemme get the code...!!
PHP Code:
also, is that log-in prob in newattachment.php? *is illiterate* and, this is 2.2.6 btw |
#31
|
||||
|
||||
I think this is one of the most hottest hacks since a long time...
Thanks rake for releasing this. Kars [high]* Kars10 klicks install![/high] |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|