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: Theme "DM-Random" for cpg1.4.x  (Read 26308 times)

0 Members and 1 Guest are viewing this topic.

DaMysterious

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 404
  • My CPG Recources
    • My CPG Recources
Theme "DM-Random" for cpg1.4.x
« on: January 04, 2007, 12:51:10 pm »

Another design "DM-Random" is available for use with CPG 1.4.x.

I messed around with a minimalistic theme using random headers (10 enclosed in folder /images/random/), vertical filmstrip and picture pop-up using lightbox.js . :P.

The archive holds a blank header graphic as random.psd under "/images/random/" if you like to change the header pictures.
You can put pictures with extensions .jpg, .jpeg, .gif and .png (size max 810x120 pixels) in folder /images/random/ (you can add as much as you like) all pictures will be aquired automatically to themes header.
« Last Edit: February 08, 2015, 04:03:58 pm by DaMysterious »
Logged
DaMysterious.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Theme "DM-Random" for cpg1.4.x
« Reply #1 on: January 05, 2007, 10:09:00 am »

Logged

Davide Renda

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1427
  • aka "Lontano"
    • www.daviderenda.eu
Re: Theme "DM-Random" for cpg1.4.x
« Reply #2 on: January 05, 2007, 12:58:50 pm »

This one is absolutely great, it gives great opportunity to be personalised and adapted!
I think I'll some work this weekend to fit it to my gallery, change its colours, images, etc etc!!!
Thank You, pal! Nice work!

Linn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Theme "DM-Random" for cpg1.4.x
« Reply #3 on: February 11, 2007, 10:27:33 pm »

I uploaded the style to my gallery but the header won't work. I uploaded the whole folder without any changes made to it...
Logged

Nibbler

  • Guest
Re: Theme "DM-Random" for cpg1.4.x
« Reply #4 on: February 11, 2007, 10:45:54 pm »

Post a link.
Logged

Linn

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Theme "DM-Random" for cpg1.4.x
« Reply #5 on: February 11, 2007, 11:13:09 pm »

Logged

killercrossfire

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Theme "DM-Random" for cpg1.4.x
« Reply #6 on: May 05, 2007, 08:38:40 pm »

Umm just outta interest, great theme btw...
How do i change the banners, ive kept the same name, havent changed any of teh PHP script, Havent changed the file type.. ive just changed the acctual image.
but the images still come up as the orignals do...
Logged

milohuang

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Theme "DM-Random" for cpg1.4.x
« Reply #7 on: August 20, 2007, 05:52:27 am »

The theme is great!!  But what can I do if I want to disable the lightbox function?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Theme "DM-Random" for cpg1.4.x
« Reply #8 on: August 20, 2007, 06:35:36 am »

Remove theme_html_picture() function from theme.php
Logged
‍I don't answer to PM with support question
Please post your issue to related board

milohuang

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Theme "DM-Random" for cpg1.4.x
« Reply #9 on: August 20, 2007, 07:12:24 am »

Thanks~~

I deleted:
Code: [Select]
function theme_html_picture()
{
    global $CONFIG, $CURRENT_PIC_DATA, $CURRENT_ALBUM_DATA, $USER;
    global $album, $comment_date_fmt, $template_display_media;
    global $lang_display_image_php, $lang_picinfo;

    $pid = $CURRENT_PIC_DATA['pid'];
    $pic_title = '';

    if (!isset($USER['liv']) || !is_array($USER['liv'])) {
        $USER['liv'] = array();
    }

however, it returns:

Parse error: syntax error, unexpected '}' in *(path)*themes/dm_random/theme.php on line 422

Is there something more that I need to do??
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Theme "DM-Random" for cpg1.4.x
« Reply #10 on: August 20, 2007, 07:24:08 am »

Yes , you didn't remove that function completely , you should delete lines from #260 ~#433
Logged
‍I don't answer to PM with support question
Please post your issue to related board

milohuang

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Theme "DM-Random" for cpg1.4.x
« Reply #11 on: August 20, 2007, 09:41:52 am »

Oh~~That's great~~Again~~Thank you very much~~

Nice work~~
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Theme "DM-Random" for cpg1.4.x
« Reply #12 on: August 20, 2007, 02:02:59 pm »

DM. Thanks for a wonderfull theme. I especially like the header logo which changes everytime at random. Excellent work.

I do have one question though. Not sure if it would be possible but here goes.

Would it be possible to adjust the random header so you can set from which album it picks its random headers and displays the pictures within the 810X120 frame (centered). Or would that take up to much bandwidth ?

Cheers
Hein
Logged

darkpollo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Re: Theme "DM-Random" for cpg1.4.x
« Reply #13 on: December 07, 2007, 01:14:08 am »

I have a problem with this theme.
I have installed it in a new instalation with the Modpack.
I modify the theme template and the css to work with the modpack, but now something is not working.
I make all those changes into the theme:
http://forum.coppermine-gallery.net/index.php?topic=34905.0

When i look into a new image it shows the original one (too much big) instead of shows the normal_image that fit inside the image view.

I upload the same view with andreas09 theme and yours.

It is a great theme, i would like to use it... :P
Thanks.



Logged

darkpollo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Re: Theme "DM-Random" for cpg1.4.x
« Reply #14 on: December 09, 2007, 01:12:15 pm »

I solved it changing all the lightbox code from the theme using the one found in this forum:

http://forum.coppermine-gallery.net/index.php?topic=35539.0

Thanks :D
Logged

umelfahem

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Theme "DM-Random" for cpg1.4.x
« Reply #15 on: June 09, 2008, 12:52:53 am »

hello,
thankx for this theme, its very nice. why the media (mp3, wma, wmv) dosnt work with IE but with Firefox they work?
and i have a question how can i add google adsense at left or right?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Theme "DM-Random" for cpg1.4.x
« Reply #16 on: June 09, 2008, 07:56:48 am »

Both your questions are not related to this theme announcement thread. Start a new thread for each of your questions on the corresponding support boards, supplying a link to your gallery there for a start.
Logged

nikkidev

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Theme "DM-Random" for cpg1.4.x
« Reply #17 on: January 25, 2009, 06:06:41 pm »

My uploaded videos play fine with IE using the themes provided with Coppermine (http://www.lea.derbyshire.sch.uk/birdcam/gallery/displayimage.php?album=lastup&cat=0&pos=0). However with the DM Random theme, I can only view videos using Firefox. Is this related to this issue:
http://forum.coppermine-gallery.net/index.php/topic,31291.msg144849.html#msg144849

If so, what is it I actually need to change to make IE video viewing possible with this theme.
Logged

Nibbler

  • Guest
Re: Theme "DM-Random" for cpg1.4.x
« Reply #18 on: January 28, 2009, 09:09:12 pm »

You need to change

Code: [Select]
'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" ',
to this:

Code: [Select]
'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" ',
in the theme.php.
Logged

nikkidev

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: Theme "DM-Random" for cpg1.4.x
« Reply #19 on: January 28, 2009, 10:20:31 pm »

Thanks, it's working now. Had to change the clsid code as well
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.