Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: 1.00, by Scott MacVicar Scott MacVicar is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-17-2002 Last Update: Never Installs: 121
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 04-23-2002, 03:26 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it should have been
[sql]UPDATE attachment SET filedata=''[/sql]
Reply With Quote
  #133  
Old 05-07-2002, 05:29 PM
JAC JAC is offline
 
Join Date: May 2002
Location: Lewisburg, WV
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Allot,

This was my first hack install, and it works great on 2.2.5.

I love it :bandit:
Reply With Quote
  #134  
Old 05-07-2002, 11:17 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am curious about having the attachments upload to another server... its not nessasarilly a space problem as a bandwidth one.
Reply With Quote
  #135  
Old 05-08-2002, 03:10 PM
JAC JAC is offline
 
Join Date: May 2002
Location: Lewisburg, WV
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem :nervous:

The hack works great except for one thing, When I try to attach a file that is bigger than what I have the max file size set for. I get the vb error that the attachment is to large, but the file stays in my attachments directory. It is not added to the database or anything else.

All the other errors work fine like invalid extension. If I get one of the other vb errors the file is deleted.

Thanks,
Reply With Quote
  #136  
Old 05-08-2002, 03:32 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

open up /admin/functions.php

check that under
PHP Code:
      eval("standarderror(\"".gettemplate("error_attachtoobig")."\");"); 
you have

PHP Code:
      unlink($attachment); 
Reply With Quote
  #137  
Old 05-08-2002, 03:35 PM
JAC JAC is offline
 
Join Date: May 2002
Location: Lewisburg, WV
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep its there

PHP Code:
    $filesize=filesize($attachment);
    if (
$maxattachsize!=and $filesize>$maxattachsize) {
      
// too big!
      
eval("standarderror(\"".gettemplate("error_attachtoobig")."\");");
      
unlink($attachment);
      exit;
    } 
Everything is working except the unlink, which I don't understand because it works fine with the rest of the errors
Reply With Quote
  #138  
Old 05-08-2002, 03:47 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wierd, its working on my board and even wierder that it works for the rest of the errors.
Reply With Quote
  #139  
Old 05-08-2002, 03:50 PM
JAC JAC is offline
 
Join Date: May 2002
Location: Lewisburg, WV
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I going to try a reinstall and see what happens.
Reply With Quote
  #140  
Old 05-11-2002, 04:02 AM
JAC JAC is offline
 
Join Date: May 2002
Location: Lewisburg, WV
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I reinstalled, but I'm still having the same problem

Does anyone have any idea of what could be causing this, I'm desperate.
Reply With Quote
  #141  
Old 05-12-2002, 11:15 AM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]
Code:
227 Entering Passive Mode (213,239,150,20,238,22).
STOR /home/wooolf/WWW/forum/admin/attachment_install.php
150 Opening ASCII mode data connection for /home/wooolf/WWW/forum/admin/attachment_install.php
226 Transfer complete.
Transferred 21.021 bytes in 0,22 seconds (93,74 KB/s)
Queue completed; transferred 21.021 bytes in 2,41 seconds (8,53 KB/s)
Parse error: parse error in /home/wooolf/WWW/forum/admin/attachment_install.php on line 345


damnit

vBB 2.2.4 here...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:20 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07442 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete