Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 84
9 members and 75 guests
add5pntrmwe4kde, adv2oocarepostw, chiripcagota6tn, flooddamageme, kitzmchen, lastf7vegaswebs, off3ciceclean7q, pusoi8zhc5rrtg7, trpslmber
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 7.x > Nuke 7.x - Themes

Reply
 
LinkBack Thread Tools Display Modes
Right blocks
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Oct 2005
Right blocks - 10-08-2006, 12:57 PM

I am running PHPNuke 7.9

I installed PHPNuke 7.9 on webserver and everything was fine, until now, when I downloaded a new theme, charcoal2 from www.nukemods.com. I activate the theme and the right lbocks dissapear, everything else works fine, just the right blocks disappear it is very annoying...

Could someone help me with this? I've been searching everywehre

Please answer fast

best regards
zetza
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 13
Join Date: Sep 2006
10-08-2006, 04:31 PM

This was the fix for 7.8 I used with the subBlack3d theme. It was in the README with the 3.2 patch:

1- If you want right side blocks to appear in third party add-ons change:
In Modules:
index = 1;
to:
define('INDEX_FILE', true);
In Themes:
if ($index == 1) {
to:
if (defined('INDEX_FILE')) {

2- Additional changes for third party add-ons:
if ($mainfile == 1) {
should be changed to:
if (defined('NUKE_FILE')) {

if ($module == 1) {
should be changed to:
if (defined('MODULE_FILE')) {

if ($footer == 1) {
should be changed to:
if (defined('NUKE_FOOTER')) {

if ($header == 1) {
should be changed to:
if (defined('NUKE_HEADER')) {
   
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: 3
Join Date: Oct 2005
10-09-2006, 05:53 AM

Ok thanks.

In modules
index =1;

what files do i need to change? mainfile.php? index.php? modules.php? i cant find index = 1; in any of those :S What file do i need to find this in,,,?
   
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: 3
Join Date: Oct 2005
10-09-2006, 06:08 AM

Nevermind i got it working now thanks
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Dec 2006
12-22-2006, 04:24 PM

i still dont understand. what files need to be edited? or it is something in database...
   
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: 16
Join Date: Aug 2006
12-22-2006, 06:20 PM

Quote:
Originally Posted by boriskender
i still dont understand. what files need to be edited? or it is something in database...
U have to change the file in all your theme u use.

If u use Coldsteel then u have to edit

/themes/Coldsteel/theme.php

Find f ($index == 1) {

Change it to if (defined('INDEX_FILE')) {
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Dec 2006
12-23-2006, 10:11 PM

probably that was the problem cuz in subblack3d in theme.php there is no that line
i c content of the subblack3d theme pack is different from all other themes.
...found line in coldsteel and others.
thanks for help
   
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: 16
Join Date: Aug 2006
12-23-2006, 10:16 PM

Quote:
Originally Posted by boriskender
probably that was the problem cuz in subblack3d in theme.php there is no that line
i c content of the subblack3d theme pack is different from all other themes.
...found line in coldsteel and others.
thanks for help
I have that Theme and mine work look at line 169 should look like this

function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4;
if (defined('INDEX_FILE')) {
$tmpl_file = "themes/subBlack3d/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(right);
}


Well cant ofc not say is on line 169 whit u, but alest it should be

But if u cant get it to work, send me a mail then i send it to u
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Junior Member
 
Status: Offline
Posts: 3
Join Date: Dec 2006
12-27-2006, 01:40 AM

all was my mistake. i allready had that themes but when i downloaded freshone from this site, theme.php was right, not like one that i had.
thanks for help!
   
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
Were are the blocks? defquon Nuke 7.x - Themes 2 02-01-2006 12:10 PM
Right blocks Blood Nuke 7.x - General 2 07-19-2004 01:51 PM
Pic of the Day Blocks? Maniax_Man Nuke 6.5 to 6.9 - Blocks 3 06-03-2003 11:44 PM
Looking for blocks micklo Nuke 6.5 to 6.9 - Blocks 3 05-18-2003 04:11 PM
Blocks SD12 Open topics 13 01-28-2003 02:33 PM




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