Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #232  
Old 07-12-2003, 09:22 AM
Agent XY Agent XY is offline
 
Join Date: Jul 2003
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

where can I find the final version?

#andi
Reply With Quote
  #233  
Old 07-12-2003, 11:40 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 06:22 PM Agent XY said this in Post #231
Hello,

where can I find the final version?

#andi
u can find it in first post~~~
Reply With Quote
  #234  
Old 07-12-2003, 11:48 AM
Agent XY Agent XY is offline
 
Join Date: Jul 2003
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello,

ok, thanks squawell.

#andi
Reply With Quote
  #235  
Old 07-17-2003, 09:36 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rake, i hope you continue work on this to weed out any more bugs ( should there be ).

It would be a very useful hack for me and many fellow members who do not plan to go the vb3 way anytime soon.

Reply With Quote
  #236  
Old 07-19-2003, 09:21 AM
Skyline_GT Skyline_GT is offline
 
Join Date: May 2003
Location: Vancouver, BC
Posts: 482
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ya
it seems he is not going to fix the error.
Reply With Quote
  #237  
Old 07-26-2003, 04:05 AM
Kane Da Don's Avatar
Kane Da Don Kane Da Don is offline
 
Join Date: Sep 2002
Location: Vegas
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i would like to know does this work with the Attachments as files hack and the Add Attachment on Edit Post hack ?? plz i would like to know because i would really like to install this hack for myself
Reply With Quote
  #238  
Old 08-02-2003, 04:43 PM
cindyd cindyd is offline
 
Join Date: Sep 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am just now starting to install this hack, and the last query

ALTER TABLE `attachment` ADD INDEX ( `postid` );


is giving me this error:

Quote:
Database error in vBulletin Control Panel 2.3.0: Invalid SQL: ALTER TABLE `attachment` ADD INDEX ( `postid` ); mysql error: You have an error in your SQL syntax near '; ' at line 1 mysql error number: 1064
Turns out the query through the Admin CP was being picky.

I just finished installing and it's working great! Very nice hack.

*clicks install
Reply With Quote
  #239  
Old 08-03-2003, 12:25 AM
cindyd cindyd is offline
 
Join Date: Sep 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running into a problem. As an Admin I can see the attachment images as images, but if I log in as a "registered member" then the attachment shows as a download.

How can I change this? The whole point of doing this was so the images would appear in the posts. I can't make everyone an Admin.

If you click on the link for the attachment, it takes you to an error message:

No attachment specified. If you followed a valid link, please notify the webmaster

Are there some permissions or something I have to change?

If you want to look for yourself, just click on my link.
http://www.glassmavenhaven.com/forum...&threadid=1538

Please help, I really need this to be working.

I am running 2.30 with some hacks installed, but none of the attachments hacks, except this one.

I also noticed when using IE (I normally use Opera) that the link to Manage Attachments doesn't do anything.
Reply With Quote
  #240  
Old 08-03-2003, 03:56 AM
rake's Avatar
rake rake is offline
 
Join Date: Nov 2002
Posts: 311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 02:25 AM cindyd said this in Post #238
[B]I'm running into a problem. As an [b]Admin I can see the attachment images as images, but if I log in as a "registered member" then the attachment shows as a download.

How can I change this? The whole point of doing this was so the images would appear in the posts. I can't make everyone an Admin.


I'm not really sure about this one. It's been a couple of months since i developed the hack, and i've been using vb3 exclusively since then. Perhaps another member could answer that.

Quote:
If you click on the link for the attachment, it takes you to an error message:

No attachment specified. If you followed a valid link, please notify the webmaster

Are there some permissions or something I have to change?

I am running 2.30 with some hacks installed, but none of the attachments hacks, except this one.
There's an error in the template. You're missing an ampersand (&) between the sessionhash and attachmentid.


Quote:
I also noticed when using IE (I normally use Opera) that the link to Manage Attachments doesn't do anything.
It probably has to do with the security settings in ie. The code used for the pop-up is taken from vb3.
Reply With Quote
  #241  
Old 08-03-2003, 02:16 PM
cindyd cindyd is offline
 
Join Date: Sep 2002
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I'm not really sure about this one. It's been a couple of months since i developed the hack, and i've been using vb3 exclusively since then. Perhaps another member could answer that.
Rake: do you think you might be able to inquire about this? You did offer support on this hack.

I have taken care of the other 2 problems.
Reply With Quote
Reply

Thread Tools

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:15 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.04947 seconds
  • Memory Usage 2,311KB
  • Queries Executed 27 (?)
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
  • (6)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
  • (4)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_postinfo_query
  • fetch_postinfo
  • 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