Style description: Like phpBB.com style (More colors). Include background image, navigation menu, about page. Allow to edit corner width.
Demo: http://web.dhjh.tcc.edu.tw/~gzqbyr/phpB ... ?mystyle=2
Download: http://web.dhjh.tcc.edu.tw/~gzqbyr/down ... silver.zip
Navigation author: greatboy - http://www.phpbbchina.com/forum/viewtop ... =24&t=7086
Add About page

- Save above sky.jpg to your styles/phpbbsilver/theme/images/
- Saveas about.php to phpBB root.
Code: Select all
<?php /** * @package phpBB3 * @copyright (c) 2010 CRLin - http://web.dhjh.tcc.edu.tw/~gzqbyr/ */ define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup(); $template->assign_vars(array( 'NOT_FORUM' => 'about', )); page_header('About phpBB'); $template->set_filenames(array( 'body' => 'about.html') ); page_footer(); ?>
- Saveas about.html to styles/phpbbsilver/template/
Code: Select all
<!-- INCLUDE overall_header.html --> <ul class="linklist navlinks"> <li> <strong>About phpBB</strong> </li> </ul> <div id="main"> <h3>What is phpBB?</h3> <p>Since its creation in 2000, phpBB™ has become the most widely used Open Source forum solution.</p> </div> <!-- INCLUDE overall_footer.html -->
- Edit styles/phpbbsilver/template/navigation.html
FindReplace withCode: Select all
<li class="first<!-- IF SCRIPT_NAME eq 'xxxx' --> activetab<!-- ENDIF -->"> <a href="about.php"><span>About</span></a> </li>
Code: Select all
<li class="first<!-- IF NOT_FORUM eq 'about' --> activetab<!-- ENDIF -->"> <a href="about.php"><span>About</span></a> </li>
- Edit styles/phpbbsilver/theme/site.css
FindBefore addCode: Select all
/* corners for title.jpg */
Code: Select all
.header1about { padding: 0 5px; background: url("./images/sky.jpg"); height: 129px; color: #FFFFFF; }
- Delete cache/*.php
Other discussion:
http://phpbbchina.com/forum/viewtopic.php?f=4&t=3752