Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v1.x Distro
Author Message
porcupinepc
Involved
Involved


Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA

PostPosted: Fri Nov 25, 2005 1:48 pm Reply with quote

I have everything setup except i notice that no matter what theme i use, i have no right hand blocks. If i use the "traditional" theme, the blocks show on thr right and not left
 
View user's profile Send private message Send e-mail Visit poster's website ICQ Number
ByTeDeViL
New Member
New Member


Joined: Nov 25, 2005
Posts: 2

PostPosted: Fri Nov 25, 2005 3:22 pm Reply with quote

Hi, i have the same problem, no right blocks work.
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Fri Nov 25, 2005 3:33 pm Reply with quote

Guys...are you using the themes that comes with the nuke distribution ?
The not showing right blocks has been discussed a lot of times by now.

This is usually the result of your theme not using the latest security feature(s)in the latest patches.

In your theme.php find:

if ($index == 1) {

and change to:

if (defined('INDEX_FILE')) {
 
View user's profile Send private message
ByTeDeViL
PostPosted: Fri Nov 25, 2005 4:36 pm Reply with quote

Thanks, my bad Embarassed
 
hitwalker
PostPosted: Fri Nov 25, 2005 4:38 pm Reply with quote

Smile
 
porcupinepc
PostPosted: Fri Nov 25, 2005 5:05 pm Reply with quote

works fine now. i am using the Cobalt theme and i have edited the theme.php and all is fine now. Thanks everyone

Joe
 
arames
New Member
New Member


Joined: Apr 30, 2006
Posts: 13

PostPosted: Tue May 02, 2006 10:31 am Reply with quote

I have UNFORTUNATELY Nuke 7.8 Shocked , and installed a Theme.

But the right block dont show.

Here is the footer of theme.php

Quote:

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



Could the error be here???

Thank you in advance for your support Embarassed
 
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

PostPosted: Tue May 02, 2006 11:50 am Reply with quote

Yes it could, but that depends on whether you have the latest security 'patches' installed.
You say you are using nuke 7.8 but have posted in the Raven Nuke 7.6 forum - if you could clarify which version of nuke you are using that would help.
 
View user's profile Send private message Send e-mail
arames
PostPosted: Tue May 02, 2006 4:35 pm Reply with quote

Hello Guardian,

thank you for your reply.

YES I have installed the latest security patch from phpnuke.org, and as said I am running a Nuke 7.8

I posted in this forum since when i was searcing for an answer for the right block, i found this the closest post...

Thank you again for your help
 
Guardian2003
PostPosted: Tue May 02, 2006 5:20 pm Reply with quote

Now I am confused as phpnuke.prg has never released any security patches.

So you are using a theme called SMN_MAMBO from what I see and it looks like it is made for the Chatserv Security Patches. Although this is an assumption of mine,
Have you tried changing
Code:
if (defined('INDEX_FILE')) { 

to
Code:
if ($index == 1) { 


This is the opposite advice given by hitwalker for the simple reason that I am not sure you have the latest 'patches'
You can check yourself by looking at the theme.php for a theme that works.
Also remember that not all themes even use right blocks!
 
arames
PostPosted: Tue May 02, 2006 6:10 pm Reply with quote

Thank you!

Chanching this bit worked!
 
Guardian2003
PostPosted: Tue May 02, 2006 6:14 pm Reply with quote

Thats great news!!
 
rovshan
Hangin' Around


Joined: Nov 26, 2005
Posts: 29

PostPosted: Tue May 23, 2006 9:51 am Reply with quote

Just insert in all index.php pages of all modules this line

define('INDEX_FILE', true);

for activate right blocks....
 
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9456
Location: Arizona

PostPosted: Wed May 24, 2006 6:06 am Reply with quote

Just a note for all other readers, that what the previous poster posted will only work with nuke patches 3.1 or greater.

Regards, montego

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
ccac
Hangin' Around


Joined: May 23, 2006
Posts: 40

PostPosted: Tue Aug 22, 2006 8:57 pm Reply with quote

I have the correct statements in my theme -
Code:


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


and have the define('INDEX_FILE', true); stated in my TOPICS index, yet I still have no right blocks -

What am i doing wrong?

I have searched the forums for hours... and still have nothing.

please help.


Thanks!
 
View user's profile Send private message
ccac
PostPosted: Tue Aug 22, 2006 9:27 pm Reply with quote

Ahh I have to update - The Right block IS there.. it is just UNDER the topic page.. and to the left.. Sad

Any ideas why?

I am using the newest raven_nuke with the patch.

Thanks
 
Guardian2003
PostPosted: Wed Aug 23, 2006 2:29 am Reply with quote

If you are using Raven Nuke then you must be using a custom theme not supplied with Raven Nuke.
Check your theme.php file again for instances of
Code:
$index="1"
and replace it with
Code:
define('INDEX',True);


If you are using any none standard Raven Nuke modules these might be old file and you fill have to search the modules index.php file for the same thing.
 
ccac
PostPosted: Wed Aug 23, 2006 9:11 pm Reply with quote

Thank You for your comments. I have done all of that, and the right block does work in other modules. However in the Topics module, it shows BELOW the topics module. It is all ravins work...

Please throw any ideas Wink

Thanks!
 
Guardian2003
PostPosted: Thu Aug 24, 2006 3:12 am Reply with quote

If you are using the latest Raven Nuke then you shouldn't be having this problem unless you are using a different Topics module OR you have edited the themes theme.php, mainfile.php or the Topic module index.php for some reason and made a typo.

Have you made any changes to the default installation at all?
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v1.x Distro

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 ©