You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 81 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - removing the blocks in forums view. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
DrChaos
Nuke Soldier
Nuke Soldier


Joined: Sep 28, 2003
Posts: 20


PostPosted: Mon Nov 03, 2003 6:49 pm Reply with quoteBack to top

What I wanted to do is, When someone is viewing the forum, to take away all the blocks so they only see the forum. I have seen a mod that can do this but I cant find it anywhere. Any help is great...

re-cap. no block on the left, just the forum, in full page.

im using smart dark theme with phpbb2 installed.

Leetgamers.org
Find all posts by DrChaosView user's profileSend private messageSend e-mail
dezina
Support Mod
Support Mod


Joined: Jun 09, 2003
Posts: 1713

Location: England

PostPosted: Mon Nov 03, 2003 11:08 pm Reply with quoteBack to top

Quote:
In your theme.php you need to find:

Code:

function themeheader() {
global $user, $banners, $sitename, $slogan, $cookie, $prefix, $dbi;



And change it to:
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);
}


As ALWAYS, BACKUP any files FIRST !!!!


_________________
Image
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Find all posts by dezinaView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.163 Seconds - 307 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::