Version: 1.00, by Jafo232
Developer Last Online: Oct 2022
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.
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:
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?)
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...
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.