PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Turion
New Member
New Member


Joined: Jan 08, 2006
Posts: 1

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

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 Back to top

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: 16986
Location: Kansas

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

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 to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
beerfrog
Regular
Regular


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

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

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

Hmmmm. Okay, I guess I better look into this more. Specifically, what theme did you try that caused the right blocks to disappear?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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 Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

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.!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
beerfrog
Regular
Regular


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

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

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
beerfrog
Regular
Regular


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

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

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
spacy
Hangin' Around


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

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

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
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

Please read the FAQ. We have answered this question multiple times.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
spacy
Hangin' Around


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

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

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
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

Yes, that should take care of it.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
spacy
Hangin' Around


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

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

But it doesn't. I'm confused and don't not have more ideas...
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

Make sure that your modules have define('INDEX_FILE', true); in them for the ones that you want the right blocks to appear.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
spacy
Hangin' Around


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

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

Thanks a lot that was the problem.
View user's profile Send private message
spacy
Hangin' Around


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

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

I have just seen that define('INDEX_FILE', true); does not work with the forums, private_message and the members_list-modules
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

So I can test on my site, can you clarify which theme you are using please.
View user's profile Send private message Send e-mail Visit poster's website
spacy
Hangin' Around


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

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

I use the fisubice-theme.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

And you have added that define to the define to the index.php files for those modules as per the readme?
View user's profile Send private message Send e-mail Visit poster's website
spacy
Hangin' Around


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

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

Yes i did define('INDEX_FILE', true); into the index.php of these three modules but nothing happend.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

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

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.
View user's profile Send private message Send e-mail Visit poster's website
bfnuke
Hangin' Around


Joined: Feb 01, 2006
Posts: 43

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

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.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum