Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Upload Button  (Read 4450 times)

0 Members and 1 Guest are viewing this topic.

anglefire

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 18
    • Disco3Club
Upload Button
« on: May 10, 2012, 08:39:53 am »

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
Logged
Mark
Disco3Club Admin

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Upload Button
« Reply #1 on: May 10, 2012, 09:26:00 am »

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.
Logged

anglefire

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 18
    • Disco3Club
Re: Upload Button
« Reply #2 on: May 10, 2012, 08:57:26 pm »

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!
Logged
Mark
Disco3Club Admin

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Upload Button
« Reply #3 on: May 10, 2012, 08:59:36 pm »

ISTR it doesn't change on either upload version either.
What do you mean with upload "versions"?
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Re: Upload Button
« Reply #4 on: May 10, 2012, 09:35:43 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
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

anglefire

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 18
    • Disco3Club
Re: Upload Button
« Reply #5 on: May 11, 2012, 12:18:40 am »

Mick is correct.  :)
Logged
Mark
Disco3Club Admin

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Upload Button
« Reply #6 on: May 11, 2012, 09:06:37 am »

The "one file at a time" upload form uses a standard HTML tag for the browse button:
Code: [Select]
<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.
Logged

anglefire

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 18
    • Disco3Club
Re: Upload Button
« Reply #7 on: May 11, 2012, 08:56:11 pm »

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?
Logged
Mark
Disco3Club Admin

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Upload Button
« Reply #8 on: May 15, 2012, 11:03:15 am »

Is there anyway of making the button text black?
Open js/upload.js, find
Code: [Select]
button_disabled_style = '.browse { font-family: Arial,Helvetica,sans-serif; color: #D0CFD0;}';and replace with
Code: [Select]
button_disabled_style = '.browse { font-family: Arial,Helvetica,sans-serif;}';
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.