Welcome to the ugprading guide of NukeClan 1.0.6. This guide will help you to upgrade to NukeClan 1.0.6 from any version of PHP-Nuke 7.x or NukeClan step by step.

BEFORE DOING ANYTHING, MAKE A BACKUP OF YOUR FILES AND DATABASE! NukeClan.net CAN NOT BE HELD RESPONSIBLE TO ANY DAMAGE DONE DURING THE UPGRADE IF YOU HAVE NOT FOLLOWED THIS STEP FIRST.

0. RESPECT COPYRIGHTS !!
---------------------------------
- ALL of our script must keep their corpyright included in the footer. Translations are authorized but that does NOT ALLOW YOU TO RENAME THE MODULE !!
- You cannot make our packages downloadable on your site without written authorization from us.
- You cannot make a direct link to our downloads section without written authorization from us.
- We ask you not to remove the PHP NUKE copyrights PHP NUKE included in the footers, nor any of the THEME copyrights for that matter.
- Below is a list of sites that are the ONLY ONES AUTHORIZED to make our packages downloadable or make a direct link towards our downloads section :

-www.nukeclan.com
-www.nuke-cs.net
-www.clan2edb.com

Now, let's start the upgrading process ;)

Step 1 : Editing certain files before the upload on your server

1°) After having extracted all of the files from the .zip archive on you hard drive (with any program such as WinZip or WinRar), you will see that you have two main folders: One is an "sql" folder and the other one is an "html" folder . Let's take care of the html folder first ;p

2°) In the html folder, you must first modify a couple files to configure them properly. Nothing complicated really:

- Open up the config.php file (html/config.php) and modify
the following lines:

$dbhost = "localhost";
$dbuname = "";
$dbpass = "";
$dbname = "";

where you are reminded of what all these weird words stand for!

# $dbhost: The name of you server (Hostname) put "localhost" if you don't know.
# $dbuname: The login used to access you database (Login).
# $dbpass: The password used to access your database (goes along with the login).
# $dbname: Your database name.

These access are given to you by your webhost! If you don't know them, go ask for them!

Another parameter that interests us is this one:

$admin_file = "admin";

It allows you to rename your admin.php file into anything you want, as long as you put the correct name of the file in the variable above! This is really useful for security reasons, since it makes your site less vulnerable to hacking...

- Now, open the file html/modules/Teamspeak/admin/db_inc.php and modify these following lines of code:

$gllcts2_dbhost = "localhost"; // Host
$gllcts2_dbuser = "$dbuname"; // Username
$gllcts2_dbpass = "$dbpass"; // Password
$gllcts2_dbname = "$dbname"; // Database

You must enter exactly the same information as above, meaning the server name, your database login and password, as well as the name of your database.

- After you're done with that, open the file html/fortress.php and prepare yourself to modify the following section of code:

/* Start Configuration Section */

// You Must Configure This Section
$sitename = "Nuke Cops";
// Enter your website name here.
$domain = "http://nukecops.com";
// Enter your full website URL here. Include "http://". Do not include a trailing "/".
$to = "zx@nukecops.com";
// Enter the email address Alerts should be sent to.
$sms1 = "zx@nukecops.com";
// Cellphone or pager email address
$sms2 = "paul@computercops.biz";
// Cellphone or pager email address number two
$realname = "Zhen-Xjell";
// Enter the full name such that email Alerts may be properly titled.
$mailsubject = "Fortress(TM) Alarm @ $sitename";
// You may change the Subject here (optional).
$fortfile = "fortress.csv";
// Change this to the full path and filename you want alerts logged to.
$forthtml = "fortress.htm";
// Change this to the full path and filename you want alerts in HTML format.
$BOD = TRUE;
// Enable Ban On Demand. Values: TRUE = enabled, FALSE = disabled.
$clikebg = "Pink";
// Background color used in fortress.htm for C-Like captures
$unionbg = "Yellow";
// Background color used in fortress.htm for UNION Captures
$bardbg = "Silver";
// Background color used in fortress.htm for Excluded Folks
$tagsbg = "Green";
// Background color used in fortress.htm for Bad Tags

Once you are finished with this step, we still have two more files to modify :). Hold on, we're almost there!

- Open the file html/includes/aspilock_heap.php and modify the following lines:

/***************************************************************/
/*Page downloaded that is shown in the navigator of the user*/
/*the message should be explicit*/
/***************************************************************/

$pages="<div align=\"center\"><p><img src=\"images/antiaspy/banned.gif\" width=\"139\" height=\"124\" border=\"0\"></p> <p><strong>Aux chiottes les aspirateurs!</strong> <br> <small>Revenez avec civilité dans quelques minutes.</small></p> <p><img src=\"images/antiaspy/bart.gif\" width=\"60\" height=\"106\" border=\"0\"></p></div>";
/***************************************************************/
/* text of the email that will be sent*/
/***************************************************************/

