Upload Button Upload Button
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Upload Button

Started by anglefire, May 10, 2012, 08:39:53 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

anglefire

Hi All,

Not a problem as such - though one member can't upload from his iPad, which I'm working on, rather the upload button itself.

I'm guessing that the text in the button should go black when you select a valid album to upload files into - mine doesn't it stays grey'd out.

I thought it might be a theme setting, but it is the same on my locally installed gallery using a standard theme.

Any ideas. Not a deal breaker, but slightly irritating!

Mark
Mark
Disco3Club Admin

Αndré

I also recognized that the button color doesn't change (if I remember correctly it does sometimes). I already tried to fix that, but wasn't successful. I'm not sure why this happens, but I think it started after an update of the Flash player plugin.

anglefire

Ah, that makes sense Andre. ISTR it doesn't change on either upload version either.

I did try and make the text a different colour - but to be honest was only hacking about, and it didn't work!
Mark
Disco3Club Admin

Αndré

Quote from: anglefire on May 10, 2012, 08:57:26 PM
ISTR it doesn't change on either upload version either.
What do you mean with upload "versions"?

lurkalot

Quote from: Αndré on May 10, 2012, 08:59:36 PM
What do you mean with upload "versions"?

Andre, I think Mark is refering to both upload methods. (one at a time, and multiple upload)  By the way, not a solution, but is this related to what we discussed here? http://forum.coppermine-gallery.net/index.php/topic,74655.msg359430.html#msg359430
Running SMF 2.1.4  / Tinyportal 3.0.1, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

anglefire

Mark
Disco3Club Admin

Αndré

The "one file at a time" upload form uses a standard HTML tag for the browse button:
<input type="file" ...

For me the text is always black (tested with Firefox) and as far as I can see there's no additional styling that affects the text color. Which browser do you use? Please attach a screenshot to your next reply.

anglefire

Andre, you are correct, it is black text when in single mode - I must have remember something else  :-[

Interestingly, the single file mode allows you to select a file before selecting an album, but the flash version only allows uploads when an album has been selected. (I know this has been mentioned before)

Is there anyway of making the button text black? Or is it a re-coding exercise to suit the new flash version?
Mark
Disco3Club Admin

Αndré

Quote from: anglefire on May 11, 2012, 08:56:11 PM
Is there anyway of making the button text black?
Open js/upload.js, find
button_disabled_style = '.browse { font-family: Arial,Helvetica,sans-serif; color: #D0CFD0;}';
and replace with
button_disabled_style = '.browse { font-family: Arial,Helvetica,sans-serif;}';