Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 97
9 members and 88 guests
bulnfldogowfd6n, datcong2sieqblo, howtxtothre5mpa, nat7byionstarmo, natdjuralsljr6j, seo4pclinksrd3w, slnglfts, watakerdamageji, watqserdamagere
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > Nukemods > FAQ/Fixes

Reply
 
LinkBack Thread Tools Display Modes
How to make the Forums full screen/hide left Nuke blocks
Old
  (#1 (permalink))
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.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
12-30-2002, 03:31 PM

You can also add more Modules to this method in order for them to NOT display the left blocks as well.

Example if you are using gallery from Menalto and don't want the left blocks when viewing it and also you don't want the left blocks when viewing your Forums.
The code would need to look like this:

Code:
    if ($name=='gallery'){
		/* Don't display it. */
		}
		else
		if ($name=='Forums'){ 
    /* Don't display it. */ 
   } 
   else {   
blocks(left); 
   }
That will cause the left blocks to now "hide" when you view your Forums and gallery. You can do use this method with ANY module.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show right and left blocks on forums sam_stripy Nuke 7.x - General 10 06-07-2008 12:05 AM
Help please on removing left blocks from forums shark1e Nuke 7.x - Blocks 39 01-01-2006 11:55 AM
hide left blocks?? serkan61 Theme packs 5 07-07-2003 05:43 PM
problem mod: Hiding Left Nuke Blocks when viewing Forum: axe Theme packs 4 02-08-2003 05:34 PM
phpbb full screen Verdugo Purged Topics 6 02-02-2003 11:54 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31