Page 1 of 9

[ABD] Real Upload Progress Bar v2.0.2

Posted: Sat Aug 15, 2009 5:51 am
by ServA1
Modification Name: PhpBB3 Real Upload Progress Bar mod

Author: ServA1

Author Website: http://www.serva1.net

Modification Description:: This mod will give your forum uploaders a progress bar that really works unlike the prepackaged progress bar included in the subsilver theme which ‘pretends’ to show you upload progress. You also get additional upload details such as percent uploaded, upload speed, average upload speed and estimated time till the upload has finished. The Upload Progress Bar makes use of the lightweight JQuery javascript library to display the information to the browser and for maximum efficiency it only gets called when a user makes a post in your forum.

Modification Version: 2.0.2

Requirements: uploadprogress.so must be installed and enabled on your server. See this post - http://www.phpbb.com/community/viewtopi ... #p13112615
Make sure you are also calling JQuery in your forum. You can do this either in the overall_header.html or if you only want it called when someone uploads, do it at the very top of posting_attach_body.html

Features:
  • Working progress bar
    Percentage uploaded
    Upload speed
    Average Upload Speed
    Estimated time until upload finishes
    Upload size and amount


Screenshots: Image

Demo URL: NA

Modification Download: Download the Real Upload Progress Bar mod here

Image

Re: [RC] Real Upload Progress Bar v1.0.0

Posted: Sat Aug 15, 2009 10:06 am
by stokerpiller
Looks interesting.
Any particular reason for including old versions of the js?

Re: [RC] Real Upload Progress Bar v1.0.0

Posted: Sat Aug 15, 2009 10:33 am
by darkonia
looks nice :ugeek:

Re: [RC] Real Upload Progress Bar v1.0.0

Posted: Sat Aug 15, 2009 12:11 pm
by Rebell
Great mod !

This should be in phpb3 standart ;)

Re: [RC] Real Upload Progress Bar v1.0.0

Posted: Sat Aug 15, 2009 7:42 pm
by ServA1
stokerpiller wrote:Any particular reason for including old versions of the js?
No not at all, I just forgot to update the JQuery i was using from when I created the mod awhile back. I've just updated the mod to use the latest JQuery (1.3.2) minimized version now. No changes were required in the original code.

Get the latest version of JQuery, rename it to jquery.js and upload it to your /js/ directory. It should work just fine ;)

Anyway thanks for the kind remarks fellaz, enjoy the mod.

Re: [RC] Real Upload Progress Bar v1.0.0

Posted: Sat Aug 15, 2009 8:09 pm
by Tophon
Great work, going to try it out!

Re: [RC] Real Upload Progress Bar v1.0.1

Posted: Sun Aug 16, 2009 12:28 am
by ServA1
Updated the mod to version 1.0.1
  • Changed $GET requests to use the request_var function according to PhpBB coding guidelines.
  • Updated the install.xml file to better fit PhpBB mod coding standards.

Re: [RC] Real Upload Progress Bar v1.0.1

Posted: Sun Aug 16, 2009 1:22 am
by DoYouSpeakWak
Looks great. Subsilver2 edits would be very nice :geek:

Re: [RC] Real Upload Progress Bar v1.0.1

Posted: Sun Aug 16, 2009 4:07 am
by eman80
looks great .. I will try it soon

Re: [RC] Real Upload Progress Bar v1.0.1

Posted: Sun Aug 16, 2009 12:27 pm
by lovelysummer
I' ve already had a jquery-1.3.2min.js in my JS folder. So I can leave this part, am I correct ? :roll:

Re: [RC] Real Upload Progress Bar v1.0.1

Posted: Sun Aug 16, 2009 12:59 pm
by DeViAnThans3
Too bad it requires uploadprogress PEAR module, which in its turn requires PHP 5.2 :)

Just a suggestion (maybe you can't/won't implement it anymore, since you're RC ..), what if this PEAR module is not enabled/installed? Couldn't there be provided any alternatives, like Java/Flash bars? :)

Anyway, great work already! :D

Re: [RC] Real Upload Progress Bar v1.0.1

Posted: Sun Aug 16, 2009 1:42 pm
by ServA1
lovelysummer wrote:I' ve already had a jquery-1.3.2min.js in my JS folder. So I can leave this part, am I correct ? :roll:
Yes just change the path and filename to where your jquery file is in /styles/prosilver/template/posting_layout.html (around line 2)

<script type="text/javascript" src="js/jquery.js"></script>

Or you can delete that whole line if your current JQuery is already called on your posting page, you don't need it loaded twice ;)

Re: [RC] Real Upload Progress Bar v1.0.1

Posted: Sun Aug 16, 2009 1:48 pm
by ServA1
DeViAnThans3 wrote:Too bad it requires uploadprogress PEAR module, which in its turn requires PHP 5.2 :)

Just a suggestion (maybe you can't/won't implement it anymore, since you're RC ..), what if this PEAR module is not enabled/installed? Couldn't there be provided any alternatives, like Java/Flash bars? :)

Anyway, great work already! :D
Actually there is a patch to make it work with older defunct versions of php. I do state it requires uploadprogress and all it's dependencies, whatever they may be, to be installed ;) PEAR installed on your server isn't going to hurt anything. I originally developed this mod on php4, it just takes a bit more work to get uploadprogress.so installed and running so you can use this mod. Anyway thanks for the kudos DeViAnThans3, appreciated

Re: [RC] Real Upload Progress Bar v1.0.1

Posted: Sun Aug 16, 2009 6:01 pm
by 4_seven
if you have no direct server access, this mod was worthless ;)

Re: [RC] Real Upload Progress Bar v1.0.1

Posted: Sun Aug 16, 2009 6:12 pm
by ServA1
4_seven wrote:if you have no direct server access, this mod was worthless ;)
Hey it's captain obvious! that's right it's all stated in the REQUIREMENTS, unless your host is prepared to install uploadprogress.so or it is already installed then bad luck if you don't have server access ;)