» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 42
0 members and 42 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11: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
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on How to show the whole forum in the port ? within the Purged Topics forums, part of the NM Staff category; As you can se on this site are the menu gone and only the header shown!! How can i fix ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-19-2002, 11:33 AM
Junior Member
 
Join Date: Nov 2002
Posts: 4
How to show the whole forum in the port ?
As you can se on this site are the menu gone and only the header shown!!

How can i fix that ? index=0/1 just remove the right side blocks right ?

Please help me
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-19-2002, 12:31 PM
coldblooded's Avatar
Super Moderator
 
Join Date: Jan 2002
Location: USA
Posts: 618
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); 
   }
Yes, you will have to put the $index setting in the forum module back to 0 if you changed it.

Cheers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-19-2002, 06:33 PM
Junior Member
 
Join Date: Nov 2002
Posts: 4
THX ALOT !!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-20-2002, 11:47 AM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
Mikem, you might want to make a note of this: I wanted the same fix as described above, only I have my site set up to display the right blocks all the time. So I used the same method you showed above in the theme footer blocks right with a few changes. I just added $name; like:
***********************************
function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4, $name;

***********************************
And changed left to right in:
***********************************
if ($name=='Forums') {
/* Don't display it. */
}
else {
blocks(right);
}
***********************************
Works like a charm!!! :!: This also is related to the post at http://www.nukemods.com/modules.php?...iewtopic&t=134
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-20-2002, 12:37 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Originally Posted by Martin
Mikem, you might want to make a note of this: I wanted the same fix as described above, only I have my site set up to display the right blocks all the time. So I used the same method you showed above in the theme footer blocks right with a few changes. I just added $name; like:
***********************************
function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4, $name;

***********************************
And changed left to right in:
***********************************
if ($name=='Forums') {
/* Don't display it. */
}
else {
blocks(right);
}
***********************************
Works like a charm!!! :!: This also is related to the post at http://www.nukemods.com/modules.php?...iewtopic&t=134
Martin..hehe..I think you meant coldblooded, not me :roll:

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-20-2002, 12:39 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
Woops! Need more coffee I guess. 8O
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-20-2002, 04:47 PM
Member
 
Join Date: Nov 2002
Location: Michigan, USA
Posts: 359
Send a message via AIM to ReNeGaDe
maybe more then coffee 8)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-20-2002, 05:00 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Originally Posted by ReNeGaDe
maybe more then coffee 8)
hehe :twisted:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-20-2002, 05:09 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
haha, very funny. Come to think of it maybe I do need more than coffee.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-21-2002, 08:06 PM
Junior Member
 
Join Date: Nov 2002
Location: USA
Posts: 89
Send a message via ICQ to Cyberclark
Here's one for ya
Awesome coding once again, but I have a challenge for ya.

I have just a few members out of the whole that would like the forums to span the entire screen. I was thinking about just copying a theme and renaming it fullscreen_forum so just they can use it, but then I thought hold on one sec I bet the geniuses over at nukemods.com can helpo me with this one easily!!!

So was just curious if there would be an easy way to add a field to the user record, hmmm, lets call it $forum_full, and then add a check box to the forum editprofile page under preferences that said Show me the forums full screen Yes=1, No=2.

Then in the theme.php modify your code to read something like:

Code:
if ($name=='Forums') and ($forum_full=='1') { 
    /* Don't display it. */ 
   } 
   else { 
    blocks(left); 
   }
In theory would that work?

And what would woould be the code I need to edit in usercp_register.php to add the check box and get it to post it to the database correctly.

Thanks in advance I am slowly learning this stuff, but that usercp_register code baffles me I guess I'm not that far along in my reading yet, and since this is a live site I am afraid to just poke around too much!!

<edit>MikeM and Coldblooded did you not see the part where I called you geniuses?!?!? Any chance of some help on this one! You two would be my personal heros!! </edit>
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
Forum "View Topics" images do not show Soldierette Nuke 7.x - General 6 07-17-2006 04:00 AM
slide show???? Ronin0514 Site design 0 01-28-2005 10:13 PM
Show Me Your Ezines! Sheriff_Mole Site design 0 11-06-2004 11:14 AM
PM icon won't show in forum module ogeva Nuke 7.x - Modules 3 11-04-2004 12:47 AM
Forum: phpBB2 2.0.4 to Tom's port 2.0.6 Luie Purged Topics 2 03-17-2003 01:39 AM


All times are GMT -5. The time now is 08:20 AM.


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