Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
i can't get rid of right block with BlackDog&Charcoal th
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 83
Join Date: Jan 2003
i can't get rid of right block with BlackDog&Charcoal th - 05-09-2003, 04:45 PM

i know that right blocks can be disabled for ie.mymodule editing /modules/mymodule/index.php by changing $index = 1; to 0.

I went to modules/forum/index.php and it wasn't any $index ..i added after
Code:
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
but still didn't worked.

i using BlackDog theme modified ONLY on graphics and Charcoal (i think i got it from this site) for phpbb2.

Thank you in advance.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
05-10-2003, 03:46 AM

I think the right blocks are hardcoded into that theme


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
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: 83
Join Date: Jan 2003
05-10-2003, 08:52 AM

Quote:
Originally Posted by Mighty_Y
I think the right blocks are hardcoded into that theme
Any suggestion will be appreciated.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 83
Join Date: Jan 2003
05-10-2003, 11:23 AM

here is my code from /modules/Forums/index.php
http://web.sysrq.no/appolyon/21pzr/m...rums/index.txt

Thank you in advanced
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
05-10-2003, 12:20 PM

I said, it will be hardcoded in your theme because if I look at your txt there is no index variable so the blocks shouldn't show up, but they do so I think it is hardcoded in your theme


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 83
Join Date: Jan 2003
05-10-2003, 12:39 PM

Quote:
Originally Posted by Mighty_Y
I said, it will be hardcoded in your theme because if I look at your txt there is no index variable so the blocks shouldn't show up, but they do so I think it is hardcoded in your theme
ok...your are not anymore "Mighty" Y for me...your are only "y" ... a faded one .... jocking...

maybe the others guru's will pay some attention and will try to fix it for me. cause i desperatly need it ...

also i was thinking to follow http://www.nukemods.com/modules.php?...iewtopic&t=376 but this too might not work cause is only for left blocks..right? ....

ty anyways
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
05-10-2003, 12:44 PM

I can't help you because I don't have the theme files, but you can post some code and then I can help you.
Open theme.php and look for this
Code:
function themefooter()
And from then on I need all the code untill you come to this piece of code
Code:
function themeindex
That's what I need


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 83
Join Date: Jan 2003
05-10-2003, 01:02 PM

i think will be better to give u URLs with those files in txt format to see by yourself the whole code, to avoid missunderstandings, and not to spam this great forum.

u said theme.php ...
this is my nuke theme (BlackDog)/ theme.php :
http://web.sysrq.no/appolyon/21pzr/t...kDog/theme.txt

and for avoiding other missing info here u have the theme.php from my phpbb theme (charcoal)
http://web.sysrq.no/appolyon/21pzr/t...coal/theme.txt
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
05-10-2003, 05:55 PM

In the blackdog one find
Code:
function themefooter() {
    global $index, $foot1, $foot2, $foot3, $foot4;
    
	$tmpl_file = "themes/BlackDog/center_right.html";
	$thefile = implode("", file($tmpl_file));
	$thefile = addslashes($thefile);
	$thefile = "\$r_file=\"".$thefile."\";";
	eval($thefile);
	print $r_file;
	blocks(right);
	
    $footer_message = "$foot1
$foot2
$foot3
$foot4";
    $tmpl_file = "themes/BlackDog/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}
and change it to
Code:
function themefooter() {
    global $index, $foot1, $foot2, $foot3, $foot4;
    if ($index == 1) {
	$tmpl_file = "themes/BlackDog/center_right.html";
	$thefile = implode("", file($tmpl_file));
	$thefile = addslashes($thefile);
	$thefile = "\$r_file=\"".$thefile."\";";
	eval($thefile);
	print $r_file;
	blocks(right);
	}
    $footer_message = "$foot1
$foot2
$foot3
$foot4";
    $tmpl_file = "themes/BlackDog/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 83
Join Date: Jan 2003
05-10-2003, 07:54 PM

That's my Mighty_Y
Great fix man ... also not only for forum but for all modules which i want it to be without right blocks

Many thanks and keep up good work.
   
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
JS in themes/BlackDog/header.html Kelu Purged Topics 13 05-30-2003 11:30 PM
copyright to BlackDog Kelu Purged Topics 1 05-07-2003 12:33 PM
[Fixed]BlackDog errors Kelu Purged Topics 0 05-03-2003 12:26 AM
BlackDog theme Colin_da_Killer Theme packs 0 04-19-2003 02:35 PM
Charcoal Theme sshhyguy Theme packs 4 11-23-2002 08:29 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