|
Autor |
Nachricht |
Mike_PL
|
Titel: Proposal (status bar while uploading)
Verfasst am: Mi, 08 März 2006, 19:49 |
|
|
It can in new version "Strip of loading', when pictures is uploading?
|
|
Nach oben |
|
boris
Beiträge: 11195
|
Titel: Re: Proposal
Verfasst am: Mi, 08 März 2006, 20:49 |
|
|
Mike_PL @ Mi, 08 März 2006, 18:49 gab folgendes von sich: |
It can in new version "Strip of loading', when pictures is uploading? |
You mean a progress bar of the upload, something like this ???
This is NOT possible with PHP (the programming language of phpBB and UploadPic) alone as the website takes control over the upload so the script (UploadPic) only knows when the upload is finished but can not determine how much has been uploaded yet !
There is a solution for PHP, but it has to work together with another programming language, which opens a popup and takes control to check how big the file is before it is uploaded and how fast the connection is. But this feature is probably as big as UploadPic itself and not worth the effort just for a status bar. Also, you will have to install a program on your server to get this working and 99% of all users won't be able to do this.
I guess there's more solutions like Java Applets etc., but all of those can do more harm than good (not talking about the effort to install it) so I guess we'll have to stick with the current version.
Even this (a "moving" bar, that does not show you the progress, it just moves) is NOT possible with PHP only
EDIT:
that point about the "moving bar" was obviously wrong and is now implemented
____________ beehave - home of humbug ... [we can't afford to be neutral]
Zuletzt bearbeitet von boris am Sa, 19 Jan 2008, 13:59, insgesamt einmal bearbeitet. (1 Prozent)
|
|
Nach oben |
|
karstenkurt
|
|
Nach oben |
|
boris
Beiträge: 11195
|
Titel: (Kein Titel)
Verfasst am: Mi, 08 März 2006, 23:39 |
|
|
karstenkurt @ Mi, 08 März 2006, 22:27 gab folgendes von sich: |
Schau Dir mal den Code von desem Mod an |
Das ist etwas völlig anderes:
In dem "Rebuild Search MOD" werden Datenbankabfragen ausgeführt, ich weiß also vorher, wieviele ich ausführen werde und kann nach jeder einzelnen Abfrage andere Funktionen ausführen lassen (wie z.B. den Statusbalken aktualisieren).
Beim Dateiupload weiß ich vorher nicht, wieviele Daten kommen werden und (noch wichtiger): sobald der Upload gestartet wird, "friert" das Skript ein und läuft erst weiter, wenn der Upload beendet ist, dazwischen kann das Skript also noch nicht mal einen Statusbalken aktualisieren (oder Kaffee trinken oder irgendwas anderes).
____________ beehave - home of humbug ... [we can't afford to be neutral]
|
|
Nach oben |
|
Mike_PL
|
Titel: (Kein Titel)
Verfasst am: Sa, 25 März 2006, 13:06 |
|
|
Zitat: |
Even this (a "moving" bar, that does not show you the progress, it just moves): |
And great When new version?
|
|
Nach oben |
|
boris
Beiträge: 11195
|
Titel: (Kein Titel)
Verfasst am: Sa, 25 März 2006, 13:27 |
|
|
Mike_PL @ Sa, 25 März 2006, 12:06 gab folgendes von sich: |
And great When new version? |
I added you to the "UploadPic"-group so you get an eMail when a new version is available.
____________ beehave - home of humbug ... [we can't afford to be neutral]
|
|
Nach oben |
|
|
|
ähnliche Beiträge |
|
Schreiben: nein. Antworten: nein. Bearbeiten: nein. Löschen: nein. Umfragen: nein.
|