Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Easier way of uploading files

 
post Jun 8 2011, 20:54
Post #1
Jo.To



The Amount of Fucks I Give: 0
******
Group: Gold Star Club
Posts: 957
Joined: 22-May 09
Level 108 (Expert)


When you upload stuff in the Gallery Uploader and Upload, the little icon changes to what appear is a 'Now Loading' thing in your tab, and nothing else. Wouldn't there be an easier way of showing progress of your files (files uploaded, time remaining, etc.)? Also, a batch file upload would be nice for people who don't like uploading 1 image per box, although we do have a choice of zip/rar uploading, but just saying.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 8 2011, 21:28
Post #2
Dlaglacz



Retired Galleries Maintenance Drone
**********
Group: Catgirl Camarilla
Posts: 7,899
Joined: 6-March 08
Level 156 (Lord)


It was contemplated a year or two ago, but was deemed unfeasible. Perhaps the conditions have changed, things like HTML5 etc...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 8 2011, 22:09
Post #3
Jo.To



The Amount of Fucks I Give: 0
******
Group: Gold Star Club
Posts: 957
Joined: 22-May 09
Level 108 (Expert)


dunno about HTML5...perhaps through java/ajax?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 8 2011, 23:01
Post #4
Rikis



Bringer of Light
********
Group: Gold Star Club
Posts: 3,680
Joined: 7-July 09
Level 500 (Godslayer)


Huh? Java?
Javascript should be able use only browser features, not to upload files somethere.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 9 2011, 01:24
Post #5
SneakyGray



Casual Poster
****
Group: Gold Star Club
Posts: 381
Joined: 21-May 11
Level 500 (Godslayer)


I agree, a time estimation would be great for people with terrible upload speed, like me.

It would also be nice to regulate your upload speed. Let's say i have a upload-speed of 45kb/s. 10mb take me around 5minutes, but in those 5minutes i can't do anything else because the upload slows down the browser. If i could crank the upload down from 45 to 40, it might speed things up.
Or am i under a misconception? It works that way with torrents,

uploading at full speed = can't really do anything on the net
i limit the uploading to 40 = everything works fine.

Y/N?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 9 2011, 02:18
Post #6
Hobbitmon



Casual Toaster
****
Group: Catgirl Camarilla
Posts: 339
Joined: 22-February 09
Level 458 (Godslayer)


QUOTE(SneakyGray @ Jun 8 2011, 18:24) *

Y/N?


[www.netlimiter.com] http://www.netlimiter.com/
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 9 2011, 02:21
Post #7
SneakyGray



Casual Poster
****
Group: Gold Star Club
Posts: 381
Joined: 21-May 11
Level 500 (Godslayer)


QUOTE(Hobbitmon @ Jun 9 2011, 02:18) *

[www.netlimiter.com] http://www.netlimiter.com/


ah thank you very much.
I wasn't aware that such a program exists.

Still though, the time estimation is a good idea.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 9 2011, 03:48
Post #8
Hairs Fan



Women body fetishist
******
Group: Members
Posts: 859
Joined: 15-September 08
Level 219 (Ascended)


If you use Firefox with the Greasemonkey addon, you can try [hfan.byethost16.com] that script to show a progress bar when uploading (not too large) files to the gallery system. Also, there exists [addons.mozilla.org] an addon for FF that is expected to show the progress of any upload, but it didn't work last time I tried (hence the GM script creation).

[Updates]
  • Added FF4 support.
  • Fixed a problem with non-ASCII file names.
  • Added a checkbox to disable the script.
  • Added fjords support.


This post has been edited by Hairs' Fan: Jun 10 2011, 01:22
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 9 2011, 04:19
Post #9
SneakyGray



Casual Poster
****
Group: Gold Star Club
Posts: 381
Joined: 21-May 11
Level 500 (Godslayer)


The GM script doesn't seem to work with me, propably a FF5b issue? Any other ff5b users with the script got similiar problems?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 9 2011, 05:58
Post #10
Hairs Fan



Women body fetishist
******
Group: Members
Posts: 859
Joined: 15-September 08
Level 219 (Ascended)


