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   re: No left Blocks in Forums page or other Modules
Donovan
CZ Active Member
 Codezwiz Site Donator
Donovan has been a member for over 15 year's 15 Year Member
usa.gif ohio.gif
Occupation: Web Developer
Fav. Sports Team: St Louis Cardinals
Status: Offline
Joined: Dec 03, 2003
0.03 posts per day
Posts: 160
Points: 9,216
   
Well this is what I put in the module index.php

The blocks are still there but the error went away. icon_smile.gif


///////////////////////////////////////////////////////////////////////

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

//finds the server's root directory
$self = dirname(__FILE__);
$nukemod = basename($self);
$rootdir = eregi_replace("/modules/$nukemod", "", $self);

include "$rootdir/admin/modules/clannuke/functions.php";
$index=1;

require_once("mainfile.php");
global $module_name, $db;
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
OpenTable();



Edit---Fixed


Back to top Reply with quote
#2   DOESN'T WORK FOR ME......
ROCKKER-X
CZ Newbie
ROCKKER-X has been a member for over 13 year's 13 Year Member
Status: Offline
Joined: Feb 24, 2005
0.00 posts per day
Posts: 1
Points: 109
   


Originally posted by Telli @ Thu Jan 08, 2004 4:35 pm:

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);
    }




I am running 7.5 and this left block thing is freakin out on me... Forums fix worked like a charm... thanx! weird thing is that it only works if i use two equals >>>
global $name;
if($name!==Forums)
{
blocks(left);
}

Does anyone know why this is?

I tried to add my chat moduale to this code using what u guys used but it doesn't work at all....
Can anyone help me.... thanks in advance...


Back to top Reply with quote
#3   
Telli
Site Admin
Telli has been a member for over 15 year's 15 Year Member
Occupation: Self Employed
Age: 40
Fav. Sports Team: Detroit Red Wings
Website: www.codezhost.com
Status: Offline
Joined: May 26, 2003
1.42 posts per day
Posts: 8089
Points: 494,345
   
[ Register or login to view links on this board. ]

Try that hack.




_________________
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
#4   re: No left Blocks in Forums page or other Modules
Raze
CZ Newbie
Raze has been a member for over 13 year's 13 Year Member
Status: Offline
Joined: Apr 14, 2005
0.00 posts per day
Posts: 1
Points: 32
   
Is there an update for no blocks on the newest nuke ?
Keep getting erros whith both of these.



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