Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
badkemo
Worker
Worker



Joined: Mar 31, 2004
Posts: 111

PostPosted: Mon Sep 26, 2005 9:27 pm Reply with quote

Hi!

I have a problem on phpnuke7.8 when i installed the pach i cant get the right blocks to display on index.php i have checked if the blocks were active and they are I also creted new ones but it wont display them on index.php

is there a trick on it? or do i have an error?

here you can see the web [ Only registered users can see links on this board! Get registered or login! ]

I appriciate the answer

thank you
 
View user's profile Send private message
badkemo







PostPosted: Mon Sep 26, 2005 11:21 pm Reply with quote

I think I found a solution to this problem in readme.txt in the phpnuke7.8 pach folder

Important notes relating to Nuke Patched 3.1:

1- If you want right side blocks to appear in third party add-ons change:
In Modules:
index = 1;
to:
define('INDEX_FILE', true);
In Themes:
if ($index == 1) {
to:
if (defined('INDEX_FILE')) {
 
spork
Hangin' Around



Joined: May 12, 2005
Posts: 37

PostPosted: Wed Oct 05, 2005 5:08 pm Reply with quote

i just got nuke 7.6 with the 3.1 patch..this is the only patch ive put on it period..
i have no addons at this point at all what so ever
i have no special blocks there for i wouldent need to change any codeing except in my theme

this is my theme code that i changed and it does not work for me

if (defined('INDEX_FILE')) {
echo"</td>"
. " <td width=\"170\" valign=\"top\">"
."";


blocks(right);

}
echo"</td>"
. " <td width=\"41\" valign=\"top\" background=\"themes/KAOS/images/right.jpg\"><img src=\"themes/KAOS/images/right.jpg\" width=\"41\" height=\"2\"></td>"
. " </tr>"
. "</table>"
."";


include("themes/KAOS/footer.php");

must be something in other files of the theme i missed?
downloads weblinks
(listed above works with right side blocks)
(news journal statistics stories archive submit news the list goes on and) on some of them work with right side blocks some dont?

please sho me the light raven or someone that knows thankyou
 
View user's profile Send private message
spork







PostPosted: Wed Oct 05, 2005 5:52 pm Reply with quote

nevermind im gunna dl your download for it raven Smile
 
Themis
Worker
Worker



Joined: Nov 17, 2003
Posts: 131

PostPosted: Wed Oct 05, 2005 6:32 pm Reply with quote

I have Raven's download of 7.6/3.1 and I still have to edit my theme files. It is just the one line of code for it is all.


PostPosted: Thu Sep 29, 2005 9:57 pm Post subject: Reply with quote
in the theme.php file edit this line in the footer section

if ($index == 1) {

to


if (defined('INDEX_FILE')) {

Has worked on all the themes I've tried it on so far.

_________________
Shonierose
Shonie's Retreat [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message Visit poster's website AIM Address
spork







PostPosted: Wed Oct 05, 2005 6:37 pm Reply with quote

good then i should have no problems with this lol

i think the problem started becase i downloaded phpnuke then i added what nuke scripts had to add to it..who knows lol..thanks thoe
 
Themis







PostPosted: Fri Oct 07, 2005 9:43 pm Reply with quote

Well it seemed like this was working......but now I have no right blocks again :/ Anyone else have any luck?
 
spork







PostPosted: Fri Oct 07, 2005 10:06 pm Reply with quote

mine works correctly..
i redownloaded ravens version and that works perfectly..
the patch is included ..
you dont have to nothing but make one theme edit..
my adivce is if ya downloaded anything elce but ravens download get his and trash the other
 
Themis







PostPosted: Fri Oct 07, 2005 10:43 pm Reply with quote

I have Raven's. I figured it out, it was MetOpen_Home_Page mod I wanted to use. When I put news back all was well. Smile
 
spork







PostPosted: Fri Oct 07, 2005 10:52 pm Reply with quote

hey cool good deal..wich site is it u are working on?
 
Themis







PostPosted: Sat Oct 08, 2005 8:03 am Reply with quote

[ Only registered users can see links on this board! Get registered or login! ] Still looking at themes and such. Think I found some at lorkan last night that I like....
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©