Changing Template - NBS






 

 

Changing Template - NBS

View Full Version : Changing Template


ForumZCLub
27-Aug-2006, 04:07 PM
Could Some One Tell Me How To Change Template as i dont know anything about PHP or working of the script


Thanks :cheeky:

Derek
27-Aug-2006, 11:44 PM
Are you talking about the multi-forums phpBB script's template? If so, you have to go to the nbs/templates directory, and make a copy of the folder called default, and make the copy of it called anything of your choice. Then you want to edit the .tpl files to change the appearance of it. You might only have to edit the header.tpl and footer.tpl files, if the template you are making isn't that complex. In those files you will see stuff like {$sometext}. Those are variables, and you want to leave them in the templates. Basically it's all html code except for those. You will also see some if statements ({if $var == $something}) leave those alone as well. If you get any errors when adding CSS or anything, you might have to add {literal} before it and {/literal} after it like what I have, as CSS and Javascript can cause errors with the template class I am using. Once done with the skin, you can change your site's template by logging into the admincp, and editing the template setting.

Derek

ForumZCLub
28-Aug-2006, 06:38 PM
Hey i dont know PHP

Is it possible to upload already made template files and upload them ?

could templates of phpbb work?

Derek
28-Aug-2006, 07:36 PM
No phpBB templates will not work for my script's layout. It uses different variables and stuff, so therefore it wouldn't work. You can use phpBB templates on the hosted forums though, just not the script layout for the multi-forums script.