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)

Mutt 04-02-2002 02:27 AM

sorry, my bad

forgot to upload admin/functions.php

opps

thanks!! works great

MIKdoubleE 04-03-2002 02:58 AM

Quote:

Originally posted by MIKdoubleE
Yeah, i figured it out......but heres a question, is there anyway, i can change the url on the attachment....i mean, like my board is hosted on my server, www.hiphopfuture.com and i was wondering if i can tweak the hack and point the attachment uploads to another server. To save space on mine.....any way?????
HELLO!! is there any support for this hack?????!!!!!!!

Freddie Bingham 04-03-2002 03:05 PM

No.

Ninth Dimension 04-03-2002 03:45 PM

I've just installed this hack, and so far I can't see any problems with it, apart from .png files, they either don't upload at all, or they don't display correctly. has anyone else seen this at all?

Scott MacVicar 04-03-2002 06:49 PM

I've not noticed the problem with png files, though support for this was only added in 2.2.2 in attachment.php are you running 2.2.2 or later?

Mike if you don't have space for attachments on your server dont turn them on, simple as that!

Ninth Dimension 04-03-2002 07:08 PM

I'm running vB 2.2.4, it could have just been the file I was using to test it with, but it should not be a huge problem or anything like that :)

Scott MacVicar 04-03-2002 07:16 PM

at the bottom of attachment.php it should have

PHP Code:

elseif ($extension=="png") {
  
header("Content-type: image/png");


as part of the check for image type.

Ninth Dimension 04-03-2002 07:24 PM

Yup, it's got that, oh well

Oh, a quick word of warning, when I downloaded the file earlier today, you have not got the ?> at the end of the file, I added it myself and it worked fine, but you might wanna re-upload the file :)

waddy 04-03-2002 10:05 PM

Quote:

This only happens if the file doesn't exist, was it removed or is the disk space allotment for your account full?
Ive got tons of space and the files in question have not been deleted.


The forum says there is a file attached- when you click on the attachment to view it - you get this

http://www.xp-erience.org/forum/show...&threadid=7730

its driving me insane !

hypedave 04-12-2002 01:01 AM

I just installed this hack, and now when upload attachments, I get the followig errors

Warning: Unable to create '/images/temp/89ce924a310f80c7e6a83893410f7ded.file': No such file or directory in C:\Inetpub\wwwroot\forums\admin\functions.php on line 1705

Warning: Unable to move 'C:\WINNT\TEMP\php6A9.tmp' to '/images/temp/89ce924a310f80c7e6a83893410f7ded.file' in C:\Inetpub\wwwroot\forums\admin\functions.php on line 1705


All times are GMT. The time now is 08:17 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.02035 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
  • (1)bbcode_php_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