Register Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Mod Options
Attachments Not in Database Details »
Attachments Not in Database
Mod Version: 1.00, by Scott MacVicar (Member) Scott MacVicar is offline
Developer Last Online: Mar 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 12
Released: 21 Jan 2002 Last Update: Never Downloads: 1
Not Supported Is in Beta Stage  

This is a hack which allows you to save the attachments as files and not within the database. The main problem with this was the fact that it posed certain security issues, these have been tackled by doing the following
  • Placing the folder below document root
  • Using random hashes to name the file
  • Changing the file extension to .file
  • Never divulging the path to the file

This is a beta hack, it has been tested on a development board. I have had insufficent time to fully complete the attachment importer, this removes the files from the database and creates them as physical files in the attachment folder. I will post this as soon as possible.

Looking forward to your feedback.

Scott

To install this hack upload this file to the admin directory and then view it in your browser.

All the changes that Jawelin suggested have been applied, thanks man

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vb3 Attachments - Including Multiple Attachments Option rake vBulletin 2.x Full Releases 273 24 Sep 2006 04:10
Private Attachments! (Attachments in Private Messages) Chen vBulletin 2.x Full Releases 117 22 Jan 2004 18:35

  #76  
Old 07 Feb 2002, 23:33
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
your path to move it to is set wrong within the admin panel, as i wrote this on a Win 2k server
__________________
Scott MacVicar
vBulletin Developer
  #77  
Old 10 Feb 2002, 22:03
auto auto is offline
 
Join Date: Nov 2001
Scott, you may remember how I tried the script and it totally filled /var to the top. If I try the script now, will this still happen?

Thanks for your help.
  #78  
Old 17 Feb 2002, 01:41
Sean's Avatar
Sean Sean is offline
 
Join Date: Nov 2001
I installed it, and it works great... One problem though, if you try to download WITH the session hash..(attachment.php?s=881293bn832048324n42304&postid=400) then you get an "invalid attachment id error." When you delete the hash...(attachment.php?s=&postid=400)...It works fine and dandy..Should I just get rid of the hash for all the links, or something? Or did I forget to modify something?

Thanks,
Sean
  #79  
Old 17 Feb 2002, 11:40
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
ok thats an odd one, there was no changes made to attachment.php which would affect the line which checks the attachmentid verification, especially nothing which involves the session hash.

I'll go test it now on my dev board.
__________________
Scott MacVicar
vBulletin Developer
  #80  
Old 17 Feb 2002, 14:04
Sean's Avatar
Sean Sean is offline
 
Join Date: Nov 2001
Alright, thanks.

One other thing I did notice, was that mods could download it.. But maybe that's because they don't have a session hash? I will have to find out.

Thanks.
  #81  
Old 18 Feb 2002, 07:32
KISS's Avatar
KISS KISS is offline
 
Join Date: Jan 2002
Installed with no problems at all. Is working great!!!!

Very Nice hack and much needed here. Thanks
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:09.

Layout Options | Width: Wide Color: