Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2001, 04:02 PM
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I think it would be great if we could move attachments out of the DB so that on my high traffic site it doesn't load the graphic everytime a user views it.

I want it to be cached.

This would be a mod like Kier's custom avatar mod.
Reply With Quote
  #2  
Old 04-18-2001, 04:50 PM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are some disadvantages to this.

First, if you allow html, php, or other code files (js, asp, etc.), and they weren't stored in the database, they could be executed on your server by clicking the attachment link. This could be devastating if someone knew what they were doing.

Well I guess that's really the only disadvantage I can think of (I thought there were others...) but that's a pretty major one in my book.
Reply With Quote
  #3  
Old 04-18-2001, 08:42 PM
VirtueTech VirtueTech is offline
 
Join Date: Oct 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would only be using it for jpg's anf gif's

Think you can do it?
Reply With Quote
  #4  
Old 04-20-2001, 11:33 AM
TechTalk TechTalk is offline
 
Join Date: Dec 2001
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a much needed feature. I for the life of me cant understand the point of filling our databases with images.

My db size is roughly 15megs and I have 50 members
Reply With Quote
  #5  
Old 04-20-2001, 02:01 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attachments aren't just for images. In my opinion, you don't even need attachments for that you can use the image tag but I digress.

If someone allows attachments of PHP, HTML or Javascript files which would be very handy on my board, it would be a big security risk to store these in a web accessible area on your site.
Reply With Quote
  #6  
Old 05-09-2001, 03:10 AM
SpankMe's Avatar
SpankMe SpankMe is offline
 
Join Date: Nov 2001
Location: New Zealand
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well looks like we need separate attachment code just for images. My forums also use attachments heavily. The attachment table is 55Meg and growing. I run my server over a 128k ADSL line and this problem with image attachments not being cached is a real bandwidth sucker
Reply With Quote
  #7  
Old 05-09-2001, 04:14 AM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

use the [img] BBCode instead.
Reply With Quote
  #8  
Old 05-09-2001, 04:32 AM
SpankMe's Avatar
SpankMe SpankMe is offline
 
Join Date: Nov 2001
Location: New Zealand
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem with using [img] or <img> tags is that the user has to put the image on the web somewhere and most free web space providers don't allow images on their space to be displayed on other web sites.

Allowing them to store the image on my server guarantees them that the image will always be there.
Reply With Quote
  #9  
Old 12-28-2001, 12:13 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi. I would renew the request with a little security option:
there should be a pseudo-automated way to edit (by Admin, for example) any post with attachments to store individually the attached files onto the server, redirecting the link from db to url.
Everything in an interactive way, so I could - for instance - check the attached file nature and store it on a web-server only if safe...

Another problem should be to save an attachment out of the DB directly (automatically) to the server which hosts the DB itself in a configurable directory....

What do you (ALL OF YOU) think about ?

Thanks a lot.
Happy new year!
Reply With Quote
  #10  
Old 12-28-2001, 05:17 PM
Martz's Avatar
Martz Martz is offline
 
Join Date: Oct 2001
Location: UK
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How easy would it be have the attachments stored in another database, for example on a remote server. Attachments are as much of a priority for me, mySQL space on a high performance (shared) server isloads of $£$£$ - I have cheaper mySQL space I can use remotely.

HTH, I was going to make a new thread about this.. if anyone else is interested in this I would appreciate any feedback.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 05:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04235 seconds
  • Memory Usage 2,250KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete