Jump to content

Php Right Bar error, need help ASAP

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
Ferinos

Ferinos

    Newbie

  • Members
  • Pip
  • 4 posts
I have tried using custom phpnuke themes, about 10 to be exact, and every time I use one that's been designed by someone else, the right bar of my site will not display.
fh-clan.net I hope you see what I mean.
I need assistance ASAP, so if you can help me please reply to this email, I am a php noob, so please explain things simply and accurately.

PS, in the theme tester where I downloaded the theme from, it shows the right bar, and I have had this on another host I used as well. Please help me!!!

I hope to hear from you soon,
Regards,
Ferinos

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Is this the right location? fh-clan.net :: Index

I couldn't see what you are talking about so I can't really help. Can you show me a theme with a right bar and then let me look at your website with the same theme?

#3
TkTech

TkTech

    The Crazy One

  • Moderators
  • 1,396 posts
Nope, he means fh-clan.net

#4
Ferinos

Ferinos

    Newbie

  • Members
  • Pip
  • 4 posts
fh-clan.net/home is the addy, I ll get the theme location later

Hitech Theme - PHPNuke-Downloads is the location for the theme. As you can see, it does display a sidebar, and I even tried using subBlack a while ago, but even that failed.

Any help would be great thanks.

#5
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
You need to open theme.php and find

if($index = 1){

and replace it with

if(defined('INDEX_FILE')) {


#6
Ferinos

Ferinos

    Newbie

  • Members
  • Pip
  • 4 posts

Sidewinder said:

You need to open theme.php and find

if($index = 1){

and replace it with

if(defined('INDEX_FILE')) {

if($index = 1){ was not found in the document. I found the following similar matches though:


function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4;
if ($index == 1) {
$tmpl_file = "themes/Hitech/center_right.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
blocks(right);

I'll copy the file and try editing that bit like you said to so I have a failsafe, and let you know if it works, thanks mate.

#7
Ferinos

Ferinos

    Newbie

  • Members
  • Pip
  • 4 posts
Ah it worked!
My friend you are a GOD!!!!!


Thanks soooooooooo much finally world domination is within my grasp!!!!! :D

#8
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
I'm glad you got it to work. With the newer versions of nuke [7.8. 7.9, 8.0], some of the core code was change. Being that a lot of the themes on the net are older, they were designed and tested on older versions or nuke. With all the new changes to nuke, I'm surprised this is the only compatibility issue.