Problems with right blocks

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Problems with right blocks
EFFBMBR
CZ Newbie
EFFBMBR has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: May 20, 2007
0.00 posts per day
Posts: 5
Points: 0
   
Hey guys...

I downloaded some themes from [ Register or login to view links on this board. ] and when i preview them on their websitethey all have right blocks, but when i set them as my theme they are no right blocks and i don't know how to enable them...

Any help will be much appriciated...

Cheers, Jamie !



Back to top Reply with quote
#2   re: Problems with right blocks
web-hosting
CZ Newbie
web-hosting has been a member for over 17 year's 17 Year Member
Gender: Male
Website:
Status: Offline
Joined: May 21, 2007
0.00 posts per day
Posts: 3
Points: 50
   
This is caused because you are running a patched version of phpnuke whereas the themes you downloaded were designed for the non patched versions.

Anyhow its a simple fix.

open theme.php

find

if ($index == 1) {


and replace it with

if (defined('INDEX_FILE')) {



Back to top Reply with quote
#3   
EFFBMBR
CZ Newbie
EFFBMBR has been a member for over 17 year's 17 Year Member
Gender: Male
Status: Offline
Joined: May 20, 2007
0.00 posts per day
Posts: 5
Points: 0
   
Thanks mate it works a charm, much appriciated !!!



Back to top Reply with quote
#4   re: Problems with right blocks
digidot
CZ Newbie
digidot has been a member for over 17 year's 17 Year Member
usa.gif california.gif
Gender: Male
Status: Offline
Joined: Aug 27, 2007
0.00 posts per day
Posts: 4
Points: 0
   
Yes,

Thanks from me to !

I was looking for that solution icon_biggrin.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum