Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 50
3 members and 47 guests
buynm6ymobcha8b, cliaw9cckhereto, int5nwernetmarx
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
How to show the whole forum in the port ?
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: Nov 2002
How to show the whole forum in the port ? - 11-19-2002, 10:33 AM

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
Old
  (#2 (permalink))
Super Moderator
 
coldblooded's Avatar
 
Status: Offline
Posts: 624
Join Date: Jan 2002
Location: USA
11-19-2002, 11:31 AM

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
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 4
Join Date: Nov 2002
11-19-2002, 05:33 PM

THX ALOT !!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
11-20-2002, 10:47 AM

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
Old
  (#5 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
11-20-2002, 11:37 AM

Quote:
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
Old
  (#6 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
11-20-2002, 11:39 AM

Woops! Need more coffee I guess. 8O
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Member
 
Status: Offline
Posts: 359
Join Date: Nov 2002
Location: Michigan, USA
11-20-2002, 03:47 PM

maybe more then coffee 8)
  Send a message via AIM to ReNeGaDe  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
11-20-2002, 04:00 PM

Quote:
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
Old
  (#9 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
11-20-2002, 04:09 PM

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
Here's one for ya
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 89
Join Date: Nov 2002
Location: USA
Here's one for ya - 11-21-2002, 07:06 PM

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>
 Send a message via ICQ to Cyberclark  
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 03:00 AM
slide show???? Ronin0514 Site design 0 01-28-2005 09:13 PM
Show Me Your Ezines! Sheriff_Mole Site design 0 11-06-2004 10:14 AM
PM icon won't show in forum module ogeva Nuke 7.x - Modules 3 11-03-2004 11:47 PM
Forum: phpBB2 2.0.4 to Tom's port 2.0.6 Luie Purged Topics 2 03-17-2003 12:39 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