$subject = "Tentative d'aspiration de votre site WEB.";
$msg = "Un visiteur a tente d/'aspirer votre site $sitename ! Le $date \n\n Une tentative d'aspiration de votre site par le visiteur $ip - $dns_trace";
/***************************************************************/
$Methode_to_Insert = 0; // 1 -inserting of the IP to ban in the table SQL _banned_ip
// 0 - temporary ban !

/***************************************************************/
$Active_Mail = 2; // 1 - sends a mail to all administrators !
// 0 - no mail is sent
// 2 - sends a mail only to the address $Active_Mail_Perso and not to all of the admins

/***************************************************************/
$Active_Mail_Perso = "nounour@wanadoo.fr";

All you have to do is modify the parts of the text that are not in orange ;)

- Do the same for the file html/includes/ban_aspiro_config.php and modify the following lines :

$Log_File_Aspiro = "ban_aspiro.log"; // file in which are going to be stored banned ips
$Methode_to_Insert = 0; // inserting the banned ip in the database table SQL _banned_ip
// if = 0 temporary ban!

$Time_to_Ban_Ip = "3600"; // Time for the renewal of the LOG file LOG (3600 => 1 hour) (corresponds to ban time)
$Active_Mail =
1; // 1 - sends a mail to administrators!
// 0 - no mail is sent.

// 2 - sends a mail to the address $Active_Mail_Perso and not to all of the administrators
$Active_Mail_Perso = "toto@toto.com";

$Img_Ban = "images\admin\ipban.gif"; // ban image

- At last, if you want to configure your block Teamspeak right away, all you have to do is to modify the following file: html/blocks/block-TeamSpeak_nuke.php :

$tss2info->userName="Guest";
$serverAddress = "xxx.xxx.xxx.xxx"; // TeamSpeak IP, don't use localhost here
$serverUDPPort = "8767"; // default 8767

// This flag determins if the pulldown menu is displayed in the block. Set it to a 0 if you do not want the menu displayed.
$DisplayPullDown =
1;

// This flag determines if the user can log into the TS server is he/she is not logged into the website
$NoAnonLogIn =
1;

Just do the same as before, change only what's not in orange ;)

All right, you're done with the first step of the installation of NukeClan 1.0.6!!

Step 2 : Uploading the files on your server

- You can either upload the entire "html" folder at the root of you site (in which case you site will be installed at the address http://www.your_site.com/html), or upload just the contents of the folder (and not the folder itself) on your site.. (Remember you do this step by uploading your files to your FTP server! If you do not have any FTP programs, i personnally recommend FlashFXP). Ask your webhost for your FTP login/password. Replace old files by the new ones but MAKE SURE YOU DO A BACKUP BEFORE PROCEEDING! (Especially if you've made certain modifications to some of your files).

Step 3 : Database (MySql) Installation

- To update automatically your database, upload the file upgrade_en.php (located iin the SQL folder of the .zip archive) to the root of your NukeClan installation, and follow instructions. If you are upgrading from a PHPNuke version prior to 7.6, you must upload the file upgrade.php (located in the folder SQL/NukeClan 1.0.5 Upgrade of the .zip archive) to the root of your NukeClan Installation, and then UPGRADE your database to version 1.0.5, BEFORE going to the step described above. Don't forget to DELETE the file!

Step 4 : Creating a Teamspeak admin account

To install the Teamspeak module, all you have to do is go to the following link http://www.votresite.com/modules/Teamspeak/admin//install.php to install the necessary database tables.

For the Teamspeak block, you must edit directly the file TSinfo.php located in the html/blocks/ folder, and edit the lines that need to be edited.

Step 5 : NSN NukeSentinel Installation

- To install or upgrade NSN NukeSentinel 2.2.1, go to the following site URL: http://www.votresite.com/nsnst.php. Then follow instructions to finish the install, and DELETE the file after installation. If you are upgrading, read the steps below as well: :

Add these following lines to your mainfile.php just after <?

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

Which should come out like this :

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

- Go to the Sentinel Admin and set the parameters.
- DELETE the file nsnst.php from the server.

Step 6 : Making your theme compatible with NukeClan 1.0.6/PHPNuke Platinum

- As most of you are already aware, most PHPNuke themes aren't totally compatible with PHPNuke Platinum, and since NukeClan 1.0.6 turns on this version of PHPNuke, it is essential you follow this step carefully. Open up the themeconversion folder included in the .zip archive of NukeClan 1.0.6, open up the file themeconversion_en.txt and follow instructions ;)

All of the themes included with the installation of NukeClan 1.0.6 have already been modified :)

END OF UPGRADING GUIDE