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)

Scott MacVicar 06-08-2002 09:31 PM

Will update the code when i get back from my 2 week vacation. :)

Jawelin 06-09-2002 08:44 AM

Have nice holidays.... :D

AWS 06-16-2002 06:40 PM

Finally got arround to installing this.

DB size before 234Meg
DB size after 98Meg

Great hack. Did just what I was looking for.

Courage 06-18-2002 11:18 PM

I really nned this hack :@
I'm running vb 2.2.2 and I get this nasty error when I try to run the installer (on the first step)
Code:

Database error in vBulletin Control Panel 2.2.2:

Invalid SQL: ALTER TABLE `attachment` ADD `hash` VARCHAR(32) NOT NULL
mysql error: Lost connection to MySQL server during query

mysql error number: 2013

Date: Wednesday 19th of June 2002 03:08:30 AM
Script: http://www.softnews.ro/forum/forum/a....php?s=&step=3
Referer: http://www.softnews.ro/forum/admin/a...t_install.php?

I have a lot of hacks installed...
This is the problem ? :(

Please HELP !!!

eoc_Jason 06-23-2002 05:22 AM

Just a thought, you might want to have some "upgrade" instructions. I accidently clicked the remove one thinking I could convert back from files to DB, but instead it just wiped out my hashes (ACK!), maybe have a confirm on what is about to happen?

But anyhow, It would be helpful if you could do a "upgrade" choice which would just re-display the code that is needed but not do any other stuff. :)

Tigger9969 06-24-2002 10:40 PM

Here is my problem:

We're running vb2.2.6. We have no problem uploading files smaller than 2MB, other than it takes a REALLY long time.

We are not using safe mode.

When we try to upload a file larger, after a really long time the message is posted but the file attachement is not there.

Does anyone know why? Any help will be greatly appreciated.

Tigger9969

Boofo 07-04-2002 11:31 PM

The default value for PHP is 2 meg. You can change that limit size in the php.ini file on the server. You will probably have to talk to your ISP about that. :)

Quote:

Originally posted by Tigger9969
Here is my problem:

We're running vb2.2.6. We have no problem uploading files smaller than 2MB, other than it takes a REALLY long time.

We are not using safe mode.

When we try to upload a file larger, after a really long time the message is posted but the file attachement is not there.

Does anyone know why? Any help will be greatly appreciated.

Tigger9969


papoo 07-10-2002 06:52 PM

thanks i will try it

Darren Evans 07-21-2002 08:56 PM

If this is a dumb question... shoot me. ;)

Why do all the files that are exported from the database into the attachments folder have long names with .files as an extension? Is there any way to get them exported as their original file names? What did I overlook?

Thanks!

Boofo 07-21-2002 10:57 PM

You didn't overlook anything, the hack is supposed to do that. If you really want to export them as the original filename, just copy it over to wherever you want it copied and rename it to its original filename. :)

The naming convention is more for security reasons than anything else, I think.

Quote:

Originally posted by Darren Evans
If this is a dumb question... shoot me. ;)

Why do all the files that are exported from the database into the attachments folder have long names with .files as an extension? Is there any way to get them exported as their original file names? What did I overlook?

Thanks!



All times are GMT. The time now is 10:26 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.01441 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (2)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