Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-04-2008, 05:06 AM
goshalim goshalim is offline
 
Join Date: Oct 2007
Posts: 470
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Pictures and other attachements

Goodmorning all ,

Does anyone knows where ( in which file or folder ) through FTP all these attachments are saved ?
Reply With Quote
  #2  
Old 11-04-2008, 10:29 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Vbulletin uses two different types of storage for attachments, they can be stored in the database or the file system.

admincp --> attachments --> Attachment Storage Type

This will tell you how the forum is currently storing attachments, if they are stored in the DB and you want to move them to the file system, you will be prompted to put in the correct folder path after you have created the folder, you can find your path in the phpinfo under the maintence section, typically in the last box of the phpinfo page.

SERVER["SCRIPT_FILENAME"] /home/xxxxxxx/public_html/forums/admincp/index.php

You path ie = /home/xxxxxxx/attachments (chmod the attachments folder to 777)

I store them under the public_html for security.
Reply With Quote
  #3  
Old 11-05-2008, 01:34 AM
goshalim goshalim is offline
 
Join Date: Oct 2007
Posts: 470
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much for your reply .

It seems that they are kept in the Database , and i cannot find them.

Any ideas who do i go there or is it impssible ?

Thanks again
Reply With Quote
  #4  
Old 11-05-2008, 03:27 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If they are in the database, then they are in the attachment table. But they aren't something you can go and look at in there.
Reply With Quote
  #5  
Old 11-05-2008, 07:06 AM
goshalim goshalim is offline
 
Join Date: Oct 2007
Posts: 470
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Lynne

I went to my admin panel and then to Attament Manager and to storage Type.

Look what is written


Quote:
Help Storage Type: Attachments
Attachments are currently being stored in the database
Action Move Items from Database into File System
If I press OK , all attachments will be trasfers to the FTP file ?

Is that a problem.

On my old version of bulletin i had them on hte ftp file. When i upgreated they are stores now in database and none of the ola attachemnts were transfer to the new forum.

Please help me
Reply With Quote
  #6  
Old 11-05-2008, 02:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You may put them in the file system if you'd like. You need to first create a folder to put them in and chmod that folder to 777. The folder should be above your forum root folder for security purposes and so people may not have direct access to it. However, if you lost a bunch of attachments, they are not going to magically come back when you move them from the database to the file system.
Reply With Quote
  #7  
Old 11-05-2008, 05:12 PM
goshalim goshalim is offline
 
Join Date: Oct 2007
Posts: 470
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much for your reply .

The thing is that i havent lost them . I see them in my old forum I which i havent delete it ) . they are in a folder there called image hosting.

What i am going to do is when i creat a new folder as you said , i will then copy the whole folder ( from the old forum ) and paste it on the new .

Is it going to work that way ? What do you think ?

Thanks again
Reply With Quote
  #8  
Old 11-07-2008, 01:59 AM
goshalim goshalim is offline
 
Join Date: Oct 2007
Posts: 470
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lynne , hi ,

Iam waiting for your opinion please .

Thnaks
Reply With Quote
  #9  
Old 11-07-2008, 02:55 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If they were in the file system on the old site, then why didn't you just copy the images over when you moved sites? It's unclear to me whether they are actually currently in the database or in the file system. If they are in the database, then you should be able to just move the to the file system and all should be fine. But, if they are really supposed to be in the file system but aren't, I'm not sure what you should do. I guess at this point, I'd save my database (as a backup) and try to move them to the file system and see what I get. Then, if you only have some, try moving over some of the files from the other server and see if that works.
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 04:35 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.03917 seconds
  • Memory Usage 2,232KB
  • Queries Executed 13 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete