Advanced search  

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]

Pages: [1]   Go Down

Author Topic: must disable Javascript in Firefox in order to type in text boxes  (Read 6096 times)

0 Members and 1 Guest are viewing this topic.

ausdlk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20

Click http://www.david-keenan.com/thumbnails.php?album=39 for an example.

If Javascript in Firefox is enabled, I cannot enter text into this password field. This has been reported by several users as well so it is not machine specific.

If I disable Javascript, the password (and all text fields in admin mode) work okay.

This problem does not appear at all when using IE.
« Last Edit: May 02, 2007, 06:30:25 pm by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: must disable Javascript in Firefox in order to type in text boxes
« Reply #1 on: April 30, 2007, 03:28:17 pm »

Upgrade - you're using cpg1.4.8, while the most recent stable release is currently cpg1.4.10. We're reluctant to look into things that may be caused by using outdated versions.
Logged

Nibbler

  • Guest
Re: must disable Javascript in Firefox in order to type in text boxes
« Reply #2 on: April 30, 2007, 05:03:36 pm »

This is caused by adding poorly coded anti-right-click scripts. Remove it and your problem will go away.
Logged

ausdlk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: must disable Javascript in Firefox in order to type in text boxes
« Reply #3 on: May 01, 2007, 08:04:26 am »

>This is caused by adding poorly coded anti-right-click scripts.

Is there such a thing a "well coded anti-right-click scripts". I want this functionality on my site.

>Upgrade - you're using cpg1.4.8

Yes, I am -- but upgrading is not an option.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: must disable Javascript in Firefox in order to type in text boxes
« Reply #4 on: May 01, 2007, 08:36:22 am »

but upgrading is not an option.
if you want some kiddie to take over you server, OK

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: must disable Javascript in Firefox in order to type in text boxes
« Reply #6 on: May 01, 2007, 10:53:48 am »

No Right-Click scripts are silly in the first place though. We're aware that there are many users who want it, but you should really take your time and read why no-right-click doesn't make sense.
Some threads:

Yes, I am -- but upgrading is not an option.
Can't see why: as Stramm suggested, it's mandatory to upgrade for security reasons. Your coppermine gallery doesn't seem to be heavily modified in terms of core functionality, so this is just laziness imo.
Logged

ausdlk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: must disable Javascript in Firefox in order to type in text boxes
« Reply #7 on: May 02, 2007, 03:42:32 pm »

Okay, okay.

I'm not convinced that disabling right-clicks is as dumb an idea as y'all say it is -- I mean, yes, there are ways around it. There are ways around just about everything if you're smart enough. My goal was to protect against the casual abuser, not the determined hacker.

But now I want to remove it and replace it with the "overlay.gif" solution.

But the embarrassing part is that I have long since forgotten where this "disable right-click" code was inserted. No amount of text searching has revealed where this code might be hiding. Maybe my local copy doesn't match the server...

Can someone smarter then me tell where to look... *blush*
Logged

Nibbler

  • Guest
Re: must disable Javascript in Firefox in order to type in text boxes
« Reply #8 on: May 02, 2007, 03:49:15 pm »

themes/project_vii/template.html
Logged

ausdlk

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: must disable Javascript in Firefox in order to type in text boxes
« Reply #9 on: May 02, 2007, 04:10:54 pm »

>themes/project_vii/template.html

Nibbler -- Thanks for the lightning response. Right-click re-enabled -- and "overlay.gif" working fine.

Now to consider the upgrade suggestion... I fear that I have 'hacked" enough of the original theme code that an upgrade would be a VERY painful process. I don't think that it is fair to call this "laziness". It just comes down to a matter of time and priorities.

But thanks again to all for your assistance.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: must disable Javascript in Firefox in order to type in text boxes
« Reply #10 on: May 02, 2007, 07:11:31 pm »

Your custom theme isn't affected by upgrading if you're doing exactly as suggested in the upgrading docs. That's why there is a theme system that allows you to modify stuff without hacking the core files.
Your initial issue is solved. We have a strict "one question per thread" policy. Marking thread as "solved". Start a new one if you have issues upgrading.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 21 queries.