coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: gelaskimgel on August 15, 2006, 10:32:43 PM

Title: Can someone please help me with this?
Post by: gelaskimgel on August 15, 2006, 10:32:43 PM
Hey everybody.... I really love this system, and want to use it in the future... But I'm not soo good by making themes, because I really can't understand the way Coppermine is build on  :-\ ...

Soo I have made a picture, that shows have I want to have a theme... I hope that someone will help me... I don't think that it's so difficult to make, but like a said, I'm a amature :)


Here is the preview about, how I want it to look :)

http://www.speakzone.lir.dk/1.jpg (http://www.speakzone.lir.dk/1.jpg)

Thanks
Title: Re: Can someone please help me with this?
Post by: Nibbler on August 16, 2006, 01:51:28 AM
You can do most of that with a custom template.html. Stats and picture of the day can be done, depends on what exactly you mean by them.
Title: Re: Can someone please help me with this?
Post by: gelaskimgel on August 16, 2006, 12:30:52 PM
What I mean with stats and picture of the day, is:

In the stats window, I want to see the person who is logged on user avatar. Fx if admin is log on, then there shut be: Name off Administrator, and his User Avatar.
But it its a Guest who is on the site, then there shut be: Welcome guest, and a picture where it fx show a little logo.

The picture of the day, is meant to bee desided by the administrator of the gallery, who's choicen the picture of the day... I've tried some plugins to make that happen, but it didn't work none of them ):
Title: Re: Can someone please help me with this?
Post by: gelaskimgel on August 16, 2006, 04:37:25 PM
Hey, I've now fixed the Picture of the day system.... Now I only need help for the stats system, and the design...


Anyone help?
Title: Re: Can someone please help me with this?
Post by: Nibbler on August 16, 2006, 04:45:13 PM
Zip up the folder of your custom theme and attach it here. User avatars would be a seperate mod.
Title: Re: Can someone please help me with this?
Post by: gelaskimgel on August 16, 2006, 11:11:10 PM
Nibbler what do you mean with "Zip up the folder of your custom theme and attach it here. User avatars would be a seperate mod." I don't have a theme... I need who, that looks like the picture I've uploaded here: http://www.speakzone.lir.dk/1.jpg (http://www.speakzone.lir.dk/1.jpg)
Title: Re: Can someone please help me with this?
Post by: Joachim Müller on August 17, 2006, 08:21:01 AM
You're suppossed to zip the theme you're currently using. If you're using one of the themes that come with coppermine out-of-the-box, just post the theme name.
Title: Re: Can someone please help me with this?
Post by: gelaskimgel on August 17, 2006, 11:30:48 AM
aha... I'm using oranje, that follows with "Modpack" by Stramm... But I want it to look like the picture I've link out: http://www.speakzone.lir.dk/1.jpg
Title: Re: Can someone please help me with this?
Post by: Stramm on August 17, 2006, 05:57:13 PM
it's easier to modify an existing (1.4) theme with left adjusted or top menu than to fiddle around with the Oranje theme cause

- Oranje originally was a 1.3 theme that has been converted to 1.4 -> lots of functions in theme.php that need extra attention
- all right side menu themes had to introduce a good load of layout changes, that's not the case for left side menus
Title: Re: Can someone please help me with this?
Post by: gelaskimgel on August 17, 2006, 07:46:56 PM
can you help mee with this theme, that I'm trying to make... But I've got a problem now... All the themes is only showing "Register " menu at the top.. And not "Login" link and soo on.... Why is it doing that, my site is: www.rdc.lir.dk (http://www.rdc.lir.dk) .  Try to take the theme: testing... thats the theme that I'm trying to make look like the picture: http://www.speakzone.lir.dk/1.jpg (http://www.speakzone.lir.dk/1.jpg)

The theme can be downloaded from: www.rdc.lir.dk/testing.rar (http://www.rdc.lir.dk/testing.rar)
Title: Re: Can someone please help me with this?
Post by: Joachim Müller on August 17, 2006, 11:04:30 PM
You're suppossed to zip the theme, not rar it. Then attach it to your posting instead of linking to it.
If the registration link doesn't show, you probably disabled registration in coppermine's config. Re-enable it there again.
Title: Re: Can someone please help me with this?
Post by: gelaskimgel on August 17, 2006, 11:49:45 PM
no no... GauGau I did not disabled it from the registration, and the "Register" link is showing.... I'm not not sure what the problem was, but now is showing... But I got the error when I'm trying to use the theme "testing":

Template error
Failed to find block 'my_friends'(#(<!-- BEGIN my_friends -->)(.*?)(<!-- END my_friends -->)#s) in :

                        <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
<!-- BEGIN home -->
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleftmy" src="themes/testing/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/testing/images/buttoncenter.gif);">
                                                <a href="{HOME_TGT}" title="{HOME_TITLE}">{HOME_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/testing/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END home --> </tr>

<!-- BEGIN my_gallery --> <tr>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleftmy" src="themes/testing/images/buttonleftmy.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/testing/images/buttoncenter.gif);">
                                                <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/testing/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END my_gallery --> </tr>
<!-- BEGIN allow_memberlist --> <tr>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft" src="themes/testing/images/buttonleftmemb.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/testing/images/buttoncenter.gif);">
                                                <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/testing/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END allow_memberlist --> </tr>
</tr>
<!-- BEGIN faq --> <tr>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft" src="themes/testing/images/buttonleftfaq.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/testing/images/buttoncenter.gif);">
                                                <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/testing/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END faq --> </tr>
</tr>
</tr>
<!-- BEGIN upload_pic --> <tr>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleftup" src="themes/testing/images/buttonleftup.gif" width="17" height="25" border="0" alt="" /></td>
                                       <td style="background: url(themes/testing/images/buttoncenter.gif);">
                                                <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/testing/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END upload_pic --> </tr>
<!-- BEGIN register --> <tr>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft" src="themes/testing/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
                                        <td style="background: url(themes/testing/images/buttoncenter.gif);">
                                                <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/testing/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END register --> </tr>
<!-- BEGIN login --> <tr>
                                        <td><img name="spacer" src="images/spacer.gif" width="5" height="25" border="0" alt="" /></td>
                                        <td><img name="buttonleft" src="themes/testing/images/buttonleft.gif" width="17" height="25" border="0" alt="" /></td>
                                       <td style="background: url(themes/testing/images/buttoncenter.gif);">
                                                <a href="{LOGIN_TGT}" title="{LOGIN_LNK}">{LOGIN_LNK}</a>
                                        </td>
                                        <td><img name="buttonright" src="themes/testing/images/buttonright.gif" width="7" height="25" border="0"  alt="" /></td>
<!-- END login --> </tr>
</tr>
                        </table>
Title: Re: Can someone please help me with this?
Post by: Sami on August 18, 2006, 12:04:00 AM
you are using Modpack , check this :
http://forum.coppermine-gallery.net/index.php?topic=34905.msg163858#msg163858
Title: Re: Can someone please help me with this?
Post by: gelaskimgel on August 18, 2006, 01:21:48 AM
thanks a lot... that really help me :)