vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Attachments as files (https://vborg.vbsupport.ru/showthread.php?t=35193)

Chris M 09-08-2002 03:15 PM

Did you make sure that you converted the existing attachments?

Satan

Bison 09-08-2002 03:53 PM

I ran the converter and dumped everything into a directory I created. The original files are there .... only when I upload a image to be viewed inside the thread that this doesn't work! :(

FleaBag 09-09-2002 11:39 AM

Working on 2.2.7, cheers! :D

NoAhBoDy 09-10-2002 06:00 PM

Very nice hack...makes backup sooo much faster :)

Thanks!

Learner29 09-12-2002 02:20 AM

well,

I apologize if my question has been answered before, but here it is.

I installed this hack, and did all the changes, and the forum replied back saying :

Import of Files from database completed

If you are sure that the files have been imported correctly you may drop the filedata column in the attachment table

now, I went to the forum to see if "the files have been imported correctly" and all attachments are still downloadable..

I got a look at the attachments folder that I made on the root level and to which I gave the 777 chmod, and I found plenty of BINARY files with totally bizarre names such as 0b9732abf17c4032c2ef27fd562f4f70.file

1) does that mean the hack worked perfect for me now ???

2) when you say "you may drop the filedata column in the attachment table", does that mean in phpmyadmin???

3) would future attachments be automatically exported as files, or do I have to do anything every now and then???

4) if a user attaches a virus-containing zip file, can I simply delete it via FTP ? if not, how can I safely delete an attachment now??

thank you so much PPN for the great hack, I really appreciate your great help

Learner29 09-16-2002 09:59 PM

no answer ??? :confused:

Learner29 09-17-2002 07:45 AM

would any kind person kindly help a bit ???

Hoffi 09-17-2002 03:05 PM

Quote:

Originally posted by Learner29
well,
[snip]
1) does that mean the hack worked perfect for me now ???
yes
2) when you say "you may drop the filedata column in the attachment table", does that mean in phpmyadmin???
yes, i tried it before i dropped it, with renaming and testing if the Attachments work.
3) would future attachments be automatically exported as files, or do I have to do anything every now and then???
new Att. are saved as a file. Without the filedata they can't stored in the table.
4) if a user attaches a virus-containing zip file, can I simply delete it via FTP ? if not, how can I safely delete an attachment now??
i think it is very complicated to find out which file in the folder is the one you want to delete. Do it as always...

thank you so much PPN for the great hack, I really appreciate your great help


Learner29 09-17-2002 04:37 PM

thank you a million Hoffi

I really really appreciate your help

thank you man !!!!

Quote:

Quote:

3) would future attachments be automatically exported as files, or do I have to do anything every now and then???
new Att. are saved as a file. Without the filedata they can't stored in the table.
well, thank you a lot, but as I was not sure, after exporting the attachments to files, I did not delete the table immediately... and was waiting to be sure.

Now that I trust your answer, I could go and delete the table in phpmyadmin.

but what about the attachments that were made between the export I did a few days ago and dropping the table today?? would those be lost ???

should I delete all the attachments folder and restart the exportation and then immediately delete the table in phpmyadmin???

so you are saying in this way, as the table is missing in the database, all future attachments would be exported directly as files , right ??



Thank you a million for your help

I appreciate it man .

Hoffi 09-17-2002 07:02 PM

Immedeatly when you uploaded your hacked files, the attachments weren't stored in the DB.


All times are GMT. The time now is 03: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.01307 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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