Author |
Message |
viper155
Regular


Joined: Feb 18, 2006
Posts: 99
|
Posted:
Tue Feb 21, 2006 9:07 pm |
|
Hey guys ive made the change in my theme *SubBlack* and yet still no right blocks or footer..
Ive looked through my root/modules folders and cant see to find anything mentioned in the directions I will post below.. Ive made a block also from the admin block section with just text and that doesnt show either..
Quote: | Important notes relating to Nuke Patched 3.1:
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')) { |
This is my theme.php if you care to see if im doing something wrong.
Code:function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4, $copyright, $totaltime, $footer_message;
if (defined('INDEX_FILE')) {
$tmpl_file = "themes/subBlack/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(right);
|
|
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Tue Feb 21, 2006 10:47 pm |
|
And if we don't care? Just kidding!
Not sure where the closing } is in your theme, but if it's not blank from a parsing error, it appears to be correct.
You don't see anything in your modules/xxx/index.php files that looks like:
orCode:define('INDEX_FILE', true);
|
? |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
viper155

|
Posted:
Wed Feb 22, 2006 12:20 pm |
|
I am using ravens phpnuke 7.6 package but its currently using my 7.6 database from before I uploaded that package. My guess is that its a database issue.
My sites database is 7.6 and im wondering if the patched 7.6 has a sql upgrade file for the database? |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Wed Feb 22, 2006 12:50 pm |
|
Well you would definitely want to bring your DB schema to the RN7.6 spec if you are only using the RN script files at the moment - there are a number of reasons why but lets just us one 'it would be for the best'. |
|
|
|
 |
viper155

|
Posted:
Wed Feb 22, 2006 2:12 pm |
|
Wow I hate myself and footer.php
Ok here is my footer.php at the bottom with the module E-Solution edits in it
Code:# /***** Esolution 1.5 Footer code **/
if (file_exists("includes/esolutionfooter.php")) {
include("includes/esolutionfooter.php");
}
# # untill here
# /***** Esolution 1.5 End Footer code **/foot();
?>
|
Here is how it was suppose to be..
Code:# /***** Esolution 1.5 Footer code **/
if (file_exists("includes/esolutionfooter.php")) {
include("includes/esolutionfooter.php");
}
# # untill here
# /***** Esolution 1.5 End Footer code **/
foot();
?>
|
That one little mess up by me with the foot():.... How can you guys do this for fun? lol
and raven I will be donating money to this site for all the scripts/ help and you having to deal with my noobie questions for a few days. |
|
|
|
 |
Guardian2003

|
Posted:
Wed Feb 22, 2006 4:09 pm |
|
Glad you have it sorted - does this mean I can now ignore your PM? |
|
|
|
 |
viper155

|
Posted:
Wed Feb 22, 2006 4:24 pm |
|
Yes sir and anyone else I may have contacted.
Thanks |
|
|
|
 |
Guardian2003

|
Posted:
Wed Feb 22, 2006 4:41 pm |
|
|
|
 |
kguske

|
Posted:
Wed Feb 22, 2006 10:14 pm |
|
Thanks for following up on this! |
|
|
|
 |
|