» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 60
0 members and 60 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
buy Rimonabant - Help dieters achieve significant weight loss without having to slog in the gym

Register Now! Contact Us

About this Page
This is a discussion on How to make the Forums full screen/hide left Nuke blocks within the FAQ/Fixes forums, part of the Nukemods category; In your theme.php you need to find: Code: function themeheader() { global $user, $banners, $sitename, $slogan, $cookie, $...



Go Back   Nukemods Forum » Nukemods » FAQ/Fixes

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-15-2002, 03:39 PM
coldblooded's Avatar
Super Moderator
 
Join Date: Jan 2002
Location: USA
Posts: 618
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.

Cheers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-30-2002, 02:31 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
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-06-2008 11:05 PM
Help please on removing left blocks from forums shark1e Nuke 7.x - Blocks 39 01-01-2006 10:55 AM
hide left blocks?? serkan61 Theme packs 5 07-07-2003 04:43 PM
problem mod: Hiding Left Nuke Blocks when viewing Forum: axe Theme packs 4 02-08-2003 04:34 PM
phpbb full screen Verdugo Purged Topics 6 02-02-2003 10:54 AM


All times are GMT -5. The time now is 08:26 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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