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)

Boofo 06-01-2002 12:08 AM

Thanks for all of the help, Scott. It's working great! :)

I do have one problem though...I also have the attachment editor hack installed and now for some reason when I go to edit a txt file, the editing box is blank. Nothing in it, but when I go to view it, everything is there. Any ideas on this one?

Scott MacVicar 06-05-2002 12:20 PM

Here is the updated file from the zip, it is backwards compatible anyway, so if you decide to go back to the database the hack will still work. I'll see if chen can update his hack with this file later today.

The only real changes is the bits to add to misc.php so i'll just post this as an attachment.

Boofo 06-05-2002 12:34 PM

Thanks, Scott! I'll have to re-install it again. I took it out when it messed with the attachment editor. When I re-install it, do I just ingore the part in the install php file about the misc.php file then and just do it with the attachment file you posted here?

Quote:

Originally posted by PPN
Here is the updated file from the zip, it is backwards compatible anyway, so if you decide to go back to the database the hack will still work. I'll see if chen can update his hack with this file later today.

The only real changes is the bits to add to misc.php so i'll just post this as an attachment.


Scott MacVicar 06-05-2002 03:38 PM

yep use the one i posted instead of the one in the zip and i sent chen a copy too.

Boofo 06-05-2002 03:50 PM

Sorry to sound dense here, but the file I have is the attachment_install.php. Is there a zip out too that I missed?

Quote:

Originally posted by PPN
yep use the one i posted instead of the one in the zip and i sent chen a copy too.

Scott MacVicar 06-05-2002 03:59 PM

I meant FireFly's attachment editor hack, has a zip with that text file in it. Use mine instead of his.

Boofo 06-05-2002 06:06 PM

Well, Scott, I re-installed your hack and I wanted to let you know that everything is working as it should be so far. The attachment editor now works with your great hack. Thank you very much for all of your help and the fix for the misc.php file. I really appreciate you working to get the editor to work with it. Not many authors would do all that you did here. This is the kind of support that makes a great hack! Thanks again! :):):) You bees the man!!! :)

Oxygen 06-06-2002 07:18 PM

Two small questions...
Attachment as files works almost wonderfully.
Is there a size limit to the file size?
as no matter what the attachment size number is set too (20971520 which should be 20 megs) when I upload a file that is above ~3 megs (I am not sure the exact number) it does not upload the file.
also it does not promp when the file is too large.

What would be the easiest way to update to v2.2.6 from 2.2.5
while keeping attachment as files?

Thanks

Scott MacVicar 06-06-2002 07:40 PM

You just need to re-apply the code i guess. 2.2.6 is a big update so u cant really only upload some files and not the others.

Alot of people are having the problem with attachments, Im not too sure what is causing the problem.
You realise there is a max upload size in php as well to stop too large files being uploaded, you can check this in phpinfo();

Jawelin 06-08-2002 01:08 PM

Hi, Scott.
I read about the update, and while I'm upgrading my hacked 2.2.5 I noticed something about your hack.

JFYI in the final 2.2.6 version, there's some moved code within function.php (attachment delete), but it isn't to difficult to manage the differences from your instruction.

Thanks for the misc.php update, btw.


All times are GMT. The time now is 12:38 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.01294 seconds
  • Memory Usage 1,735KB
  • 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
  • (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