» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 64
1 members and 63 guests
OnlineOemSHOP
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on Right blocks within the Nuke 7.x - Themes forums, part of the PHP-Nuke 7.x category; I am running PHPNuke 7.9 I installed PHPNuke 7.9 on webserver and everything was fine, until now, when ...



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

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-08-2006, 11:57 AM
Junior Member
 
Join Date: Oct 2005
Posts: 3
Right blocks
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
  #2 (permalink)  
Old 10-08-2006, 03:31 PM
Junior Member
 
Join Date: Sep 2006
Posts: 13
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
  #3 (permalink)  
Old 10-09-2006, 04:53 AM
Junior Member
 
Join Date: Oct 2005
Posts: 3
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
  #4 (permalink)  
Old 10-09-2006, 05:08 AM
Junior Member
 
Join Date: Oct 2005
Posts: 3
Nevermind i got it working now thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-22-2006, 03:24 PM
Junior Member
 
Join Date: Dec 2006
Posts: 3
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
  #6 (permalink)  
Old 12-22-2006, 05:20 PM
Junior Member
 
Join Date: Aug 2006
Posts: 16
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
  #7 (permalink)  
Old 12-23-2006, 09:11 PM
Junior Member
 
Join Date: Dec 2006
Posts: 3
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
  #8 (permalink)  
Old 12-23-2006, 09:16 PM
Junior Member
 
Join Date: Aug 2006
Posts: 16
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
  #9 (permalink)  
Old 12-27-2006, 12:40 AM
Junior Member
 
Join Date: Dec 2006
Posts: 3
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 11:10 AM
Right blocks Blood Nuke 7.x - General 2 07-19-2004 12:51 PM
Pic of the Day Blocks? Maniax_Man Nuke 6.5 to 6.9 - Blocks 3 06-03-2003 10:44 PM
Looking for blocks micklo Nuke 6.5 to 6.9 - Blocks 3 05-18-2003 03:11 PM
Blocks SD12 Open topics 13 01-28-2003 01:33 PM


All times are GMT -5. The time now is 06:31 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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