vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   modifying script to store images to folder (https://vborg.vbsupport.ru/showthread.php?t=159161)

TeamDevotion 10-01-2007 01:08 AM

modifying script to store images to folder
 
I don't really know how to program for databases and such, but i'd like to modify a script that stores pictures to a database, and make it store pictures to a folder.

Dismounted 10-01-2007 12:23 PM

This is not beginners stuff, so if you don't have a feel of PHP, I would suggest against it as you might end up breaking it.

Dean C 10-01-2007 12:41 PM

Quote:

i'd like to modify a script that stores pictures to a database, and make it store pictures to a folder.
Your two statements, are contradictory

nexialys 10-01-2007 01:45 PM

Dean, you did not even read it in the right angle.. lol

the system actually store the pictures in the database, he wants them to be stored in the filesystem instead...

as it is not related to vBulletin, can you provide the url to the script so we can see what's going on with your script !?

... http://ca3.php.net/manual/fr/functio...t-contents.php ... this can be a lead to somewhere!

RobDog888 10-01-2007 04:52 PM

<font color="navy">In the admincp you can specify where to store your attachments. It also has functions to move attachments out of the db or back in.</font>

Dismounted 10-02-2007 05:02 AM

That's for vBulletin. I believe he's talking about a script other then vBulletin.

TeamDevotion 10-06-2007 06:05 AM

Its the vbgarage script, The reason i want to do this is because the image database for the garage gets extremely large.
when i update my vb version its a pain to import that huge table into the new database.

TeamDevotion 10-10-2007 03:11 AM

anyone?

Marco van Herwaarden 10-10-2007 08:17 AM

It would be the best if you posted your question in the thread of that modification. Nobody can give you a generic answer on how to modify script "X" to support attachments in the file system.

Also as mentioned before, if you are not familiar with PHP coding i would advise against trying this yourself as it is not beginners stuff.

TeamDevotion 10-14-2007 05:44 AM

There is no longer support for the vbgarage script. Beginners have to learn somehow.


All times are GMT. The time now is 12:12 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.01611 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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