Advertisement:
2by2host

Author Topic: Attachments Upload Progress Bar !! ...  (Read 4258 times)

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
Attachments Upload Progress Bar !! ...
« on: April 21, 2007, 10:36:40 PM »
Hi:

I think what will be very usefull one " Upload Progress Bar " ...

In my web, too many people upload attchments, and they never know what is the upload status, ...

I see this on a web, and I like it !

It's possible to make one mod what allow this ?

Thanks for reading this ! ;)
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
Re: Attachments Upload Progress Bar !! ...
« Reply #1 on: April 27, 2007, 09:41:03 PM »
Hello ??? ... Anybody in home ??
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline tribalost

  • Semi-Newbie
  • *
  • Posts: 22
Re: Attachments Upload Progress Bar !! ...
« Reply #2 on: April 29, 2007, 09:22:31 AM »
im not sure about this but i think there isnt a function in php where it determines the total file size and file size uploaded... but you chould try jsp :)

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,576
  • Gender: Male
    • Mortons Solicitors
Re: Attachments Upload Progress Bar !! ...
« Reply #3 on: April 29, 2007, 05:53:13 PM »
Nope, there is no accurate way to do it with php.  I've seen it with other languages, unfortunately not php.

Anyways, these days, attachments for the most part upload in seconds, so the progress bar would go at some speed.

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
Re: Attachments Upload Progress Bar !! ...
« Reply #4 on: April 29, 2007, 06:08:23 PM »
:(

Thanks guys ! ...

SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,576
  • Gender: Male
    • Mortons Solicitors
Re: Attachments Upload Progress Bar !! ...
« Reply #5 on: August 29, 2007, 04:53:06 PM »
Just a bit of an update.

In future this maybe possible, but it requires PHP5.2 at least

5.2 added support so it maybe possible to then write an upload progress bar
http://blog.liip.ch/archive/2006/09/28/

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
Re: Attachments Upload Progress Bar !! ...
« Reply #6 on: August 29, 2007, 09:40:37 PM »
 :o

Wow !!
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline shadow82x

  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 10,508
  • Gender: Male
    • mcblaber on LinkedIn
    • @shadow82x on Twitter
    • AvatarPrime
Re: Attachments Upload Progress Bar !! ...
« Reply #7 on: August 29, 2007, 09:41:40 PM »
Just a bit of an update.

In future this maybe possible, but it requires PHP5.2 at least

5.2 added support so it maybe possible to then write an upload progress bar
http://blog.liip.ch/archive/2006/09/28/
Seems like a pretty handy mod IMO.  But how are other software able to support lower versions with that. Example: IPB ???
M. Colin Blaber
SMF Support Specialist

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
Re: Attachments Upload Progress Bar !! ...
« Reply #8 on: August 29, 2007, 09:45:25 PM »
There is a patch available for PHP 4.4 and 5.0, which made it nevertheless possible, but some php core files itself needed to be patched for that.

Some ideas ?
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline nitins60

  • Sr. Member
  • ****
  • Posts: 838
  • Gender: Male
  • LoVE mAKeS lIFe bEauTIfUL
    • Simple Mobile Forum - SMF
Re: Attachments Upload Progress Bar !! ...
« Reply #9 on: August 29, 2007, 09:53:07 PM »
@kalberson, why don't you write a mod for showing a bar which says atleast attachment s getting uploaded (proba using ajax)!! Many hosts are getting upgraded to php5 as php4 support s completly closed officially @php.net!!

Offline shadow82x

  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 10,508
  • Gender: Male
    • mcblaber on LinkedIn
    • @shadow82x on Twitter
    • AvatarPrime
Re: Attachments Upload Progress Bar !! ...
« Reply #10 on: August 29, 2007, 09:59:53 PM »
@kalberson, why don't you write a mod for showing a bar which says atleast attachment s getting uploaded (proba using ajax)!! Many hosts are getting upgraded to php5 as php4 support s completly closed officially @php.net!!

Just a bit of an update.

In future this maybe possible, but it requires PHP5.2 at least

5.2 added support so it maybe possible to then write an upload progress bar
http://blog.liip.ch/archive/2006/09/28/
Thats not php4 is it? I think an overall attachment redo would be nice for SMF. Where you an upload attachments in posts loading bar for attachments.. ect. A lot of hosts may support PHP5 but not 5.2.
M. Colin Blaber
SMF Support Specialist

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,576
  • Gender: Male
    • Mortons Solicitors
Re: Attachments Upload Progress Bar !! ...
« Reply #11 on: August 29, 2007, 10:07:41 PM »
@diegolyanky is correct.  (and on that page it states) there is a patch for 4.4 upwards. But you need to alter the core files and stuff (only for the realgeeks and heavy techies)

@nitins60, ajax isnt my forte. And i've already got far too much on my plater at the moment.

@ shadow82x, nope this thing requires PHP5.2 MINIMUM (I only have access to 5.1.8 on my server). So its pointless for me yet.

I just raised this in the topic because these are the things we need to be looking towards.
Also got me thinking about SHA1 being broken. (PHP5 addeds SHA256 and others via a new hash function)

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
Re: Attachments Upload Progress Bar !! ...
« Reply #12 on: August 30, 2007, 11:58:02 AM »
I'll try to make a mod ...

Send me luck :D
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
Re: Attachments Upload Progress Bar !! ...
« Reply #13 on: September 09, 2007, 11:14:47 PM »
I can't ... I don't understand what method use SMF for upload files ...

Please ... Give me a hand with this !!

Thanks !
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline diegolyanky

  • Jr. Member
  • **
  • Posts: 228
  • Gender: Male
Re: Attachments Upload Progress Bar !! ...
« Reply #14 on: September 09, 2007, 11:18:15 PM »
If anybody can make a mod that work on SMF 1.1.3 I can Pay $$$ for it ...

Any volunteer ???
SMF ... SimpleMachines ... Simple, but complete if you want it ;)

Offline nitins60

  • Sr. Member
  • ****
  • Posts: 838
  • Gender: Male
  • LoVE mAKeS lIFe bEauTIfUL
    • Simple Mobile Forum - SMF
Re: Attachments Upload Progress Bar !! ...
« Reply #15 on: September 10, 2007, 08:13:45 AM »
you may PM DIN1031.
he is expert in handling Attachments

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,576
  • Gender: Male
    • Mortons Solicitors
Re: Attachments Upload Progress Bar !! ...
« Reply #16 on: September 17, 2007, 05:46:21 PM »
I've had another look at this.

Its definately out of my league.

However some interesting/useful links for anyone following, maybe interested in
http://uk2.php.net/apc
http://blog.liip.ch/archive/2006/09/28/upload-progress-meter-extension-for-php-5-2.html
http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26389,nodeid,5.html

Offline littlenicki

  • Jr. Member
  • **
  • Posts: 115
Re: Attachments Upload Progress Bar !! ...
« Reply #17 on: June 27, 2012, 11:01:15 AM »
Any news on this?

Offline Nibogo

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,433
  • Gender: Male
    • smfpacks on Facebook
    • @smfpacks on Twitter
    • SMFPacks
Re: Attachments Upload Progress Bar !! ...
« Reply #18 on: July 22, 2012, 10:21:20 PM »
For those interested there's one available here: http://www.smfpacks.com/page/sa=au