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)
Post new topic   Reply to topic
Author Message
sabastina
Hangin' Around


Joined: May 12, 2005
Posts: 37

PostPosted: Thu May 26, 2005 12:20 pm Reply with quote Back to top

Is there a conflict with the coding for the two add ons? because i get this when i try to use the centerblocks

Code:
It appears that NSN Center Blocks has not been configured correctly. The most common cause is that you either have an error in the syntax that is including includes/nsncb_func.php from your mainfile.php, or you have not added the NSN Center Blocks code to your mainfile.php. This code must be placed immediately before the closing ?> tag in mainfile.php. So your first 7 lines in mainfile.php must look like this:


if (defined('FORUM_ADMIN')) {
  include("../../../includes/nsncb_func.php");
} elseif (defined('INSIDE_MOD')) {
  include("../../includes/nsncb_func.php");
} else {
  include("includes/nsncb_func.php");
}
?>


I don't understand how THAT can be on the first 7 lines if the sentinel code is supposed to be on those 7 lines?

Could someone let me know how this works please?

Thanks for reading!

Sabastina
View user's profile Send private message
BobMarion
Former Admin in Good Standing


Joined: Oct 30, 2002
Posts: 1043
Location: RedNeck Land (known as Kentucky)

PostPosted: Thu May 26, 2005 12:48 pm Reply with quote Back to top

It should say the last 7 lines instead of the first 7 lines Smile
View user's profile Send private message Send e-mail Visit poster's website
BobMarion
Former Admin in Good Standing


Joined: Oct 30, 2002
Posts: 1043
Location: RedNeck Land (known as Kentucky)

PostPosted: Thu May 26, 2005 12:51 pm Reply with quote Back to top

On a similar note lets say you have both NSN Groups and NSN Center Blocks you could change from:
Code:
if (defined('FORUM_ADMIN')) {
  include("../../../includes/nsncb_func.php");
} elseif (defined('INSIDE_MOD')) {
  include("../../includes/nsncb_func.php");
} else {
  include("includes/nsncb_func.php");
}
if (defined('FORUM_ADMIN')) {
  include("../../../includes/nsngr_func.php");
} elseif (defined('INSIDE_MOD')) {
  include("../../includes/nsngr_func.php");
} else {
  include("includes/nsngr_func.php");
}
to a much shorter:
Code:
if (defined('FORUM_ADMIN')) {
  include("../../../includes/nsncb_func.php");
  include("../../../includes/nsngr_func.php");
} elseif (defined('INSIDE_MOD')) {
  include("../../includes/nsncb_func.php");
  include("../../includes/nsngr_func.php");
} else {
  include("includes/nsncb_func.php");
  include("includes/nsngr_func.php");
}
View user's profile Send private message Send e-mail Visit poster's website
sabastina
Hangin' Around


Joined: May 12, 2005
Posts: 37

PostPosted: Thu May 26, 2005 11:52 pm Reply with quote Back to top

Thanks for that insight.

I haven't had a chance to spend much time learning the how to's of coding for nuke as I go to school full time and spend the summer building my site (which for the past 2 years is gracefullly hacked at the end of the summer!) That's why this time, I want to ensure that NOTHING interferes with the sentinel coding!

It really helps to get informatin like this because it just integrates it's self into my work with the nuke. Smile

I wish I'd have gone into coding, but it seems that my place is else where....lol

**Off Topic**

Also, I want to say thanks so much to you for taking the time to not only build the mods for nuke, but for keeping up on the upgrades and fixes, and for taking furthur time to address our issues.

Your kindness makes many feel as though they are part of something bigger than themselves Very Happy

Anyhow, I'm grateful that you stayed around, because people like you make a big difference in peoples lives.

Respectfully,

Sabastina
View user's profile Send private message
sabastina
Hangin' Around


Joined: May 12, 2005
Posts: 37

PostPosted: Thu May 26, 2005 11:53 pm Reply with quote Back to top

Thanks for that insight.

I haven't had a chance to spend much time learning the how to's of coding for nuke as I go to school full time and spend the summer building my site (which for the past 2 years is gracefullly hacked at the end of the summer!) That's why this time, I want to ensure that NOTHING interferes with the sentinel coding!

It really helps to get informatin like this because it just integrates it's self into my work with the nuke. Smile

I wish I'd have gone into coding, but it seems that my place is else where....lol

**Off Topic**

Also, I want to say thanks so much to you for taking the time to not only build the mods for nuke, but for keeping up on the upgrades and fixes, and for taking furthur time to address our issues.

Your kindness makes many feel as though they are part of something bigger than themselves Very Happy

Anyhow, I'm grateful that you stayed around, because people like you make a big difference in peoples lives.

Respectfully,

Sabastina
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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-2010 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