Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
Turion
New Member
New Member



Joined: Jan 08, 2006
Posts: 1

PostPosted: Mon Jan 09, 2006 2:35 am Reply with quote

Hello,

I installed the new RavenNuke 7.6 2.0 and it works great, except that most of the themes are missing the Right Blocks.

Is there some code that I can add to allow me to have the Right Blocks back?


Thanks

T
 
View user's profile Send private message
dezina
Theme Guru



Joined: Dec 26, 2002
Posts: 57
Location: UK

PostPosted: Mon Jan 09, 2006 2:57 am Reply with quote

Code:
In your theme.php find: 

if ($index == 1) {

and change to:
if (defined('INDEX_FILE')) {
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Jan 09, 2006 3:23 am Reply with quote

Thanks D! For future reference, Turion, always consult the FAQ before posting questions Wink [ Only registered users can see links on this board! Get registered or login! ]
 
View user's profile Send private message
Raven







PostPosted: Mon Jan 09, 2006 5:36 am Reply with quote

Turion, I am puzzled. All of the themes included with the distribution have the correct code in them and the right blocks are there. Are you using the ones I packaged or are you using your old themes and copied them over instead?
 
beerfrog
Regular
Regular



Joined: Sep 11, 2005
Posts: 54
Location: Sweden

PostPosted: Mon Jan 09, 2006 8:09 am Reply with quote

Raven wrote:
Turion, I am puzzled. All of the themes included with the distribution have the correct code in them and the right blocks are there. Are you using the ones I packaged or are you using your old themes and copied them over instead?


I just installed raven v2 and it was smoth and easy setup.
But when changing to "traditionel" theme that comes with the package I lose the right blocks, changing back to ravens default theme (fis...) brings them back...

Anyone else have this problem?

Cheers / B

_________________
Image 
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Raven







PostPosted: Mon Jan 09, 2006 10:10 am Reply with quote

Hmmmm. Okay, I guess I better look into this more. Specifically, what theme did you try that caused the right blocks to disappear?
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Jan 09, 2006 10:18 am Reply with quote

Locate file themes/Traditional/theme.php
Find
Code:
function themefooter() {

    if (defined('INDEX_FILE')) {

Change to
Code:
function themefooter() {

global $index
    if (defined('INDEX_FILE')) {

See if that helps.

FYI I dont think the 'Traditional' theme has ever had right blocks on by default.
 
View user's profile Send private message Send e-mail
Raven







PostPosted: Mon Jan 09, 2006 10:27 am Reply with quote

Laughing - I wasn't thinking the theme name was Traditional ROTFL I was thinking of the word as a term and not an object. Thanks G.!
 
beerfrog







PostPosted: Mon Jan 09, 2006 1:23 pm Reply with quote

Raven wrote:
Laughing - I wasn't thinking the theme name was Traditional ROTFL I was thinking of the word as a term and not an object. Thanks G.!


Wave
Now thats funny ROTFL

I'll try G's fix tomorrow at work.

Just installed Fedora here at home and when it comes to Linux i'm a REAL novice, but one's gotta try things to learn, right!?

Cheers / B Cheers
 
beerfrog







PostPosted: Mon Jan 09, 2006 1:35 pm Reply with quote

beerfrog wrote:
Raven wrote:
Turion, I am puzzled. All of the themes included with the distribution have the correct code in them and the right blocks are there. Are you using the ones I packaged or are you using your old themes and copied them over instead?


I just installed raven v2 and it was smoth and easy setup.
But when changing to "traditionel" theme that comes with the package I lose the right blocks, changing back to ravens default theme (fis...) brings them back...

Anyone else have this problem?

Cheers / B


I just realized I made a misstake here!

When doing the above I loose the LEFT-Blocks!
Not Right blocks as posted earlier!

This happens when I change default theme for site in admin preferences.
I if I choose "TRADITIONAL" as default i loose left side blocks, changing back brings 'em back!

Just so you know...

I aint gonna use trad, just saw it while playing around with my new smooth install!

Cheers / B
 
Raven







PostPosted: Mon Jan 09, 2006 2:32 pm Reply with quote

The theme's were all supposed to updated throguh the 3.1 PatchLevel updates, if they had right blocks in the first place. I will review the coding in all the themes before the next release. Thanks.
 
spacy
Hangin' Around



Joined: Oct 25, 2005
Posts: 46
Location: Hamburg/Germany

PostPosted: Mon Jan 16, 2006 4:12 pm Reply with quote

I have the problem that my right blocks do not appear. Only the modules News and coppermine work fine. I use the fisubice-theme but with other themes is the side also not working. I have just setup an other side only with the distro and there is the same problem. My other sides with Nuke-Platinum and Nuke are woking fine after adding $index = 1;
What could be the problem?

Thanks, spacy
 
View user's profile Send private message
Raven







PostPosted: Mon Jan 16, 2006 6:07 pm Reply with quote

Please read the FAQ. We have answered this question multiple times.
 
spacy







PostPosted: Tue Jan 17, 2006 2:12 am Reply with quote

Raven, you mean this:

In your theme.php find:
if ($index == 1) {

and change to:
if (defined('INDEX_FILE')) {

Thats already so at my theme.php here you see:

// if ($index == 1) {
if (defined('INDEX_FILE')) {

But the right blocks do not appear
 
Raven







PostPosted: Tue Jan 17, 2006 4:06 am Reply with quote

Yes, that should take care of it.
 
spacy







PostPosted: Tue Jan 17, 2006 4:09 am Reply with quote

But it doesn't. I'm confused and don't not have more ideas...
 
Raven







PostPosted: Tue Jan 17, 2006 4:30 am Reply with quote

Make sure that your modules have define('INDEX_FILE', true); in them for the ones that you want the right blocks to appear.
 
spacy







PostPosted: Tue Jan 17, 2006 4:37 am Reply with quote

Thanks a lot that was the problem.
 
spacy







PostPosted: Tue Jan 17, 2006 4:54 am Reply with quote

I have just seen that define('INDEX_FILE', true); does not work with the forums, private_message and the members_list-modules
 
Guardian2003







PostPosted: Tue Jan 17, 2006 9:53 am Reply with quote

So I can test on my site, can you clarify which theme you are using please.
 
spacy







PostPosted: Tue Jan 17, 2006 10:11 am Reply with quote

I use the fisubice-theme.
 
Guardian2003







PostPosted: Tue Jan 17, 2006 10:53 am Reply with quote

And you have added that define to the define to the index.php files for those modules as per the readme?
 
spacy







PostPosted: Tue Jan 17, 2006 12:30 pm Reply with quote

Yes i did define('INDEX_FILE', true); into the index.php of these three modules but nothing happend.
 
Guardian2003







PostPosted: Tue Jan 17, 2006 12:39 pm Reply with quote

Please PM me your
web address
ftp log-in
admin and sentinel log-in
so I can take a look as this should be working for you.

Sorry Raven, looks like I have inadvertantly hijacked this thread.
 
bfnuke
Hangin' Around



Joined: Feb 01, 2006
Posts: 43

PostPosted: Wed Feb 08, 2006 10:15 am Reply with quote

Just for grins, I just tried on forums and private messages as well, and it doesn't seem to add the right blocks back correctly. The right block seems to wrap to teh left side. Using the fisubice theme as well.

Sorry can't give login info as mine is on localhost for testing only...
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

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 ©