Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BB2Nuke
Author Message
amber222
Regular
Regular



Joined: Jun 09, 2004
Posts: 79

PostPosted: Mon Feb 14, 2011 12:06 pm Reply with quote

I convinced someone to move from Nuke 8.0 to RavenNuke 2.40.01. Now they are wanting their site to look just like it did before with the right blocks appearing on all pages. The right blocks only show up on the forum's index page. All other forum pages hide the right blocks.

The code was added to modules/Forums/index.php:

Code:
define('INDEX_FILE', true);



The themefooter shows:

Code:
    if (defined('INDEX_FILE') && INDEX_FILE===true) {



How can we get the right blocks to show on all forum pages as they do in 8.0?
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Mon Feb 14, 2011 1:28 pm Reply with quote

in your themes theme.php under function themeheader() add $module_name to the globals and add the following code:

Code:


if ($module_name==Forums){
  define('INDEX_FILE', true);
}

_________________
Tricked Out News 
View user's profile Send private message Send e-mail Visit poster's website
amber222







PostPosted: Mon Feb 14, 2011 2:26 pm Reply with quote

It works! Thanks so much! I had spent several days searching. Very Happy
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> BB2Nuke

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 ©