Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 20, 2009, 10:59:25 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Maintenance release cpg1.4.25 - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix an issue with http uploads that could occur in particular versions of PHP.The fix is not security-critical, so if your gallery is running fine with cpg1.4.23 or cpg1.4.24 you don't need to upgrade. If you are running an older version than cpg1.4.23, you must update to this latest version as soon as possible because of the security impact (the past few maintenance releases before cpg1.4.24 all were security-related).
[more]
   Home   Help Search Board rules Login Register  
Pages: [1] 2 3 4 5   Go Down
  Print  
Author Topic: New Theme: Kubrick  (Read 42309 times)
0 Members and 1 Guest are viewing this topic.
pnear Topic starter
Contributor
***
Posts: 35


WWW
« on: January 10, 2005, 03:37:47 am »

If you're a fan of hacked together code, then this is the theme for you!  My first attempt at a Coppermine theme, and I must admit I had some difficulty porting a CSS-only theme (Kubrick for Wordpress) into the massively table-based structure of Coppermine. 

If you're CSS-savvy, I'd appreciate your feedback and modifications.

Ported from:  http://www.binarybonsai.com/kubrick
Demo/dev version here:  http://www.thenears.com/coppermine/index.php?theme=kubrick
Based on the hardwired coppermine theme

Zip attached

* kubrick.zip (86.74 KB - downloaded 1240 times.)
« Last Edit: June 06, 2006, 12:18:24 am by Paver » Logged
west4me
Coppermine novice
*
Posts: 20


« Reply #1 on: January 10, 2005, 03:40:16 am »

Nice Job! I use a hacked version of Kubrick for my Wordpress site. I may be able to apply my changes to yours. I'll have a look.
Logged
kegobeer
Dev Team member
****
Gender: Male
Posts: 4637


Beer - it does a body good!


WWW
« Reply #2 on: January 10, 2005, 03:46:37 am »

Looks nice.  You might want to add a link that takes you back to index.php.  When I navigated to 1999 and earlier, the only way to return to the main index was to hit the back button.  Themes normally use the logo as a link back to index.php.
Logged

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
pnear Topic starter
Contributor
***
Posts: 35


WWW
« Reply #3 on: January 10, 2005, 04:50:16 am »

Thanks for the feedback, I'll link the gallery title in the next version.
Logged
Tarique Sani
Dev Team member
****
Gender: Male
Posts: 2710



WWW
« Reply #4 on: January 10, 2005, 04:57:54 am »

Almost all Wordpress themes can be adapted for coppermine by just changing the CSS in Reynolds or 2bornot2b themes
Logged

SANIsoft PHP applications for E Biz
pnear Topic starter
Contributor
***
Posts: 35


WWW
« Reply #5 on: January 10, 2005, 05:06:05 am »

Sigh....  that would've saved about a day's worth of effort I imagine.  Next time I'm bored I'll take a look at those and see if it's worthwhile to change the base.  Not happy with some of the hacks in there right now that were necessary to make it work.  It's somewhat ugly under the covers.

Pete
Logged
Joachim Müller
Administrator
*****
Gender: Male
Germany Germany

Posts: 45046


aka "GauGau"


WWW
« Reply #6 on: January 10, 2005, 09:36:48 am »

Thanks for the contribution - very nice theme.

Demo - Download

Joachim

P.S. The frontpage folders within your zip file are not needed, I removed them from the package
Logged
pnear Topic starter
Contributor
***
Posts: 35


WWW
« Reply #7 on: January 10, 2005, 02:57:24 pm »

Hah, so they snuck in there did they?

Yet another reason I'm redoing my entire website with Wordpress - pesky frontpage extensions insert themselves everywhere even when they're not invited!!

Thanks for packaging, I' should have a new versio for you in about a week with all yet-to-be discovered issues corrected.

Pete
Logged
saltydog4791
Coppermine newbie

Posts: 1


« Reply #8 on: January 10, 2005, 11:39:52 pm »

WOW.  This is very cool.  I have just recently set up wordpress using a nightly build from a couple of days ago which uses kubrick as the default theme.  I also have gallery running on my site, but now that I look at this....  I would love to take a stab at coppermine in exactly this way.  I think it would be great to fully integrate it with my blog.  I downloaded your archive but there is no readme and I am a complete newb when it comes to hacking php, etc.  Could some of you steer me in the right direction?  Keep in mind that I don't even have coppermine at all right now.  My host only gave me one mysql db so I would have to pay for another one.  Want to make sure I can do this before paying for another one.  Thanks a lot and I look forward to hearing from you guys.

saltydog
Logged
pnear Topic starter
Contributor
***
Posts: 35


WWW
« Reply #9 on: January 11, 2005, 12:42:01 am »

Installing the theme is easy once coppermine is set up - just drop the files in the zip into your "themes" directory.

