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
Php Right Bar error, need help ASAP
Started by Ferinos, May 14 2007 04:21 AM
7 replies to this topic
#1
Posted 14 May 2007 - 04:21 AM
|
|
|
#2
Guest_Jordan_*
Posted 14 May 2007 - 04:58 AM
Guest_Jordan_*
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?
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
Posted 14 May 2007 - 05:06 AM
Nope, he means fh-clan.net
#4
Posted 14 May 2007 - 05:17 AM
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.
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
Posted 14 May 2007 - 10:06 AM
You need to open theme.php and find
and replace it with
if($index = 1){
and replace it with
if(defined('INDEX_FILE')) {
#6
Posted 14 May 2007 - 12:55 PM
Sidewinder said:
You need to open theme.php and find
and replace it with
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
Posted 14 May 2007 - 12:58 PM
Ah it worked!
My friend you are a GOD!!!!!
Thanks soooooooooo much finally world domination is within my grasp!!!!! :D
My friend you are a GOD!!!!!
Thanks soooooooooo much finally world domination is within my grasp!!!!! :D
#8
Posted 14 May 2007 - 02:01 PM
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.


Sign In
Create Account

Back to top









