Theme "DM-Random" for cpg1.4.x Theme "DM-Random" for cpg1.4.x
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Theme "DM-Random" for cpg1.4.x

Started by DaMysterious, January 04, 2007, 12:51:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DaMysterious

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.
DaMysterious.

Joachim Müller


Davide Renda

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

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



killercrossfire

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...

milohuang

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

Sami

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

milohuang

Thanks~~

I deleted:

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??

Sami

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

milohuang

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

Nice work~~

Hein Traag

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

darkpollo

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.




darkpollo

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

umelfahem

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?

Joachim Müller

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.

nikkidev

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.

Nibbler

You need to change

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

to this:

'codebase' => 'codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112" ',

in the theme.php.

nikkidev

Thanks, it's working now. Had to change the clsid code as well