Author |
Message |
porcupinepc
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/computerguy.gif)
Joined: Sep 20, 2003
Posts: 261
Location: Schumacher, Ontario CANADA
|
Posted:
Fri Nov 25, 2005 1:48 pm |
|
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 |
|
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
ByTeDeViL
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Nov 25, 2005
Posts: 2
|
Posted:
Fri Nov 25, 2005 3:22 pm |
|
Hi, i have the same problem, no right blocks work. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
Sells PC To Pay For Divorce
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined:
Posts: 5661
|
Posted:
Fri Nov 25, 2005 3:33 pm |
|
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')) { |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ByTeDeViL
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Nov 25, 2005 4:36 pm |
|
Thanks, my bad ![Embarassed](modules/Forums/images/smiles/icon_redface.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hitwalker
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Nov 25, 2005 4:38 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
porcupinepc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Nov 25, 2005 5:05 pm |
|
works fine now. i am using the Cobalt theme and i have edited the theme.php and all is fine now. Thanks everyone
Joe |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
arames
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Apr 30, 2006
Posts: 13
|
Posted:
Tue May 02, 2006 10:31 am |
|
I have UNFORTUNATELY Nuke 7.8 , 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](modules/Forums/images/smiles/icon_redface.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Tue May 02, 2006 11:50 am |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
arames
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue May 02, 2006 4:35 pm |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue May 02, 2006 5:20 pm |
|
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
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! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
arames
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue May 02, 2006 6:10 pm |
|
Thank you!
Chanching this bit worked! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue May 02, 2006 6:14 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rovshan
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Nov 26, 2005
Posts: 40
|
Posted:
Tue May 23, 2006 9:51 am |
|
Just insert in all index.php pages of all modules this line
define('INDEX_FILE', true);
for activate right blocks.... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed May 24, 2006 6:06 am |
|
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! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ccac
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: May 23, 2006
Posts: 40
|
Posted:
Tue Aug 22, 2006 8:57 pm |
|
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! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ccac
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Aug 22, 2006 9:27 pm |
|
Ahh I have to update - The Right block IS there.. it is just UNDER the topic page.. and to the left..
Any ideas why?
I am using the newest raven_nuke with the patch.
Thanks |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 23, 2006 2:29 am |
|
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 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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ccac
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Aug 23, 2006 9:11 pm |
|
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
Thanks! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Aug 24, 2006 3:12 am |
|
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? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|