arashsoft
Well-Known Member
A 12 Step Guide to Porting PHPBB Template for PHP-Nuke
1 - PLEASE Make sure you get permission from the author of the template before you begin porting ANY templates.
2 - Rename the template folder to 'forums'
3 - Copy the 'forums' folder into your (current theme folder)
4 - Rename the CFG file to forums.cfg (ex. SkaidonExpanded.cfg)
5 - Rename the CSS file to forums.css (ex. SkaidonExpanded.css)
6 - Open your 'overall_header.tpl' file and look for the following line:
<link rel="stylesheet" href="templates/SkaidonExpanded/{T_HEAD_STYLESHEET}" type="text/css" />
change the above code to this one:
<link rel="stylesheet" href="themes/YOUR_THEME_NAME/forums/forums.css" type="text/css" />
7 - Open your 'simple_header.tpl' file and refer to step #6
8 - From here on, open up every file in the forums folder and look for the following:
ex.
templates/SkaidonExpanded/images
change the above to:
themes/YOUR_THEME_NAME/forums/images
9 - Open the file 'jumpbox.tpl' and look for the 'get' statement. Change this to 'post'
10 - Open the file 'groupcp_user_body.tpl' and look for the 'get' statement. Change this to 'post'
11 - Open the file: 'theme_info.cfg' and look for the following.
ex.
$SkaidonExpanded
change all instances to:
$YOUR_THEME_NAME
12 - In the same file change the following:
ex.
$YOUR_THEME_NAME[0]['template_name'] = "forums";
$YOUR_THEME_NAME[0]['style_name'] = "forums";
$YOUR_THEME_NAME[0]['head_stylesheet'] = "forums.css";
NOTE: In some cases you may have to remove the following lines in your 'overall_footer.tpl' file:
</body>
</html>
I have noticed in newer version of PHP-Nuke 7.0+ it throws the forum tables out of alignment when the above <HTML> tags are left in there,
specially if there is a theme footer graphic being used.
1 - PLEASE Make sure you get permission from the author of the template before you begin porting ANY templates.
2 - Rename the template folder to 'forums'
3 - Copy the 'forums' folder into your (current theme folder)
4 - Rename the CFG file to forums.cfg (ex. SkaidonExpanded.cfg)
5 - Rename the CSS file to forums.css (ex. SkaidonExpanded.css)
6 - Open your 'overall_header.tpl' file and look for the following line:
<link rel="stylesheet" href="templates/SkaidonExpanded/{T_HEAD_STYLESHEET}" type="text/css" />
change the above code to this one:
<link rel="stylesheet" href="themes/YOUR_THEME_NAME/forums/forums.css" type="text/css" />
7 - Open your 'simple_header.tpl' file and refer to step #6
8 - From here on, open up every file in the forums folder and look for the following:
ex.
templates/SkaidonExpanded/images
change the above to:
themes/YOUR_THEME_NAME/forums/images
9 - Open the file 'jumpbox.tpl' and look for the 'get' statement. Change this to 'post'
10 - Open the file 'groupcp_user_body.tpl' and look for the 'get' statement. Change this to 'post'
11 - Open the file: 'theme_info.cfg' and look for the following.
ex.
$SkaidonExpanded
change all instances to:
$YOUR_THEME_NAME
12 - In the same file change the following:
ex.
$YOUR_THEME_NAME[0]['template_name'] = "forums";
$YOUR_THEME_NAME[0]['style_name'] = "forums";
$YOUR_THEME_NAME[0]['head_stylesheet'] = "forums.css";
NOTE: In some cases you may have to remove the following lines in your 'overall_footer.tpl' file:
</body>
</html>
I have noticed in newer version of PHP-Nuke 7.0+ it throws the forum tables out of alignment when the above <HTML> tags are left in there,
specially if there is a theme footer graphic being used.