vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   [REQ] Another way to create attachments (https://vborg.vbsupport.ru/showthread.php?t=102753)

DJ XtAzY 12-11-2005 10:15 PM

[REQ] Another way to create attachments
 
Hi. I was wondering if theres a way to have this feature that when i (only admins) post any attachments whenever u make a new post or editting a post, it will have an option that will scan a specific folder where uploaded files are located my server , and then add it to the attachment in the post. It will then display me a list of files detected and ask me whether i should add these files to the attachment. I really dont like uploading with files that have a filesize greater than the limit set in the php.ini. (let say the file is 8megs but the limit is 7megs...). This feature is similiar to vBGallery "Upload files directly from the server" So is this possible? Thanks!

Chris M 12-11-2005 10:16 PM

Quote:

Originally Posted by XtAzY
Hi. I was wondering if theres a way to have this feature that when i post a attachment, and instead of using the upload files from pc, it will have an option that will upload or import a folder where uploaded files are located on the server, and then add it to the attachment in the post. I really dont like uploading with files that have a filesize greater than the limit set in the php.ini. So is this possible? Thanks!

Create an upload script to do such a thing...

Create a link in the popup Attachment Manager to link to it, then output a url from that script which tells the user where the file is, then they can paste it in the "Upload from URL" textbox...

Chris

DJ XtAzY 12-13-2005 01:01 AM

i have no clue how to code or create scripts since i have no experience =p

i updated the first post... hopefully u guys know what i mean =]


All times are GMT. The time now is 07:04 AM.

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.00998 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete