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 02-17-2002 10:00 PM

Well after alot of time leaving it in the beta hacks forums without any problems, I'm now moving it to the Full Releases, I'm satisfied that there isn't any bugs that need to be addressed. Thanks to Jawelin he pointed out most of the mistakes through alot of his testing.
I've attached it as an installer file here, as it needs to make changes to the database. Two new rows to settings and a new column in the attachment table.

Scott

Updated some more :)

Note the > is missing off the bottom of the file after the ?, add it before trying to install

NitroSimSev 02-18-2002 02:27 PM

Parse error: parse error in /www/nitrosim/forum/admin/attachment_install.php on line 345

Scott MacVicar 02-18-2002 02:42 PM

did you upload in ascii mode?

Cause line 345 in the end tag ?>

:)

NitroSimSev 02-18-2002 03:09 PM

Yup......Will re-upload it and try it again.

NitroSimSev 02-18-2002 03:12 PM

Same error....

COMMAND:> STOR attachment_install.php
STATUS:> Connecting data socket...
150 Opening ASCII mode data connection for attachment_install.php.
STATUS:> Send successful
STATUS:> Time: 0:00:01, Efficiency: 20.51 KBytes/s (21005 bytes/s)
226 Transfer complete.

NitroSimSev 02-18-2002 03:12 PM

what is line 345 and I will look at it.

Jawelin 02-18-2002 04:18 PM

:D Thanks for quoting. ;)

Just an 'old user' question: is the attached installer the same than in Beta section (where it's vanished) ?
Thnx

MrLister 02-18-2002 05:21 PM

To fix the problem above try removing any spaces and extra lines after ?>. haven't tried it yet, i'm not at my comp but that might work.

JJR512 02-18-2002 07:50 PM

Question: In the file modifications part of the installation, we are told to search for a particular bit in the file editpost.php. In my editpost.php file, the bit to search for occurs two times. The second is about eight lines below the first. Should I add the new code above BOTH instances, or just the first, or just the second?

JJR512 02-18-2002 08:15 PM

For the record, I put it above the FIRST instance only. I haven't tested that specific functionality yet, though.

Everything else worked fine. I didn't have any problems at all.

And I'm happy to report that in my database, the attachment table was reduced from 61.9MB to 88kB! Woohoo! :up: :)


All times are GMT. The time now is 08:42 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.01314 seconds
  • Memory Usage 1,725KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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