Lots of help avaiilable on the boards here and in the documentation on setting things up.  You should be able to point coppermine to your existing database, it really only needs to be able to create its own tables in that db (which are prefixed cpg_ so they shouldn't conflict with the other tables).

Pete
Logged
DeadKenny
Coppermine novice
*
Gender: Male
Posts: 40


« Reply #10 on: January 14, 2005, 03:54:13 pm »

Excellent stuff. I've just installed WordPress and came across the Kubrick theme and love it. Thought I'd look for any Coppermine integration with WordPress, and here's a Kubrick theme!!

 Grin


Quick question though...

How can I make the page wider? My intermediate images default to 800 pixels wide at most and it messes up the page a bit.
« Last Edit: January 14, 2005, 04:04:26 pm by DeadKenny » Logged
pnear Topic starter
Contributor
***
Posts: 35


WWW
« Reply #11 on: January 14, 2005, 04:10:37 pm »

How can I make the page wider? My intermediate images default to 800 pixels wide at most and it messes up the page a bit.

Can't happen, the kubrick theme is set at 760 pixels in width, with margins bringing that inwards quite a bit.  I'd recommend that you change the intermediate picture table size to 450.  If you need full screen-width you might want to look at another theme.  Reynolds might fit weill if you tweak the colours a bit.

Pete
Logged
pnear Topic starter
Contributor
***
Posts: 35


WWW
« Reply #12 on: January 14, 2005, 04:15:49 pm »

New version available (attached), a few updates including a hyperlinked title.  This is now officially an english-focused theme, language translations might look wierd in a few spots where I wasn't able to call the appropriate text replacement tags.



Pete

* kubrick.zip (73.47 KB - downloaded 479 times.)
Logged
DeadKenny
Coppermine novice
*
Gender: Male
Posts: 40


« Reply #13 on: January 14, 2005, 04:46:13 pm »

How can I make the page wider? My intermediate images default to 800 pixels wide at most and it messes up the page a bit.

Can't happen, the kubrick theme is set at 760 pixels in width, with margins bringing that inwards quite a bit.  I'd recommend that you change the intermediate picture table size to 450.  If you need full screen-width you might want to look at another theme.  Reynolds might fit weill if you tweak the colours a bit.
That's okay, they work okay resized to 600 pixels wide which will do. I tend to like bigger intermediates as it brings out more detail and not everyone clicks on the image for the full size, plus I post them on other forums and they tend to use bigger pics (which are 1504 wide, and that's half the size of the actual photo from the camera! Cheesy). What I really need to do is make a script that will create a second resized set of pics suitable for posting elsewhere.
Logged
DeadKenny
Coppermine novice
*
Gender: Male
Posts: 40


« Reply #14 on: February 05, 2005, 02:13:25 pm »

I've got a problem with this theme. Clicking on the intermediate photo doesn't bring up the full size image any more.

At least I assume it's the theme as it worked before I changed to it. That said I've had problems before with many Coppermine sites where sometimes the full size link doesn't work for no good reason.

Edit: Could be this problem related to Norton Internet Security: http://forum.coppermine-gallery.net/index.php?topic=13830.0
« Last Edit: February 05, 2005, 02:30:47 pm by DeadKenny » Logged
snork13
Contributor
***
Gender: Male
Posts: 260


Internet! Is that thing still around?


WWW
« Reply #15 on: February 05, 2005, 03:25:35 pm »

Nice work on the theme. I like the layout alot, I can will change some css if needed.

snork
Logged
g4scott
Coppermine newbie

Posts: 4


« Reply #16 on: February 05, 2005, 09:41:08 pm »

I love the layout of this theme, but i was wondering if there was a way to change the main blue color to something else...
Logged
kegobeer
Dev Team member
****
Gender: Male
Posts: 4637


Beer - it does a body good!


WWW
« Reply #17 on: February 06, 2005, 12:16:06 am »

If you're talking about the blue color behind "The Nears", it can't be changed via CSS.  It's a JPEG, so you'll have to make your own to match the size and shape.

You could always do this trick, or this trick.  That would allow you to resize the shape to whatever you want, and not be stuck with one huge block.
Logged

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
unforgivendown
Coppermine newbie

Posts: 2


« Reply #18 on: February 09, 2005, 12:21:14 am »

Is there any way (I imagine there is) to change the color of the text in the gallery name and the description text right below it?  I'm having a terrible time with this code.  To give a better description, it's the white text on the blue gradient at the top of the page of coppermine running the kubrick theme.  Any help would be greatly appreciated!
Logged
TranzNDance
Dev Team member
****
Gender: Female
United States United States

Posts: 6138



WWW
« Reply #19 on: February 09, 2005, 01:13:40 am »

In the template.html file in the folder of your theme. Look for the following tokens:
{GAL_DESCRIPTION} {GAL_NAME}

You can format them just like any other text, but just keep the token intact with the brackets.
Logged

Pages: [1] 2 3 4 5   Go Up
  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.09 seconds with 18 queries.