Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
viper155
Regular
Regular



Joined: Feb 18, 2006
Posts: 99

PostPosted: Tue Feb 21, 2006 9:07 pm Reply with quote

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);
 
View user's profile Send private message Visit poster's website
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Tue Feb 21, 2006 10:47 pm Reply with quote

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:
Code:
index = 1;
or
Code:
define('INDEX_FILE', true); 

?

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
viper155







PostPosted: Wed Feb 22, 2006 12:20 pm Reply with quote

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

PostPosted: Wed Feb 22, 2006 12:50 pm Reply with quote

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'.
 
View user's profile Send private message Send e-mail
viper155







PostPosted: Wed Feb 22, 2006 2:12 pm Reply with quote

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







PostPosted: Wed Feb 22, 2006 4:09 pm Reply with quote

Glad you have it sorted - does this mean I can now ignore your PM?
 
viper155







PostPosted: Wed Feb 22, 2006 4:24 pm Reply with quote

Yes sir and anyone else I may have contacted.

Thanks
 
Guardian2003







PostPosted: Wed Feb 22, 2006 4:41 pm Reply with quote

LOL
 
kguske







PostPosted: Wed Feb 22, 2006 10:14 pm Reply with quote

Thanks for following up on this!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©