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
vb3 Attachments - Including Multiple Attachments Option Details »»
vb3 Attachments - Including Multiple Attachments Option
Version: 1.00, by rake rake is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 04-27-2003 Last Update: Never Installs: 87
 
No support by the author.

Woo! Finally! I've been working on this for 10 straight hours now.

It's a replica of the vbulletin 3 attachment feature, which supports multiple uploads. We can't have vbulletin 3 yet, but at least we can copy it.


Files to edit: 5
Queries to run: 5
New Templates: 3

Just be sure to backup before trying anything.
You can see it live at my forums. Log in as test/test, if you want to see it in action.

And don't forget to click the Install button if you like the hack.



=-=-=-=-=-=-==-=-
UPDATE - Please re-download the file. Upgrading instructions are included in instructions.php. And sorry for the wait. I had to bribe my parents with 15 math exercises to let me use the computer. :knockedout:
=-=-=-=-=-=-=-==-

=-=-=-=-=-=-=-=-=-
SECOND UPDATE - Sorry for the previous non-functioning version, everyone. I did those modifications really late at night and some errors slipped in. This update fixes permission errors, allows you to specify a maximum number of attachments, fixes 65535 bytes error and includes repairing instructions for editpost.php
I have tested it on a clean 230 test board and it worked fine.
=-=-=-=-=-=-=-=-=-

=-=-=-=-=-=-=-=-=-=
THIRD REVISION - This update fixes the 3 largest errors reported so far:
1. The view image atachments option now works
2. Attaching more than one file with a new thread now works
3. Deleting a post with attachments now works
=-=-=-=-=-=-=-=-=-=

To everyone who used attachment.php from the old zip: Please replace it with your original one. attachment.php was added in the zip by mistake.

Show Your Support

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

Comments
  #262  
Old 02-12-2004, 05:29 AM
Choclo Choclo is offline
 
Join Date: Sep 2003
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ufff... this hack was quite close to wipe my Vb forum!!! man.. I JUST LOVE BACKUPS!!!! (tried on 2.3.4 but no go)
Reply With Quote
  #263  
Old 02-22-2004, 12:42 AM
cindyd cindyd is offline
 
Join Date: Sep 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NO reply necessary I figured it out.

I need to change the color of the text when the error message says "Your images are too big, etc"

Where do I do this?

I looked in the files that I downloaded and where I see this line it doesn't say anything about colors, etc.

I have to change just the text color on these error messages, because if I change it in the overall template that would really FUBAR the whole deal.
If you need to see what I mean, just let me know. Thanks for the help.

I am running 2.3.3
Reply With Quote
  #264  
Old 02-22-2004, 05:22 PM
cindyd cindyd is offline
 
Join Date: Sep 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found the answer by trial and error on the problem before this. I have been getting this error message after someone tries to upload an image that is too big:

Warning : fopen(/tmp/php3mvoUh): failed to open stream: No such file or directory in /home/xxx/public_html/forum/newattachment.php on line 154

Warning : fread(): supplied argument is not a valid stream resource in /home/xxx/public_html/forum/newattachment.php on line 155

Warning : fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/forum/newattachment.php on line 156

Those lines are:

$filenum = fopen($attachment,"rb");-----> line 154
$filestuff = fread($filenum,$filesize);------->line 155
fclose($filenum);-------->156

Also am I the only one who has entire posts deleted if someone tries to edit a post with an image in it? I am running 2.3.3

Thanks for the help.
Reply With Quote
  #265  
Old 04-17-2004, 06:47 AM
tomjinx1 tomjinx1 is offline
 
Join Date: Sep 2002
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see that this thread was started a long time ago and it's been around awhile. However, Rake, how hard would it be to make uploaded images into thumbnails like vb3 if there are more than 1 image attached?

Tommy
Reply With Quote
  #266  
Old 04-22-2004, 03:13 PM
cindyd cindyd is offline
 
Join Date: Sep 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone but me had the problem of when a post is made and the author goes back to edit it, the whole thing disappears?

I am unable to upgrade due to some custom hacks and would really, really like to get this fixed.

Anyone?

Thanks
Reply With Quote
  #267  
Old 04-24-2004, 07:16 AM
certify's Avatar
certify certify is offline
 
Join Date: Nov 2001
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cindyd
Has anyone but me had the problem of when a post is made and the author goes back to edit it, the whole thing disappears?

I am unable to upgrade due to some custom hacks and would really, really like to get this fixed.

Anyone?

Thanks
Can this hack work on 2.2.6?
Reply With Quote
  #268  
Old 08-24-2004, 09:51 AM
pdatoon pdatoon is offline
 
Join Date: Nov 2001
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems that this hack is not very stable. Anyone got it working fine on their board?
Reply With Quote
  #269  
Old 10-14-2004, 05:31 AM
novaw novaw is offline
 
Join Date: Nov 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The instructions.txt is highly confusing.

Why not do a re-write that just has the instructions rather than 1.1 / 1.2 / 1.3... it's not clear if each one changes the other set of instructions of what you should do 1st
Reply With Quote
  #270  
Old 05-06-2005, 03:30 AM
YoricksRequiem YoricksRequiem is offline
 
Join Date: Jan 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The instructions are very confusing......and very poorly written....can somebody clear them up for us?
Reply With Quote
  #271  
Old 06-02-2005, 02:30 AM
gilbert gilbert is offline
 
Join Date: Jan 2004
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i get this to work with vb3.03?
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:57 PM.


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.04511 seconds
  • Memory Usage 2,304KB
  • 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_quote
  • (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
  • (3)pagenav_pagelink
  • (1)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