Sorry about that, I only tested it with FF3.6 (FF4 doesn't work well for me). I updated [hfan.byethost16.com] the script so that it should work with FF4.

This post has been edited by Hairs' Fan: Jun 10 2011, 01:22
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 9 2011, 06:00
Post #11
SneakyGray



Casual Poster
****
Group: Gold Star Club
Posts: 381
Joined: 21-May 11
Level 500 (Godslayer)


Thanks for that, i'll test it later and let you know how it works out.

edit : still doesn't work on ff5b, kinda weird. Well for now, i can live without the script, thanks all the same

This post has been edited by SneakyGray: Jun 9 2011, 12:58
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 12 2011, 03:20
Post #12
SneakyGray



Casual Poster
****
Group: Gold Star Club
Posts: 381
Joined: 21-May 11
Level 500 (Godslayer)


so i finally got around checking out the error console. Here's what i get :

class is a reserved identifier on line 15.

looking into the code, it's this line :

CODE

function gclass(class, el) {return getel(el).getElementsByClassName(class);}



somehow the function seems to be fucked up, and i with my amateur-coding skills am stumped (especially since i never touched js). I somehow have the feeling that there's a easy way to solve it :/
Simply disabling the line fucks up the UI badly on the upload-page, but at least it does something and doesn't stay the same.

and btw, disabling other add-ons doesn't work either. ad-block was off the whole time.

Anyone wnat to give me a clue? I like mysteries.

This post has been edited by SneakyGray: Jun 12 2011, 03:22
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 12 2011, 20:16
Post #13
Hairs Fan



Women body fetishist
******
Group: Members
Posts: 859
Joined: 15-September 08
Level 219 (Ascended)


I didn't know "class" was a reserved JS keyword (especially since it's not used). You can fix the code that way:
CODE
function gclass(className, el) {return getel(el).getElementsByClassName(className);}

BTW, I put the (fixed) script in the (not really) official GM scripts repository ([userscripts.org] here).
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 12 2011, 20:33
Post #14
SneakyGray



Casual Poster
****
Group: Gold Star Club
Posts: 381
Joined: 21-May 11
Level 500 (Godslayer)


Now things are starting to get weird, you remember in my last post how i said removing the line causes the ui to scramble? Well it's the same now. here a picture :

[img853.imageshack.us] Click me and stuff

by now i doubt it is worth all the hassle.

The error console stays silent, no error or warnings. I think this might be a FF5b only issue, i'll reinstall later FF4 later and confirm that.

edit : yeah, i'm a dumbass. it says right there userscripts.org
"Warning : does not work with FF5.

So nevermind. Now to decide : upload bar, or a bit more speed + stable HVerse?

This post has been edited by SneakyGray: Jun 12 2011, 20:37
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 12 2011, 20:51
Post #15
Hairs Fan



Women body fetishist
******
Group: Members
Posts: 859
Joined: 15-September 08
Level 219 (Ascended)


Try to reduce the width value at line #322 until the page layout is better:
CODE
    border.style.width = '58px';

As for the warning on userscripts, I added it because of your first answer, so it doesn't really mean it won't work on FF5 (IMG:[invalid] style_emoticons/default/smile.gif)

Also, note that it doesn't bother me to try to make the script work with FF5.

This post has been edited by Hairs' Fan: Jun 12 2011, 20:55
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 12 2011, 21:00
Post #16
SneakyGray



Casual Poster
****
Group: Gold Star Club
Posts: 381
Joined: 21-May 11
Level 500 (Godslayer)


Yes it works now, no error or warnings this time either. changing it to '28px' is the way to go.

Thanks for your time and patience (IMG:[invalid] style_emoticons/default/biggrin.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 12 2011, 21:35
Post #17
Hairs Fan



Women body fetishist
******
Group: Members
Posts: 859
Joined: 15-September 08
Level 219 (Ascended)


I updated the script so that it will choose the bar width dynamically. Thanks for your feedback.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 18 2011, 19:59
Post #18
Jo.To



The Amount of Fucks I Give: 0
******
Group: Gold Star Club
Posts: 957
Joined: 22-May 09
Level 108 (Expert)


this is a Firefox only script. It probably won't work with other GM-compatible browsers.

well, so much for seamonkey and flock...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jun 18 2011, 22:43
Post #19
Lolicon_of_Sin



I rek all u cheeky cunts I swear on me mum
********
Group: Members
Posts: 4,328
Joined: 26-July 09
Level 48 (Artisan)


QUOTE(Rikis @ Jun 8 2011, 23:01) *

Huh? Java?
Javascript should be able use only browser features, not to upload files somethere.

Ajax sez no.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 14th July 2025 - 13:16