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: Anyone want to help me bring Coppermine into 2014?  (Read 6483 times)

0 Members and 1 Guest are viewing this topic.

baloneysandwiches

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Anyone want to help me bring Coppermine into 2014?
« on: October 03, 2013, 01:45:13 am »

I would potentially be interested in designing an all-purpose touch-friendly theme (open-source, of course) for the community, using modern, lean class-based selectors, responsive design principles, with keyboard accessibility, targeting IE8+. The web has changed a lot in the past three years, and this project has to evolve to the mobile/touch environment or it's ultimately going to wither. Being sensitive to the developing world no longer means catering to IE6. Two billion people are going online in the next two years, and they're going to be on phones running standards-based browsers.

Coppermine's functionality is mostly there already, which is truly impressive. But the markup and CSS is pretty.... rough... With the news today that IE6 is now less than 5% of market share, it's now officially time to move on from some of these design patterns. I mean, hey… jQuery 1.3? really?

The biggest obstacle to modernization that I see is that a lot of the markup doesn't even supply class names. There are major page elements sitting in unclassed divs. There are anchor links that should really be marked up as buttons, because they don't point to an external page. And the class names that do exist are often bafflingly unsemantic. The "curve" theme (best of the bunch, so far, IMHO) uses way too many id's, creating an arms race of selector-specificity that makes author styling a pain. Last, but not least, there just way, way too many tables.

Digging into this fully would require the help of someone who understands the PHP templating structure of the project better than a new arrival like myself. If someone on the team is interested in going through with me and re-classing the markup structure in a couple dozen places, I could be interested in a writing a clean, responsive theme.

Thanks for reading.
Logged

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 244
Re: Anyone want to help me bring Coppermine into 2014?
« Reply #1 on: October 03, 2013, 08:12:16 am »

I can't directly help you out, but /support!

Coppermine is so outdated. 
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Anyone want to help me bring Coppermine into 2014?
« Reply #2 on: October 04, 2013, 10:21:31 am »

I assume everybody supports this feature request, unfortunately this is probably a quite huge job. However, we're currently just a very small team, consisting of volunteers who maintains this project in their spare time. So if anybody is able and interested to rebuilt the theme engine, we're all ears.
Logged

astrasuite

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Anyone want to help me bring Coppermine into 2014?
« Reply #3 on: October 04, 2013, 11:02:29 am »

Same, full support :)  I'd like to have less tables too ... or css ones, and so on.

Nice to know though that the current Coppermine version is still very good, really works for our needs, even on smartphones.  And we find that new is not always better. 

Like Nextgen on Wordpress is probably the most popular gallery there with over a million downloads.  We used it for a few years (together with Coppermine on our non-Wordpress application), and when they upgraded their program this year, we decided to move everything to good old Coppermine where we have more control and less dependence.  We then used a modified cpmfetch to fetch images into Wordpress.  Perfect, eliminated the Nextgen bloat on our Wordpress application, fast, and with more customized features like fetching only a group of images from a Coppermine gallery, or fetching non-private images.  This cpmfetch app is great.

We did have to modify some Coppermine stuff to fit our needs, like totally eradicating duplicate titles and descriptions to appease Google Webmaster, etc.  Coppermine is still serving us well ...

As Andre noted, though, it seems like a huge task, but it would be good  ... we can help as beta testers :)
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4817
    • Windsurf.me
Re: Anyone want to help me bring Coppermine into 2014?
« Reply #4 on: October 04, 2013, 08:00:08 pm »

Of course, I support it fully, but as Andre says, it is a big job for a small team. I would love to use the Twitter bootstrap and base the engine on that. It is fully touch device ready and would make it very easy indeed for a user to create a new theme.

There is already one theme created by a user doing just that - http://forum.coppermine-gallery.net/index.php/topic,76309.0.html
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Dion

  • Contributor
  • Coppermine newbie
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 11
    • Dion Designs
Re: Anyone want to help me bring Coppermine into 2014?
« Reply #5 on: January 02, 2014, 03:55:39 am »

I mean, hey… jQuery 1.3? really?
Long-time lurker, first-time poster. With very minor changes to functions.inc.php and init.inc.php, you can load whatever version of jQuery you want into Coppermine. In functions.inc.php, find the js_include() function and comment out the following lines:

Code: [Select]
if (!file_exists($filename)) {
return;
}

And in init.inc.php, replace this line:

Code: [Select]
js_include('js/jquery-1.3.2.js');
with this line:

Code: [Select]
js_include('http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js');
You will now have the latest full-browser-support version of jQuery being loaded from Google's blinding-fast edge cache servers. This little change also opens up the door to loading any external script.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.