~new theme: Oxygen (PunBB) ~new theme: Oxygen (PunBB)
 

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

~new theme: Oxygen (PunBB)

Started by simkin, March 01, 2006, 12:29:01 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

simkin

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!

Joachim Müller


polle

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.

Nibbler

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

polle

Quote from: Nibbler 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.

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

Should I jus remove it completely ?

Thanks.

Nibbler

What you have is this:


$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:




polle

Quote from: Nibbler on August 21, 2006, 01:35:22 PM
What you have is this:


$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:






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.

Nibbler

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

polle

Quote from: Nibbler on August 21, 2006, 01:44:15 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:



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

polle


Stramm

Quote from: polle on August 21, 2006, 01:51:57 PM
By remove the entire template $template_cat_list template you mean deleting:
...


Yes