Topic: How do I add a style?
Hello,
How do I add a style so punbb would see it? Only copying it to style directory doesnt change anything.
Best regards,
FlashT
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 troubleshooting → How do I add a style?
Hello,
How do I add a style so punbb would see it? Only copying it to style directory doesnt change anything.
Best regards,
FlashT
Give it it's own directory like this: forumroot/style/nameofstyle
And its not there on style list.
Steps to add your own style:
Make a directory with the name of your style;
Place all the files of the style to this directory;
Create the "<FORUM_ROOT>/style/<YOUR_STYLE_NAME>/<YOUR_STYLE_NAME>.php" file in the directory. This file will contain php code with links to your css files or some other things you need. For example, here is the content of this file for Oxygen style:
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $base_url.'/style/'.$forum_user['style'] ?>/Oxygen.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $base_url.'/style/'.$forum_user['style'] ?>/Oxygen_cs.css" />
<!--[if lte IE 6]><link rel="stylesheet" type="text/css" href="<?php echo $base_url.'/style/'.$forum_user['style'] ?>/Oxygen_ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" href="<?php echo $base_url.'/style/'.$forum_user['style'] ?>/Oxygen_ie7.css" /><![endif]-->
PunBB Forums → PunBB 1.3 troubleshooting → How do I add a style?
Powered by PunBB, supported by Informer Technologies, Inc.