forum.coppermine-gallery.net

Support => cpg1.4 themes/skins/templates => cpg1.4.x Support => Older/other versions => cpg1.4 theme contributions => Topic started by: DaMysterious on January 04, 2007, 12:51:10 pm

Title: Theme "DM-Random" for cpg1.4.x
Post by: DaMysterious 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.
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Joachim Müller on January 05, 2007, 10:09:00 am
Demo (http://coppermine-gallery.net/demo/cpg14x/index.php?theme=dm_random) - Download (http://downloads.sourceforge.net/coppermine/cpg1.4.x_theme_dm_random.zip)
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Davide Renda 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!
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Linn 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...
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Nibbler on February 11, 2007, 10:45:54 pm
Post a link.
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Linn on February 11, 2007, 11:13:09 pm
www.crestfallensoul.com/gallery
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: killercrossfire 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...
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: milohuang 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?
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Sami on August 20, 2007, 06:35:36 am
Remove theme_html_picture() function from theme.php
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: milohuang 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??
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Sami on August 20, 2007, 07:24:08 am
Yes , you didn't remove that function completely , you should delete lines from #260 ~#433
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: milohuang on August 20, 2007, 09:41:52 am
Oh~~That's great~~Again~~Thank you very much~~

Nice work~~
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Hein Traag 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
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: darkpollo 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.



Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: darkpollo 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
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: umelfahem 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?
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Joachim Müller 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.
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: nikkidev 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.
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: Nibbler 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.
Title: Re: Theme "DM-Random" for cpg1.4.x
Post by: nikkidev on January 28, 2009, 10:20:31 pm
Thanks, it's working now. Had to change the clsid code as well