View Single Post
  #1 (permalink)  
Old 08-03-2007, 12:30 AM
Supa Supa is offline
Junior Member
 
Join Date: Aug 2007
Posts: 2
Displaying my forums full screen, Help Pls.
Ok, Im an idiot. I ran a search for zonecopper and got to this site. Im using zonecopepr, but not phpnuke. Argue. I'm running a joomla site atm for my guild. My bad guys. I really wanted help, just wrong area totally on my part.

DwD Guild Site - Home if wanna see what I've done anyways.

---------------------------------------------------------------------------------------
Im using theme zonecopper, with phpBB in a wrapper. I'm trying to make my forums full screen, but need to eliminate the left blocks entirely when I click my forums link. I don't have a theme.php in my theme folder, so assuming it's in index.php. Cant find what their reffering to in any file though...

I found this:
How to make the Forums full screen/hide left Nuke blocks
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.

----------------------------------------------------------------------
But:

I don't find what there referring to. I search for them in my index.php, and no matches come up. Anyone know where to replace this in the zonecopper theme index.php?

Would love any help you can give.

Last edited by Supa : 08-03-2007 at 01:38 AM.
Reply With Quote