Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Attachments No Popup & Auto Upload Details »
Attachments No Popup & Auto Upload
Mod Version: 1.00, by Jafo232 (Coder/Designer) Jafo232 is offline
Developer Last Online: Mar 2018 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (4 votes - 5.00 average) Installs: 55
Released: 26 Oct 2007 Last Update: Never Downloads: 329
Not Supported Uses Plugins Template Edits  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screen1.jpg
Views:	753
Size:	58.3 KB
ID:	71555   Click image for larger version

Name:	screen2.jpg
Views:	659
Size:	66.2 KB
ID:	71556   Click image for larger version

Name:	screen3.jpg
Views:	551
Size:	58.4 KB
ID:	71557  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 26 Oct 2007, 05:03
ChurchMedia's Avatar
ChurchMedia ChurchMedia is offline
 
Join Date: Dec 2002
Real name: Tim Eason
Very cool! I'll try this out tomorrow.
Reply With Quote
  #3  
Old 26 Oct 2007, 05:51
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Real name: Eric Estrada
Nice idea !
Reply With Quote
  #4  
Old 26 Oct 2007, 05:58
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
Not too crazy about the iframe, but nice idea.

Last edited by Lionel; 26 Oct 2007 at 22:35.
Reply With Quote
  #5  
Old 26 Oct 2007, 06:33
Jafo232 Jafo232 is offline
 
Join Date: May 2004
Well, Iframes just made it easier and gave it an almost AJAX quality. It isn't like Vbulletin doesn't ever use them. In fact, viewing the source chart of this reply page shows:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #6  
Old 26 Oct 2007, 11:07
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
cool - I like it - just wondering why there are still "upload" buttons, though. (Also -shouldn't this mod be a template modification since it modifies templates?)

Last edited by yoyoyoyo; 26 Oct 2007 at 17:09.
Reply With Quote
  #7  
Old 26 Oct 2007, 15:14
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks!
Reply With Quote
  #8  
Old 26 Oct 2007, 16:05
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
Originally Posted by yoyoyoyo View Post
cool - I like it - just wondering why there are still "upload" buttons, though. (Shouldn't this be a template modification?)
Perhaps for those that don't have javascript enabled.
It should be controlled by a conditional though.

PS: vBulletin uses iframes where it can't do otherwise (in this case, the WYSIWYG editor). This mod doesn't need iframes, an iframe was put there just to cut dev time...
Reply With Quote
  #9  
Old 26 Oct 2007, 16:29
Jafo232 Jafo232 is offline
 
Join Date: May 2004
I left the upload button in just in case someones security settings or some other browser setting stopped the auto upload for some reason. Sure, you could take it out if you wanted to.

As for the iframe, it was either that or AJAX, and honestly that really seemed overkill.
__________________
Become a Lampwright today at www.lampwrights.com!
Reply With Quote
  #10  
Old 26 Oct 2007, 17:08
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
I dunno - I think ajax would be cool
Reply With Quote
  #11  
Old 27 Oct 2007, 00:54
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
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
  #12  
Old 27 Oct 2007, 04:05
jasculs jasculs is offline
 
Join Date: Jun 2007
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?

Last edited by jasculs; 27 Oct 2007 at 13:00. Reason: typo
Reply With Quote
  #13  
Old 27 Oct 2007, 12:33
wolfe wolfe is offline
 
Join Date: Jan 2002
just what i was looking for m8 :P thx alot.
__________________
Thanks
Reply With Quote
  #14  
Old 28 Oct 2007, 02:51
chuchukuttie's Avatar
chuchukuttie chuchukuttie is offline
 
Join Date: Jan 2007
Looks awesome man, thanks.
Reply With Quote
  #15  
Old 28 Oct 2007, 03:47
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 03:10.

Layout Options | Width: Wide Color: