Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Attachments No Popup & Auto Upload Details »»
Attachments No Popup & Auto Upload
Version: 1.00, by Jafo232 Jafo232 is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.8 Rating:
Released: 10-25-2007 Last Update: Never Installs: 56
Uses Plugins Template Edits
 
No support by the author.

This hack was created on a custom job that I am doing for a third party and they gave me permission to release it to the community. It requires several template REPLACEMENTS, but most are minor and should not affect your forums layout. To be prudent BACKUP YOUR TEMPLATES before installing this hack.

This hack is a use at your own risk mod!

What does it do?

As part of the custom job, the client requested a way to make the upload attachments part not require a popup window. Currently, when you upload attachments to threads, you click the manage attachments button and a popup appears and you upload your attachments.

This modification will keep the uploads on the same page (no popup).

Auto uploading is also a feature. When a user browses to the file and selects it, the file is automatically uploaded so the user does not have to click the upload button. I don't know about you guys, but there has been a few times I forget to hit that stupid upload button.

Will this work for your forum?

Well, I have no idea, and honestly it really is not my concern. This should work for a new installation of a Vbulletin forum. It could be possible that you have mod'd your templates to the point where this mod may adversely affect your layout and function.

As for support, don't come begging to me if you cannot get this to work. Most people who pay for scripting never let custom work like this out to the public free of charge. Consider how much you paid for this before you complain if it doesn't work for you.

I will support this as I can, but I am very busy lately so don't hold your breath for replies.

Show Your Support

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

Comments
  #12  
Old 10-26-2007, 11:54 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe the reason vbulletin users the pop up is if the upload times out, you will not loose your thread/post. Just a note to users who are not aware of that reason. Other then that, very nice work. I would love for the upload part to be ajax based by default ^^
Reply With Quote
  #13  
Old 10-27-2007, 03:05 AM
jasculs jasculs is offline
 
Join Date: Jun 2007
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
I believe the reason vbulletin users the pop up is if the upload times out, you will not loose your thread/post. Just a note to users who are not aware of that reason. Other then that, very nice work. I would love for the upload part to be ajax based by default ^^
So then wouldn't that be a plus for the iframe, since the attachments aren't actually loading on the page, but in the frame...If the attachment failed then they won't lose the post...Right?
Reply With Quote
  #14  
Old 10-27-2007, 11:33 AM
wolfe wolfe is offline
 
Join Date: Jan 2002
Posts: 900
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just what i was looking for m8 :P thx alot.
Reply With Quote
  #15  
Old 10-28-2007, 02:51 AM
chuchukuttie chuchukuttie is offline
 
Join Date: Jan 2007
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks awesome man, thanks.
Reply With Quote
  #16  
Old 10-28-2007, 02:47 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why are people making a deal over the iframe?? Is SEO a huge concern on a private vBulletin page? =p

If someone was using an ancient browser that didn't support iFrames, well, then they probably wouldn't be able to look at the rest of my site, either.

Nice hack, I'll look into this. **bookmarked**
Reply With Quote
  #17  
Old 10-28-2007, 03:59 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here are the template edits/replacements (assuming that the indicated templates are unmodified) in Template Modification System (TMS) XML format, so anyone that has TMS installed simply needs to upload this XML and the template edits are taken care of for you.
Reply With Quote
  #18  
Old 10-28-2007, 03:29 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheMilkCarton View Post
Why are people making a deal over the iframe?? Is SEO a huge concern on a private vBulletin page? =p

If someone was using an ancient browser that didn't support iFrames, well, then they probably wouldn't be able to look at the rest of my site, either.
Yeah, it isn't like your ranking is going to change at all if the upload page is in an IFRAME.

I feel the same way about Javascript. If a user does not have Javascript enabled, their experience on the web it going to be dull just about everywhere they go.
Reply With Quote
  #19  
Old 10-29-2007, 03:39 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can we get this to work with your virus scan? I got it to work with the zip file but for some reason the virus scan mod is not working. (using 3.6.8 BTW)
Reply With Quote
  #20  
Old 10-29-2007, 05:07 PM
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if this will work with the virus scan.. Should, but I haven't dealt with that plugin in some time..
Reply With Quote
  #21  
Old 10-29-2007, 05:10 PM
honestdave's Avatar
honestdave honestdave is offline
 
Join Date: Jul 2006
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

jafo you are a pimp!
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 06:58 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.08342 seconds
  • Memory Usage 2,307KB
  • 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
  • (2)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
  • (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