View Single Post
How to make the Forums full screen/hide left Nuke blocks
Old
  (#1 (permalink))
coldblooded
Super Moderator
 
coldblooded's Avatar
 
Status: Offline
Posts: 624
Join Date: Jan 2002
Location: USA
How to make the Forums full screen/hide left Nuke blocks - 12-15-2002, 04:39 PM

In your theme.php you need to find:

Code:
function themeheader() { 
    global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi;
This is just an example, the list of variables ($user, $banners) won't match exactly.

Add the $name variable to the list:
Code:
 
function themeheader() { 
    global $user, $banners, $sitename, $slogan, $cookie, $prefix, $name, $dbi;
Then find:
Code:
 
    blocks(left);
And replace it with:
Code:
 
    if ($name=='Forums') { 
    /* Don't display it. */ 
   } 
   else { 
    blocks(left); 
   }
You will need to do this for each theme you have on your site.

Cheers.
   
Reply With Quote