PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  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
GeoffM
New Member
New Member


Joined: May 19, 2004
Posts: 21
Location: Bellingham, WA.

PostPosted: Sun May 01, 2005 6:06 pm Reply with quote Back to top

CS, just to let you know so you can add this to your KBase I ran the NSentinel Patch for PNP from Platinum Mods (
Only registered users can see links on this board!
Get registered or login to the forums!
) this corrected the form admin display I believe the issue may have been with either /Forms/admin/common.php or with the Protector Mod inculded in PNP release
View user's profile Send private message Visit poster's website
GeoffM
New Member
New Member


Joined: May 19, 2004
Posts: 21
Location: Bellingham, WA.

PostPosted: Mon May 02, 2005 3:24 pm Reply with quote Back to top

On a slightly differant subject Chatserv, would Sentinel(tm) cause users not to be able to set there own theme regaurdless of the Site settings? (Your account Admin, and Preferances allow users to set own theme) this worked before the mod (I'll go ask on PlatMods too)
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


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

PostPosted: Mon May 02, 2005 3:34 pm Reply with quote Back to top

No. NukeSentinel(tm) does not operate at that level.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
GeoffM
New Member
New Member


Joined: May 19, 2004
Posts: 21
Location: Bellingham, WA.

PostPosted: Mon May 02, 2005 3:48 pm Reply with quote Back to top

Thanks Raven. (methinks it's the mainfile.php)
View user's profile Send private message Visit poster's website
T-Ridder
New Member
New Member


Joined: Nov 29, 2005
Posts: 1

PostPosted: Mon Dec 05, 2005 12:22 pm Reply with quote Back to top

chatserv wrote:
In includes/sentinel.php find:
Code:
// Load required scripts
if ($forum_admin == 1) {
  require_once("../../../config.php");
  require_once("../../../db/db.php");
  $lang_dir = "../../../";
} elseif ($inside_mod == 1) {
  require_once("../../config.php");
  require_once("../../db/db.php");
  $lang_dir = "../../";
} else {
  require_once("config.php");
  require_once("db/db.php");
  $lang_dir = "";
}

Change to:
Code:
// Load required scripts
if (defined('FORUM_ADMIN')) {
  require_once("../../../config.php");
  require_once("../../../db/db.php");
  $lang_dir = "../../../";
} elseif (defined('INSIDE_MOD')) {
  require_once("../../config.php");
  require_once("../../db/db.php");
  $lang_dir = "../../";
} else {
  require_once("config.php");
  require_once("db/db.php");
  $lang_dir = "";
}


and on mainfile.php find:
Code:
   if ($forum_admin == 1) {
       include_once("../../../includes/sentinel.php");
   } elseif ($inside_mod == 1) {
       include_once("../../includes/sentinel.php");
   } else {
       include_once("includes/sentinel.php");
   }

Change to:
Code:
if (defined('FORUM_ADMIN')) {
   include("../../../includes/sentinel.php");
} elseif (defined('INSIDE_MOD')) {
   include("../../includes/sentinel.php");
} else {
   include("includes/sentinel.php");
}


1st post from me, and 1st problem I had, That fixed it, Many Thanks chatserv!

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