vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Files Upload Center - Upload Your Files To External Server (https://vborg.vbsupport.ru/showthread.php?t=113583)

beebi 04-20-2006 06:39 PM

Quote:

Originally Posted by Zachery
For starters, theres no reason to ever store attachments (of any kind) in a webaccessable folder.

It seems that you retain the original filenames? Why? It would be better to store the entrys filetype in the database and pass the fileinfo back in the headers and serve the file dynamicly, much like how vB already does it.

Also, some filesystems have a limit of files/folders that they can store in a single directory, even with the /userid setting that could still get bad.

Anyreason you don't just store the files with a more useable namespace, like userid_attachid.attach ?

I like it this way

If u want it in the database use attachments system

kall 04-20-2006 06:46 PM

Quote:

Originally Posted by Developer
and it's realy TOTALY secured.

Please explain what that means.

*edit to add quoted text*

hotwheels 04-20-2006 06:59 PM

very nice

COBRAws 04-20-2006 07:02 PM

GOOD one.

About what Zachery said, I partly agree on that. But I take this hack as a public imageshack for our boards. In this case I believe its better having original names instead of an attachment ID'ed URL like the one in the attachmnets system vB uses.
Just my opinion tho.

mbaa 04-20-2006 07:03 PM

Great Hack ..

Thanx beebi :) :) :)

Zachery 04-20-2006 07:07 PM

Quote:

Originally Posted by beebi
I like it this way

If u want it in the database use attachments system

I'm not asking you to store attachments in the database, vB does have an option to store files in the filesystem.

jugo 04-20-2006 07:39 PM

Quote:

Originally Posted by Zachery
I'm not asking you to store attachments in the database, vB does have an option to store files in the filesystem.


Beat me to it.

Nice idea, could use a bit more thogu, can't quite put my finger onit. but I totally agree with Zach.

Makaveli105 04-20-2006 07:54 PM

I installed, when I go to upload something it comes to a page saying:

"You did not select a file"

beebi 04-20-2006 08:02 PM

Quote:

Originally Posted by Zachery
I'm not asking you to store attachments in the database, vB does have an option to store files in the filesystem.


when u use the filesystem in the VB.
it gives u a Dynamic URL which is disabled by default in the VB

Attached img :cool:

Omranic 04-20-2006 08:03 PM

** Installed **

will return back here after testing

thnx alot


All times are GMT. The time now is 01:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01167 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete