View Single Post
  #1 (permalink)  
Old 04-02-2003, 06:45 PM
Rancord Rancord is offline
Junior Member
 
Join Date: Nov 2002
Posts: 35
Forum block changes with theme-->here
Yep all u have to do is copy the block into the Themes/$thattheme/ directory. of course fiblack block needs to go to fiblack theme directory. rename it to forums.php

Create a new block I named it block-Forums.php and add this code:

Code:
<?php

########################################################################
# PHP-Nuke Block: DarkBlue Center Forum Block v.1.0 		       #
# Made for PHP-Nuke 6.5     					       #
#                                                                      #
# Made by mikem http://www.nukemods.com                                #
# This block is made only to match the DarkBlue Theme pack             #
########################################################################
# This program is free software. You can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License.       # 
# If you modify this, let me know for fun. =)                          #
########################################################################  

if (eregi("block-Forums.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}
	
global $ThemeSel;

include("themes/$ThemeSel/Forums.php");
?>
Reply With Quote