Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)
Author Message
daltoniko
Regular
Regular



Joined: Dec 19, 2004
Posts: 61

PostPosted: Sun Mar 06, 2005 7:28 pm Reply with quote

i use phpnuke 7.3 with 2.8 patch... can i install sentinel 2.2.0??
 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Mar 06, 2005 7:50 pm Reply with quote

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



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

PostPosted: Sun Mar 06, 2005 10:28 pm Reply with quote

You can install it but you MUST make a few minor changes.
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 = "";
}


Becomes:
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 = "";
}


The code inserted in mainfile.php goes from:
Code:
if (defined('FORUM_ADMIN')) {

  @include_once("../../../includes/nukesentinel.php");
} elseif (defined('INSIDE_MOD')) {
  @include_once("../../includes/nukesentinel.php");
} else {
  @include_once("includes/nukesentinel.php");
}


To:
Code:
if ($forum_admin == 1) {

  @include_once("../../../includes/nukesentinel.php");
} elseif ($inside_mod == 1) {
  @include_once("../../includes/nukesentinel.php");
} else {
  @include_once("includes/nukesentinel.php");
}

_________________
Bob Marion
Codito Ergo Sum
http://www.nukescripts.net 
View user's profile Send private message Send e-mail Visit poster's website
daltoniko







PostPosted: Mon Mar 07, 2005 4:36 am Reply with quote

Thx men!
 
California
Hangin' Around



Joined: Mar 24, 2005
Posts: 28

PostPosted: Wed Mar 30, 2005 2:43 am Reply with quote

I am using 7.0 without any of chat's patches. Would the above code changes also be correct for my site to use NukeSentinel? 710 2.2.0 pl1?

I see the other person has site patched to 2.8

I am currently using Sentinel 2.1.3 and it has been working excellent with my un patched version.
 
View user's profile Send private message
Raven







PostPosted: Wed Mar 30, 2005 7:53 am Reply with quote

If you use v2.2.0 and you do not use v2.9 patches, then you will need to make the changes mentioned above.
 
DemonLord
New Member
New Member



Joined: Mar 26, 2005
Posts: 8

PostPosted: Wed Mar 30, 2005 9:32 pm Reply with quote

Yup I found that out with nuke 7.4 Razz So I am useing sentinal 2.1.2 till I get the patches installed. Razz
 
View user's profile Send private message Visit poster's website
California







PostPosted: Wed Apr 06, 2005 9:29 pm Reply with quote

I was not sure if it was the same changes for every version since the guy who started this thread had some patching done but thanks for the clarification Raven and DemonLord. I have done a lot of patching already so I just wanted to double check.
 
Gargoyle
New Member
New Member



Joined: Mar 22, 2005
Posts: 6

PostPosted: Sun May 01, 2005 6:28 am Reply with quote

I dont want to sound like a total newb, but where do I find the first part of the code changes?
 
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Sun May 01, 2005 7:29 pm Reply with quote

The first changes indicated in Bob's post are for the file includes/sentinel.php

_________________
Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> NukeSentinel(tm)

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 ©