Advanced search  

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

Pages: [1]   Go Down

Author Topic: ~new theme: Oxygen (PunBB)  (Read 24205 times)

0 Members and 1 Guest are viewing this topic.

simkin

  • Translator
  • Coppermine newbie
  • **
  • Offline Offline
  • Posts: 10
    • Tintaxina
~new theme: Oxygen (PunBB)
« on: March 01, 2006, 12:29:01 pm »

Hi everyone,

I've been trying to modify the classic theme of Coppermine to match the one in PunBB forum software.
I know it could have been done a lot better (I should be ported to divs to be tableless like punbb), but I was too short of time to do that, and my only objective was to obtain a "similar" look with the forum since the integration betwen coppermine and punbb is officially supported.

If you can improve this theme to look even more similar to original Oxygen punbb theme, please feel free to modify it and share with us :)

Thanks CPG && PunBB, I love you!

(Same topic at PunBB Forums)

Edit: removed the demo mention, GauGau added the theme to the official demo: thanks!
« Last Edit: March 02, 2006, 07:39:22 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: ~new theme: Oxygen (PunBB)
« Reply #1 on: March 01, 2006, 09:19:56 pm »

Logged

polle

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: ~new theme: Oxygen (PunBB)
« Reply #2 on: August 21, 2006, 11:21:09 am »

Hi.
Any idea why albums are not shown in homepage ?
I have the categories and some albums in them, also the admin has set to "yes" the display albums, but they just dont, using classic theme it work, but just changing it to oxygen stopped working.

Any ideas ?


Thanks.
Logged

Nibbler

  • Guest
Re: ~new theme: Oxygen (PunBB)
« Reply #3 on: August 21, 2006, 12:46:52 pm »

$template_cat_list does not have the {CAT_ALBUMS} tag. Either add it in yourself in a way that fits the theme or remove the $template_cat_list template from the theme.php.
Logged

polle

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: ~new theme: Oxygen (PunBB)
« Reply #4 on: August 21, 2006, 01:30:52 pm »

$template_cat_list does not have the {CAT_ALBUMS} tag. Either add it in yourself in a way that fits the theme or remove the $template_cat_list template from the theme.php.

Thanks for answering, I have this line :
$template_cat_list = <<<EOT

Should I jus remove it completely ?

Thanks.
Logged

Nibbler

  • Guest
Re: ~new theme: Oxygen (PunBB)
« Reply #5 on: August 21, 2006, 01:35:22 pm »

What you have is this:

Code: [Select]
$template_cat_list = <<<EOT

<!-- BEGIN header -->

        <tr>

                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>

                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>

                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>

        </tr>

<!-- END header -->

<!-- BEGIN catrow_noalb -->

        <tr>

                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>

        </tr>

<!-- END catrow_noalb -->

<!-- BEGIN catrow -->

        <tr>

                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>

                <td class="catrow" align="center">{ALB_COUNT}</td>

                <td class="catrow" align="center">{PIC_COUNT}</td>

        </tr>



<!-- END catrow -->

<!-- BEGIN footer -->

        <tr>

                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>

        </tr>

<!-- END footer -->

<!-- BEGIN spacer -->

        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />

<!-- END spacer -->



EOT;

Removing it would make it look like this:

Code: [Select]

Logged

polle

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: ~new theme: Oxygen (PunBB)
« Reply #6 on: August 21, 2006, 01:41:58 pm »

What you have is this:

Code: [Select]
$template_cat_list = <<<EOT

<!-- BEGIN header -->

        <tr>

                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>

                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>

                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>

        </tr>

<!-- END header -->

<!-- BEGIN catrow_noalb -->

        <tr>

                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>

        </tr>

<!-- END catrow_noalb -->

<!-- BEGIN catrow -->

        <tr>

                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>

                <td class="catrow" align="center">{ALB_COUNT}</td>

                <td class="catrow" align="center">{PIC_COUNT}</td>

        </tr>



<!-- END catrow -->

<!-- BEGIN footer -->

        <tr>

                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>

        </tr>

<!-- END footer -->

<!-- BEGIN spacer -->

        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />

<!-- END spacer -->



EOT;

Removing it would make it look like this:

Code: [Select]



Actually from the line I removed "$template_cat_list =" and just leave "<<<EOT" and it work.

Will this affect anything else that I should be awere of ?

Or I should make this another way ?

Thank you.
Logged

Nibbler

  • Guest
Re: ~new theme: Oxygen (PunBB)
« Reply #7 on: August 21, 2006, 01:44:15 pm »

You should remove the entire template $template_cat_list template as suggested.
Logged

polle

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: ~new theme: Oxygen (PunBB)
« Reply #8 on: August 21, 2006, 01:51:57 pm »

You should remove the entire template $template_cat_list template as suggested.

Sorry its not very clear for me.

By remove the entire template $template_cat_list template you mean deleting:


Code: [Select]
$template_cat_list = <<<EOT

<!-- BEGIN header -->

        <tr>

                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>

                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>

                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>

        </tr>

<!-- END header -->

<!-- BEGIN catrow_noalb -->

        <tr>

                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>

        </tr>

<!-- END catrow_noalb -->

<!-- BEGIN catrow -->

        <tr>

                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>

                <td class="catrow" align="center">{ALB_COUNT}</td>

                <td class="catrow" align="center">{PIC_COUNT}</td>

        </tr>



<!-- END catrow -->

<!-- BEGIN footer -->

        <tr>

                <td colspan="3" class="tableh1" align="center"><span class="statlink"><b>{STATISTICS}</b></span></td>

        </tr>

<!-- END footer -->

<!-- BEGIN spacer -->

        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />

<!-- END spacer -->



EOT;

I am not really familiar with this, so if you can please clarify what do you mean by that I will really apreciate it.

Because removing all the quoted code it simply switch to classic theme.

And deleting "$template_cat_list =" from the line make it work.

Thanks.
Logged

polle

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 24
Re: ~new theme: Oxygen (PunBB)
« Reply #9 on: August 28, 2006, 02:56:42 am »

Anyone else ?

Thanks
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: ~new theme: Oxygen (PunBB)
« Reply #10 on: August 28, 2006, 02:59:56 am »

By remove the entire template $template_cat_list template you mean deleting:
...


Yes
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 22 queries.