Author |
Message |
daltoniko
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/523db4d843387804b80ba.gif)
Joined: Dec 19, 2004
Posts: 61
|
Posted:
Sun Mar 06, 2005 7:28 pm |
|
i use phpnuke 7.3 with 2.8 patch... can i install sentinel 2.2.0?? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Mar 06, 2005 7:50 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
BobMarion
Former Admin in Good Standing
![](modules/Forums/images/avatars/4a8223e348325d1641ec3.png)
Joined: Oct 30, 2002
Posts: 1037
Location: RedNeck Land (known as Kentucky)
|
Posted:
Sun Mar 06, 2005 10:28 pm |
|
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
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
daltoniko
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Mar 07, 2005 4:36 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
California
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Mar 24, 2005
Posts: 28
|
Posted:
Wed Mar 30, 2005 2:43 am |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Mar 30, 2005 7:53 am |
|
If you use v2.2.0 and you do not use v2.9 patches, then you will need to make the changes mentioned above. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
DemonLord
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/blank.gif)
Joined: Mar 26, 2005
Posts: 8
|
Posted:
Wed Mar 30, 2005 9:32 pm |
|
Yup I found that out with nuke 7.4 So I am useing sentinal 2.1.2 till I get the patches installed. ![Razz](modules/Forums/images/smiles/icon_razz.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
California
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Apr 06, 2005 9:29 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Gargoyle
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/blank.gif)
Joined: Mar 22, 2005
Posts: 6
|
Posted:
Sun May 01, 2005 6:28 am |
|
I dont want to sound like a total newb, but where do I find the first part of the code changes? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
64bitguy
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/183ecd6a404a3683445de.gif)
Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Sun May 01, 2005 7:29 pm |
|
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. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|