Lost Password?


Go Back   CodeCall Programming Forum > Web Development Forum > PHP Forum

PHP Forum Use this forum to discuss all aspects of PHP Development. PHP is a server-side, cross-platform, HTML embedded scripting language that lets you create dynamic web pages.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-14-2007, 08:21 AM
Ferinos Ferinos is offline
Newbie
 
Join Date: May 2007
Posts: 4
Rep Power: 0
Ferinos is on a distinguished road
Default Php Right Bar error, need help ASAP

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-14-2007, 08:58 AM
Jordan's Avatar   
Jordan Jordan is online now
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,229
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

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?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-14-2007, 09:06 AM
TkTech TkTech is offline
 
Join Date: Jun 2006
Posts: 992
Last Blog:
Having trouble with yo...
Rep Power: 20
TkTech is on a distinguished road
Send a message via MSN to TkTech
Default

Nope, he means fh-clan.net
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-14-2007, 09:17 AM
Ferinos Ferinos is offline
Newbie
 
Join Date: May 2007
Posts: 4
Rep Power: 0
Ferinos is on a distinguished road
Default

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.

Last edited by Ferinos; 05-14-2007 at 10:09 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-14-2007, 02:06 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,433
Last Blog:
Google Web Toolkit
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
Send a message via AIM to John Send a message via MSN to John
Default

You need to open theme.php and find

PHP Code:
if($index 1){ 
and replace it with

PHP Code:
if(defined('INDEX_FILE')) { 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 05-14-2007, 04:55 PM
Ferinos Ferinos is offline
Newbie
 
Join Date: May 2007
Posts: 4
Rep Power: 0
Ferinos is on a distinguished road
Default

Quote:
Originally Posted by Sidewinder View Post
You need to open theme.php and find

PHP Code:
if($index 1){ 
and replace it with

PHP Code:
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-14-2007, 04:58 PM
Ferinos Ferinos is offline
Newbie
 
Join Date: May 2007
Posts: 4
Rep Power: 0
Ferinos is on a distinguished road
Default

Ah it worked!
My friend you are a GOD!!!!!


Thanks soooooooooo much finally world domination is within my grasp!!!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-14-2007, 06:01 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 20
Posts: 3,433
Last Blog:
Google Web Toolkit
Rep Power: 20
John has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond reputeJohn has a reputation beyond repute
Send a message via AIM to John Send a message via MSN to John
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 4 end of life announcement Jordan Programming News 4 08-30-2007 10:55 AM
PHP Introduction clookid PHP Tutorials 10 01-16-2007 08:17 AM


All times are GMT -5. The time now is 04:34 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 98%

Ads