No left Blocks in Forums page or other Modules

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   No left Blocks in Forums page or other Modules
Purus
CZ Super Newbie
Purus has been a member for over 20 year's 20 Year Member
usa.gif newyork.gif
Occupation: Student
Gender: Male
Fav. Sports Team: US Junior Orienteering Team
Website:
Status: Offline
Joined: Dec 28, 2003
0.01 posts per day
Posts: 62
Points: 2,591
   
I read somewhere that you can get rid of the left menu and blocks on certain pages. I would like to run my forums with no side frames. Anyone know how to do this?




_________________
[ Register or login to view links on this board.] | [ Register or login to view links on this board.]
Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Find in your themes/YOUR_THEME/theme.php

blocks(left);


change it to:

global $name;
    if($name!=Forums)
    {
    blocks(left);
    }


To add more then one :

global $name;
    if($name!=Forums AND $name!=Private_Messages)
    {
    blocks(left);
    }




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
Purus
CZ Super Newbie
Purus has been a member for over 20 year's 20 Year Member
usa.gif newyork.gif
Occupation: Student
Gender: Male
Fav. Sports Team: US Junior Orienteering Team
Website:
Status: Offline
Joined: Dec 28, 2003
0.01 posts per day
Posts: 62
Points: 2,591
   
Thanks man! Works like a charm icon_mrgreen.gif




_________________
[ Register or login to view links on this board.] | [ Register or login to view links on this board.]
Back to top Reply with quote
#4   
Turbo
CZ Super Newbie
Turbo has been a member for over 20 year's 20 Year Member
usa.gif maine.gif
Website:
Status: Offline
Joined: Jan 06, 2004
0.01 posts per day
Posts: 63
Points: 6,985
   
this took care of my scroll bar issue in the forums at my site--- you guys rock!!! thanks Telli-- worked perfecto for me also--




_________________
Back to top Reply with quote
#5   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Excellent! icon_smile.gif




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   re: No left Blocks in Forums page or other Modules
Donovan
CZ Active Member
 Codezwiz Site Donator
Donovan has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Web Developer
Gender: Male
Fav. Sports Team: St Louis Cardinals
Status: Offline
Joined: Dec 03, 2003
0.02 posts per day
Posts: 160
Points: 9,216
   
How would you get the right hand blocks to dissapear when looking at specific modules like a roster?



Back to top Reply with quote
#7   re: No left Blocks in Forums page or other Modules
dsnail2000
CZ Super Newbie
 Codezwiz Site Donator
dsnail2000 has been a member for over 20 year's 20 Year Member
usa.gif virginia.gif
Age: 40
Gender: Male
Website:
Status: Offline
Joined: Jun 28, 2004
0.00 posts per day
Posts: 36
Points: 6,786
   
That's a nice workaround, but has anybody figured out exactly why mozilla renders the forums inside the scrolling block?



Back to top Reply with quote
#8   Re: re: No left Blocks in Forums page or other Modules
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   


Originally posted by Donovan @ Tue Jul 13, 2004 2:27 pm:

How would you get the right hand blocks to dissapear when looking at specific modules like a roster?


Open the modules index.php and place this at the top under the

die()
}
$index = 0;
-------------------------------------------------------------------------------------------

dsnail2000

I wasnt aware that that happened. I will have to get mozilla and give it a try.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#9   re: No left Blocks in Forums page or other Modules
Donovan
CZ Active Member
 Codezwiz Site Donator
Donovan has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Web Developer
Gender: Male
Fav. Sports Team: St Louis Cardinals
Status: Offline
Joined: Dec 03, 2003
0.02 posts per day
Posts: 160
Points: 9,216
   
Parse error: parse error, unexpected T_REQUIRE_ONCE in /home/i3rd-inf/public_html/modules/roster/index.php on line 27



Back to top Reply with quote
#10   re: No left Blocks in Forums page or other Modules
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
Sorry I should have explained that better. In the mdoules/YOUR_MODULE/index.php file at the top you should already see


if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
    die ("You can't access this file directly...");
}


Under that just place a

$index = 0;




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum