Clan Adverts

www.afgserv.com

 

www.clan-themes.co.uk :: View topic - NUKE INSTALLATION GUIDE FOR THE BEGINNER

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

NUKE INSTALLATION GUIDE FOR THE BEGINNER

1 Replies / 1964 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » How To's

View previous topic :: View next topic


RELIC
Reputation: 475.5
Local time: 6:35 AM
Location: FURION
usa.gif

Status: Offline
0.15 posts per day
Medals: 0

Joined: Jan 29, 2007
Last Visit: 20 Jun 2008
Posts: 85
Points: 183 

Post NUKE INSTALLATION GUIDE FOR THE BEGINNER Posted: Mon Jan 29, 2007 6:24 pm   

FORETHOUGHT:

This tutorial is for beginners... the so called basic of the basics and the tutorial I wish I had when I was starting out.

PRE-INSTALLATION:

Before we begin there are a few things you need to know or at least familiarize yourself with. I will explain these more in depth in a moment.

1) Website Host/ Register with a web host:
This is the server that your site will be hosted on. I use www.ixwebhosting.com. There are a whole bunch of them out there so do your research before committing to one.

2) Selecting Domain Name/ Domain Name Registration:
This is the name of your website, like "judgegaming.com" "wickedgames.org" ?neonuke.com? etc. The name of your website needs to fit what it is you are representing. Gaming websites need to mimic gaming, business to business and so forth.

3) FTP Program:
This is the program you will use to upload files onto your server for your website. I use WS_FTP pro, and WS_FTP Lite. I recommend this ftp program for everyone. Also, Smart FTP is a great program as well, you can download it for free from the internet.

4) Which Nuke program you are going to use:
Knowing the version and being able to match it up to what you want is necessary. Some versions have been modified and may fit your needs more so than some of the unmodified versions.

For some of you internet savvy people this is old stuff, but I'm writing this for absolutely total beginners. The experienced can skim thru to where they need to be.


1) WEBHOST SELECTION/ REGISTER WITH A WEBHOST.
The Web-Host I use is located at www.ixwebhosting.com ; they are wonderful and have a great "up" time with very little of that nasty "downtime issue". There are a ton of Web hosts and most offer a variety of packages.

Simply get the package that fits your needs. Normally they will offer you 3 or more packages and generally they amount to ?personal? which is just for you, ?business? which amounts to a decent sized gaming site with frequent visitors and a ?PRO? offering, for really busy websites and so forth. You?ll probably never have to worry about band width or download usage with this version as it is generally unlimited.

When considering a Web Host for your "PhP Nuke" site, there are some things you need to look for, i.e.:

1) First and foremost: that it is compatible with PHP-Nuke. Make sure its PhP compatible and the mysql data base is accessible by you. You will need this accessibility to get your site up and running. Some web hosts won?t allow you access this area, so stay away from them.

Most Web-Hosting companies will have their compatibilities clearly marked on their main page or just select one of the multiple packages they offer and it will be there. If you don?t see any either move on to the next host or drop them an e-mail. Always assume it is not compatible with PhP if you fail to see it clearly marked.

2) Secondly, a consideration for your site is ?Space?: you will need plenty of space! The Nuke program is not small by any means, but it?s not a killer either. The plan I use on ixwebhosting is the Professional, my space is unlimited. I have access to 100 5-6 sub domains should I want to use them. The size is important for another reason; you need to always backup your site before you start working on it. It takes a little bit of time but can save you a lot of headache in the future. I backup about every 4-5 days. This is not a general rule; it?s just "my" general rule. Also, keep in mind if you are going to have video and audio files, you will need a ton of space since these types of files are just large by nature.

3) Thirdly, bandwidth offered by a web-host is important as well, the more the better especially if you are going to host downloads on your site. Some companies charge way too much for overages and you do not want to find yourself on the south end of that bill. The average now is about 50 or so Gigs of bandwidth, but it is rising.

To summarize above, you essentially need a decent price (9.95 average), a decent amount of web space (3000mbs average), high bandwidth if you have downloads, and multiple domain and sub-domain availability. The rest just basically is icing on the cake. With all these combined you can move around easily learning these programs and not end up putting the squeeze on your banking account.

Also research the Web hosts reputation that you are looking at to see what other people are saying about them, and make use of the Better Business Bureau's website as well. The reason I say this is for Web-hosts like Globat. Globat offers great deal with tons of space and they offer a great price, but the downside is their servers are full and all I ever had was constant connection problems, slow downs, four and five minute page openings and so forth. I couldn?t wait to cancel that account. On the same token they also took out payment for the next year and never give it back to me. I ended up canceling my checking account, disputing the charge and sending them about 20 e-mails after it was all said and done.


Now that you?ve done your research and selected a web host, it?s time for the next step:

2) SELECTING DOMAIN NAME/ DOMAIN NAME REGISTRATION
Once you have selected a Web-Host, next is to select a name for your site. This is called a "DOMAIN NAME." ixwebhosting, as with a lot of other sites, do offer free domain name checks. This is a small program that checks the availability of the name you have selected. Domain names generally end with ".com" ".org" ".net" ".biz" or ".us". You can select any ending with your domain name. I started with www.judge.com it was taken and so was www.judge.org . Eventually, I found that www.judgegaming.com was available and selected it as my domains name. Keep in mind you may have to be creative with the name just as I was, most of the great names are already taken. On the same token, do not make the domain name to long, people are lazy and don?t like to type out big long words or names.

Domain names should directly reflect the message you are wanting people to perceive. For example, the domain name ?NukeCode.com? references Nuke and for those they are trying to reach it pretty well gives them the idea this is a PhP nuke website. The same for ?NukeCops.com,? ?NukeResources.com.? Gaming websites such as ?JudgeGaming.com,? and ?Guildwars.com,? obviously reflect gaming sites and make them easier to remember and find.

Now once you have found a name that you can register, the Web-host will register it for you and add it to their servers; this normally takes a day or two (minus holiday issues) meaning 24 to 48 hours. The web host will send you an e-mail giving you all the pertinent information that you will need to access the root directory (more on this later) of your website. The e-mail will have a lot of information in it, some of which even I don?t have a clue what it is for, but then, I'm not an internet guru either. Also, it?s always my recommendation that you write down your admin name and password along with your ftp admin name and pass, in a note book easily accessible for quick referencing. You will need these later especially if they have not been committed to memory already. The note book will save you time, it prevents having to always connect to your e-mail to get your passwords.

FYI: The domain name / URL: They are the same by meaning. URL stands for (U)niform (R)esource (L)ocator, this is the Internet address, i.e. "www.judgegaming.com", "www.nukecode.com", and so forth. When you ask what is your website name? You are asking for their URL. A URL can also be a set of numbers, i.e. 127.122.134.222:8543

This is kind of out of sequence but does apply here:
Getting to know your status:

Admin Name, God Admin, Super User, Admin, VS User, User Name, End User

Let?s discuss the GOD ADMIN 1st:
The Admin, Admin User, dba, and GOD Admin, are much the same thing. The term Admin is in relation to the privileges or rights which are allowed on a website, control panel, or any program basically computer or website related. The Admin Privilege basically means you that you can read, write, rewrite, alter, delete, change, modify, install, and uninstall whatever you like. Basically, you can do anything you wish when you have this status. In the Nuke Website Programs the Primary Admin called the "GOD ADMIN" this means you are the head honcho, you are the boss! You can also assign privileges or even ranks to individuals as you see fit and alter any settings you wish for the site or for members. In my Judgegaming.com website I have 4 assistant Admin called ?Super Users? who have the same privileges as I do, and 4 regular Admin which are assigned specific areas of responsibility, I as God Admin allocate what they can and can not do. For instance, one Admin I have over Forums, he can do whatever he wants regarding the forums, but he has no authority anywhere else. Another Admin I have over ?Reviews? He can add, delete, alter, or do anything he wishes, but no where else in the admin section does he have these privileges.

Remember, a "Super User" is the next highest rank under "GOD ADMIN". He has the same power or privileges just as a GOD ADMIN so be careful as to who you place in that position. However a Super User, can NEVER over write or do anything to the GOD Admin account itself, but the God Admin can add, delete, modify, or whatever to the ?Super Users account. A Super User can edit a regular Admins account as well as everything on the website. Basically, here is the hierarchy of admin for your within the PHP Nuke Program:

1) GOD Admin
2) Super User
3) Admin
4) User or End User

Now to cover End Users:
The user will be the people who are either registered members, visitors, guests, or those anonymously surfing your website, they are not allowed to do anything to the site as far as mechanics go. Really about the most they can do is view the site, add posts to forums, download items, and click on the links you offer them. They are either created by you, an Admin, they?ve either registered on your website, or are visitors. End users have no privileges or moderator functions unless you delegate it to them changing their status changes. These users are generally identified by two different names: "end user" or "user," regardless as to their relations to the website. There is no hierarchy for End Users.

WEBHOST/ DOMAIN NAME COMPLETION:
After registering for both the Web-host and a Domain Name, the Web-host will in turn send you an e-mail as soon as the Domain Name is registered and set to be identified on their server. In this e-mail it will contain a lot of important information regarding your account. The e-mail will give you your passwords, usernames, Admin names, and explain to you a little about their technical services and so forth. It will also provide you with options available, some have more than others. The following is a representation of what information may be sent/ supplied to you; it may also be in a different format:

1.) YOUR ACCESS INFORMATION
Domain Name: www.judgegaming.com (your website address)
Dedicated IP Address: http://66.117.177.56 (the numerical IP address)
Servername: web38.opentransfer.com (the servers name)

Control Panel: http://manage.ixwebhosting.com (this is mine and what it looks like via ixwebhosting)
E-mail address: LSINGZR1@YAHOO.COM (your e-mail address will be here)
Password: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

There will be multiple URL addresses given to you if applicable, they look like this:
URL Address 1: http://www.judgegaming.com (This will be your sites info)
URL Address 2: http://judgegaming.com (This will be your sites info)
URL Address 3: http://66.117.177.56 (This will be your sites IP)

E-mail Server addresses
POP3 Addresses: mail.judgegaming.com (your site will have your websites name, instead of mine)
SMTP Addresses: mail.judgegaming.com (your site will have your websites name, instead of mine)
Webmail Site: http://mail.judgegaming.com (your site will have your websites name, instead of mine)

FTP SERVER ADDRESSES:
FTP Domain: ftp.judgegaming.com (your site will have your websites name, instead of mine)
FTP IP: 66.117.177.56 (your site will have your websites numerical IP instead of mine)

FTP ACCESS INFORMATION
Username: JUDGE_DREDD (This will be the username you gave the Web host)
Password: XXXXXXXXXXXXXXX (This will be the password you gave the Web host)

CONTROL PANEL ACCESS
E-mail Address: LSINGZR1@YAHOO.COM (This login name can be just a name instead of an e-mail, varies per host)
Password: XXXXXXXXXXXXXXX (Your password)

These are examples of what will be in the e-mail, there will be more information that you can decide if you want to use or not to use. Always, ALWAYS write down in a notebook the information you receive or save the e-mail to a diskette for future reference if need be. Personally I do the notebook thing. I'm often referring to it so it's always fresh in my mind as to where this information is.


3) FTP PROGRAMS
What is an FTP program you ask? Well, FTP stands for "File Transfer Protocol". It is a program that assists you in uploading files onto your web hosts server as well as downloading files from your server on to your desktop or other selected folder. There are a number of programs out there, but it is my opinion that the best is by a company called Ipswitch. They offer a program called: WS_FTP PRO, and a free version called: WS_FTP "Lite?. Grab a copy of the free version or spend a few bucks for the PRO edition, and install it on your pc. Another great program is SmartFTP, I use this as a back up, especially when the WS-FTP Pro is acting goofy. I will go over setting it up later. There are a number of ways to upload files; I use these programs because they simplify everything. When they are open they look like an open book, with both a left side and right side. The left are the folders on your computer; and to the right are the folders on your web hosts server.

Between the two FTP programs I've listed there are some differences that may assist you depending on the what you are wanting to use the program for. For speed, use the ws_ftp program, however it is buggy and may not upload all your files when uploading larger sized files. So the ws_ftp program you will want to use for smaller folders, like loading the individua folders one at a time inside the html documents folder.
The SmartFTP program is much slower but more reliable, it has never failed me with any upload I have ever used it for. That's not to say it can't happen, it just hasn't happend to me, yet. When using this program and you upload a large file, simply startit and walk away, go have dinner, see a movie and then come back. You'll e good to go. Both have strong points and weaknesses, use these to your advantage. (more on this later).

4) NUKE VERSION SELECTION
This is important because knowing the program is just as important as knowing about the rest of the other stuff. These versions are as different as they are similar from version to version. Some offer some unique security measures, others offer different basic modules for the initial set up. Some work great as a sub-domain, others? well, don?t. The newest is not always the best and most secure, but then neither is the oldest. These are things you will have to figure out what you like on your own. These are individual tastes as well.


INSTALLING PHP NUKE
Now that you know a little more about what is going on and what you need there are a few things we need to do to maintain a level of neatness. Create 1 folder on your desktop and 5 sub-folders. This will help you keep everything in order and reasonably organized. By desktop I mean your computers resting area after start up. Make four folders and name the folders as such:

The main folder will be the name of your website, inside that folder place 5 sub-folders as such:
JUDGEGAMING.COMMAIN Folder
(1)Sub Folder Nuke Program
(2) BlocksSub Folder
(3) ModulesSub Folder
Sub (4) ThemesFolder
(5) Site Back UpSub Folder

FOLDER OVERVIEWS

1) Nuke Program
In the NUKE folder you need to place the version of NUKE you are going to use, preferably the same one I'm using. I'm going to demonstrate using the NukeCodes Modified PhP-nuke version 7.4. You can obtain a copy from their website @ www.nukecode.com. You will have to register but it?s worth it, this is where you?ll also stay updated on what?s going on in Nuke Land. You won?t regret it. This is a great site for nuke related information. Also, be careful on choosing a nuke program for your site.

A word on regarding PhP Programs understand there are several different types of PhP programs i.e. POST-nuke, PHP-nuke XOOP, MAMBA, etc. These should not to be confused with individual or modified versions of the PhP Nuke, for example like NukeCodes version of PhP-nuke 7.4, or NSN's version of PhP-nuke 7.4 etc. These are the same basic programs but different ?Modified? versions. Again, I'm using a copy of NukeCodes Modified PhP-nuke version 7.4 in this tutorial. This tutorial is meant for PhP Nuke only, the other programs have their own unique way of being installed.

Also, you'll need to decide on which Nuke Version you are going to use if not the same one I am. For the most part they are all the same when it comes to the install. One of the things you need to consider is the looks of your website. If you have a particular theme, (this is the appearance of your website) in mind do a search and check the theme out, see which it is made for, if it's not written for your version don't use it. It is a general rule for most new Nuke programs to be backwards compatible to a certain point but this is not always true. Sometimes the theme is written just for a certain version of nuke and that?s it. If you want to be the most all around compatible you need to pick up a copy of Nuke 6.8 or 6.9.

2) Blocks
This folder will be where you place the blocks you want to add to your website. Blocks are options that can easily be added to your website and for the most part are very straight forward and easy to install. Occasionally these will need to be altered to fit your needs. This will be covered more specifically later.

3) Modules
This folder is where you are going to place all the modules you want to add to your website. Modules are generally customizable add-ons that you place on your website to enhance the users experience and or to offer a more interactive type of site. An example would be the "Coppermine Photo Gallery" module where people can upload images and so forth. Also, Modules are sometimes referred to as "Add-ons."

4) Themes
Place the themes you are wanting to use in this folder. There are a ton of themes out there and a ton of theme makers as well. Themes are something you won?t be in short supply of when it comes t nuke. The default Nuke program generally comes with 3-4 themes. This is enough for starters. To find some good themes just look around on nuke gaming/ support sites and you find more than plenty.

5) Back Up
Place the back up copy of your website in here once it is up and running properly.
Okay, back to all the folders: Once you have registered on the www.nukecode.com site. Sign in and go into the Downloads section (located upper-middle left of site) and filter through finding NukeCodes versions and grab the 7.4 modified version, Double-click on it to open it. You will see a selection of download options. Go into each one and download area?s and find the following files:

Block: "" and the "". Place the blocks in the Blocks Folder on your desktop.

Modules: "Coppermine Photo Gallery." Place these Modules into the Modules Folder on your desktop.

Themes: Grab some of the themes and place them inside your Themes Folder located on your desktop.

Once you are done with downloads, continue reading so we can get you ready for uploading files...


UPLOADING THE FILES (using WS_FTP)
Now we need to open the WS_FTP program or the FTP program you have elected and input the information to gain access onto your Web-host account. If you are using WS_FTP it will initially ask you to name the folder you want to place the exe file in. We are using my site in the following example:

1) Site name is: mine is "JUDGE" (place YOUR sites name in there)

2) It will then ask for a location to put this folder.
Place it in the "My Sites" folder (This is the default location for ws_ftp)

3) The ftp program will ask for host name or IP address, type in the IP address (i.e. 66.116.169.50) when possible. If it?s not an option then place in your servers ftp setup for your site, it normally looks like this: ftp.judgegaming.com. (or ftp.yoursite.com) Personally, I have had better luck with the numbered I.P. address.

4) Type in user name: This is the admin name you provided for the web-host. Remember, you are accessing the account created for you by your web-hosts. So, the information needs to match what was in the e-mail they sent you or the information you gave. You can Copy and paste the information if you want as well.

5) Type in the password where prompted: The same you gave the web-host, unless otherwise stated.

The type of connection is: FTP (if asked)

Then select finish.

These may not be exactly in this order, it will depend on the version of ws_ftp you have but it should be close as well as any other ftp program.

(For WS_FTP: You don't need to mess with the Anon settings or anything else, just click finish.) Once the site name, ftp address, username, pass and you check the selected to save or remember your password, then save and hit the connect button. If everything is done correctly, it will open up for you.

When the WS_FTP program opens there it will look like 2 pages, a left and a right page. The left side is where the program is placed on your computer; the right side is the servers? files. There is a bar in the center and inside that bar are 2 arrows, both pointing the opposite direction. The means if you highlight a file on either side you can move it to the other side by clicking on the associated arrow. Personally, I never use this - I do a drag and drop, it's just easier to me. The servers? files are where we need to be. You will need to find the "root folder" often called many different names such as "root directory" or just "root." The root directory is a FOLDER and it can have just as many different names like the one above, such as "html" "htmldocs" or even the name of your website. At ixwebhosting.com it's the name of my website, "JUDGEGAMING.COM" If you are unsure which it is, open them individually until you find the one that has the "index.html" It will also have other folders in it with images in them and so forth.

After learning which is the ?root folder,? and where it is located, double click on the folder to open it. This is the location where you are going upload your all of your nuke files to.

1st make a folder and call it ?ORIGINAL_files,? highlight all the files and move and drag and drop them into "ORIGINAL_files folder."

Continuing; It's my recommendation that unless you have a super fast, i.e. T1 connection that you upload the nuke folders one at a time, placing them inside your "root folder". I occasionally have had problems when trying to upload all of the folders at the same time.

So, open the MAIN folder and navigate to the sub-folder that has your nuke version in it, (on your desktop) find a folder called "nCo Modified PHP-Nuke 7.4" , and open it, or the name of the Nuke Version you decided to use; double click to open it and you will find several sub-folders. The one you need to be concerned with right now is called the "html" folder. Double click to open it. Inside you will find a bunch more sub-folders. All these files within the html folder need to be uploaded into your root directory.

You should see the following folders:
Abuse, Admin, Blocks, Db, Images, Includes, Language, Modules, Script, and Themes

The following files inside the html need to be uploaded as well, there are:
Admin.php, auth.php, and so on?

What I do from here is shrink the opened html folder and place it on the left side of my monitor; and then I do the same with the ftp program.

Go ahead and log on to the ftp server, open the root folder, (which should be empty) and perform a drag and drop, taking files from the html folder and placing them into the root folder. The PhP and html files can be added all together by highlighting them all and doing a drag and drop. I've never had a problem doing this. Continue until all the folders and files are in your root folder. If you are on cable this entire process will take about 10-30 minutes, if you are on dial up, well....sorry, but it's going to be a while.


THE WEBHOST ADMIN CONSOLE: ADDING THE SQL DATABASE
While you are waiting and adding folders you can go to your Web-hosts Admin Login and LOG IN =). Once you are logged in, you will be sent to you the control panel. This admin console or control panel can look just about like anything out there, each Web-host Admin Control Panel is different, the options you need can be on the main page of the control panel or they can be located on a "manage" page, which is what ixwebhosting does, just be aware of these differences. Either way you need to become familiar as to the locations of the files available to you, especially the mysql database options. Find the section/ avatar that will open the MySQL page, click on to open it.

For instructional purposes, I will explain using the console supplied by ixwebhosting.com

In this console there is a "Manage" button, click on the Manage button to open to the next page, this is where your control panel options are located.
This page gives us all kinds of options, the one we need to pay attention to now is the "MySQL Server" Icon, double click on it to open it.

Once you are in where the MySQL DataBase, find the "add database" avatar and click to "add" a Database. Web-hosts are different when it comes to the protocol for this part, so pay attention here:

*Some panels ask just for you to give the Database a name and that name only will be used to identify the database meaning that when I give the database a name like ?JUDGEGAMING,? it will be just that when it comes to filling out the Config.php file later. Others will have your Admin name like in this example:
My Admin name is "GABRIEL" and the database name I created is called ?JUDGEGAMING,? so the database I create on my server will actually be called "GABRIEL_JUDGEGAMING?. This will be a necessity to remember for later when it again, comes to filling out the Config.php file. This is the sql file that runs your website, if you do not have the correct name it will not link up, therefore giving you a database error stating, ?There is a problem with your database.?

Ixwebhosting provides a description box for you as well, and I kind of like this feature. I normally put version type, date and/or website name here especially when I'm tinkering with multiple websites and using different versions of Nuke. You can use this area to identify which site the sql file is going to support as well, instead of naming the sql after the websites name. The database name I created will be called "TUTORIAL" and yes it is case sensitive.

Create a database using the name of your website and click to save. If you now look at the database console you will see the new Database you created. It will either look like this; "TUTORIAL" if your server only uses the name itself but on my server it looks like this: "GABRIEL_TUTORIAL" and to the right of it will be some options for you as well.

Next, you need to create an admin and password for your Database, and set their role or privileges. Set the privileges to DBA (Database Administrator.) All these names and passwords are case sensitive as well so be specific as to what you want to type in the boxes. Also, grab a sheet of paper and write the Admin-Database information down for future use.
I created the following:

In some web hosting companies again, it?s a small difference but the admin name you create can look different. In some companies the admin name you created will read as the name only whereas others will read your console admin name and then the dba admin name, they look like this:

Admin name: GABRIEL
Dba admin log in name GABRIEL
To log into your phpmyadmin will read as: GABRIEL

For ixwebhosting it looks like this:
Admin console: GABRIEL
Dba admin log in name: GABRIEL_GABRIEL

Now this allows you to log into the PhpMyAdmin section where you will place your sql (mysql) file. You can upload additional sql files here as well.

Now click to add the Admin profile you just made. If you look around on the page it should give you an indication as to whether is was accepted or not, for ixwebhosting, it?s near the top and in red letters, if it says that you have created an Admin. Simply click finish and shrink the page. Also, keep in mind if this name is not set as a Data-Base-Administrator (dba) you will not be able to freely access the sql database and make necessary corrections.

ADDING THE SQL FILE
While you are in the control panel, click on the new profile you just created, it will open up to another page that will ask you to sign in again as the database administrator for the profile. Do so and it will open the ?phpmyadmin? page displaying your profile on the left and a number of options to the top center to right.

On the left side find your profile name and click on it, it?ll look something like this:
Judgegaming(0)
Your site(0)

Once it?s opened look at the top right of the page and find ?IMPORT? click on the tab to import your mysql file. It?ll open a browsing box pointing to your desktop. Direct this to the proper ?mysql? file that is needed for your website and click okay or add, which ever it is.
Give it a few seconds to populate. The page will refresh and you will note on the left side of the page your profile will read something like this:
Judgegaming(99)
Your site(99)

The number to the right of your profile will vary from nuke version to nuke version so don?t be alarmed if you get a (6 or a (314) or anything in between.

Once this is done, continue to?

EDITING THE CONFIG.PHP FILE
Returning your attention to the FTP Program:
The Config.php file is located in your root folder aka root directory. The Config.php file was one of the files you initially uploaded. When you locate it, open it by right clicking on it, select to "edit" the file and it should continue opening for you. If you have to choose a program to open it with select ?Word,? notepad has a tendency of making the page uneven and hard to read.

The Config.php file has instructions written at the top, read them!!! There are some variables you need to be aware of and I'll discuss them in a moment. Scroll down the Config.php to where you see the section that looks like the following:

$dbhost = "localhost";
$dbuname = "";
$dbpass = "";
$dbname = "";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fdfDS750+e9";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";

I'll go through these one at a time and give you what you need to know

$dbhost = "localhost";
This, depending on the web-host, can either be left alone, or in most cases it needs to be changed. At ixwebhosting they dedicate individual servers just for PHP websites, which means this needs to be altered so it can find the appropriate server.

On some servers it remain looking like this:
$dbhost = "localhost";

For ixwebhosting it will look like this: $dbhost = "mysql3.ixwebhosting.com";

An explanation for this is "mysql3" is the server number in which the files are placed on, and of course the web host to which it is assigned.

$dbuname = "";
This refers to the username you assigned to the database in your Web-Host Console/ control panel. This is written down on the sheet of paper I had you make out earlier and remember, this is case sensitive. When completed it should look like this for most Web-Hosts:

$dbuname = "GABRIEL";

for ixwebhosting it will look like this:
$dbuname = "GABRIEL_GABRIEL";

$dbpass = "";
This is where you place the password you assigned the username, it should look like this:

$dbpass = "nuketest";

The password assignment remains the same for all web-hosts, it is exactly what you type in.

$dbname = "";
This is the data base name you gave the database you created on your web host console and it should look like this, and yes it is case sensitive:

$dbname = "JUDGEGAMING";

or for ixwebhosting it will look like this:
$dbname = "GABRIEL_JUDGEGAMING";

$prefix = "nuke";
Leave this alone, it does not need altering.

$user_prefix = "nuke";
Leave this alone, it does not need altering.

$dbtype = "MySQL";
Leave this alone, it does not need altering.

$sitekey = "SdFk*fa28367-dm56w69.3a2fdfDS750+e9";
The letters and number inside the quotation marks need to be changed, it doesn't matter to what, just change it. I normally make it an ongoing sentence relating to the site, but not too long of one. It will look like this:
$sitekey = "mytutorialtestsiterocks";

This remains common on all web-host sites with this single way of doing it.

$gfx_chk = 0;
I keep this at zero unless I want to make the site a bit more of an obstacle for hackers to get into, it won?t stop them by any means; it's just one more thing they have to deal with. This puts that box under the log in boxes and gives a number that the user will have to type in, this is in addition to typing their name and password in to log onto the site.

An explanation of the assigned variables you can use within the quotation marks are listed below, these create a protocol for the users when they log on:

Set the graphic security code on every login screen,
# You need to have GD extension installed:
# 0: No check
# 1: Administrators login only
# 2: Users login only
# 3: New users registration only
# 4: Both, users login and new users registration only
# 5: Administrators and users login only
# 6: Administrators and new users registration only
# 7: Everywhere on all login options (Admin and Users)
# NOTE: If you aren't sure set this value to 0


$subscription_url = "";
If you are going to have a site with subscriptions you can add your site here, it looks like this:

$subscription_url = "www.judgegaming.com";

$admin_file = "admin";
Don't mess with this right now; wait until you get a little more experience first. It needs to look like this for now:

$admin_file = "admin";

Now, once you are done there, click on the "file" button at the top left, and click "save" or simply press "ctrl s" to save.

DO NOT MESS WITH THE REST OF THE ITEMS IN THE CONFIG FILE UNLESS YOU KNOW WHAT YOU ARE DOING!

When you close to exit out the Config.php file it will automatically upload the file unless you downloaded the file to work on at your desktop. After the completion type in your websites address:

www.judgegaming.com (for me)
www.yoursite.com (for your site)

and if everything is entered correctly you will have the default Nuke website open up for you. If not there will be a screen probably telling you that your sql server has a problem. This means you need to go back to the Config.php file and make sure you typed in the correct dbname, dbuname, and dbpass. Note all spellings, upper and lowercase letters and numbers and ensure they match what is on your server "mysql" profile. If it is not identical, this site will not open

INITIAL SET UP AFTER UPLOAD
Once the website opens, there will be a ?Welcome? post in the upper middle telling you to immediately create an Admin or GOD account. Click on the link and it will take you into the admin console. Another way to gain into this area is after everything is uploaded, you type the website address and place a slash (/) followed by "Admin.php" and hit enter, the admin registration console will come up. The 2nd way looks like this when you type it in the browser:

www.judgegaming.com/admin.php (mine)
or
www.yoursitesname.com/admin.php (your site)

When you create your God Admin account, write the information down immediately that you are using. It will ask you for the following information: (also write the information down in your note book, just in case you forget it) Once it's in, there isn?t a "Do Over" and you will have to reinstall the mysql file again and on some versions you will have to delete and reinstall everything again:

1) name (name or screen name here)
2) web address (your website address)
3) e-mail (your e-mail address)
4) password (your password)

It will also ask you if you want to create a user account in addition to the Admin account you are creating. This reads "yes" by default, it's my recommendation that you leave it at the default setting and have a user account along with your Admin account.

Once done here, you will need to log on, do so using the information you just added for the God Admin.

The next step is very important, for the forums to work correctly.
This next step is to be done immediately!

FORUMS SET UP
The Admin console will then open. The next 3 steps are very important. I have had problems when I strayed from this: Open a 2nd browser page and log in to your site with your user name, shrink the page and go back to the Admin log in page. This means you are logged in as both Admin and User. Now, do the following:

1) Click on the ?Forums? Avatar in your Admin Menu screen
2) Open the configurations link by clicking on it, scroll down, and fill in the information you wish. Mostly the boxes are requesting information about you or your web site, these are easy to fill out.
3) When you get down to the "COOKIES" section, type in your complete web address in the top box, mine looks like this: www.judgegaming.com. And in the box just below it place the name you want for the cookies, I named mine ?judge.?

When you get to the point of making sub-domains these two boxes will become very important to you as will the cookie names. None of the cookies can have the same name, if they do it will cause you or your visitors to go to a different website with your nuke directory, plus lots of other problems may be created and you may have to reinstall everything.

Let?s give an example for sub-domains and their cookie settings:
My main site is: www.judgegaming.com and I place a folder in there for a sub-domain and I?ll call it "GAMERS." To get to the GAMERS site I need to type in the URL and it looks like this: "www.judgegaming.com/GAMERS"
Now since I have the forums activated on both sites, I need to adjust the cookies to read differently by setting unique names for each site. If they are identical then the initial/ main site, ?judgegaming.com? will be the only site that will appear regardless of which U.R.L. you use.

Set the Main site cookie setting to read:
"www.judgegaming.com." (top box)
?judge? in the box below it.
Then set the Gamers site cookie setting to read: www.judgecentral.com/GAMERS in the top box and
?gamers? in the box below that as well.

I can not stress enough that the cookie settings are very important and need to be set correctly and not identical to another sub site in your domain. This will cause you tons of grief if you don't heed this warning.


SETTING WEBSITE PREFERENCES
Return to the Admin Menu section and find the Preferences Avatar, click on it and open it. You will find a number of boxes you need to fill out with both your information and your websites information. These boxes tell people who you are and what your sites name is. They are self explanatory.

ADDING BLOCKS, MODULES AND THEMES

BLOCKS
Installing Blocks:
The 1st thing to do is to make sure your block is compatible with the nuke version you are using, this should be explained in the ?read me? file that should be in the folder. If it doesn?t have one, no problem, you can always delete the block.

1) Open the folder containing the ?Block? and navigate to where the block is located. It should look something this:
block_nameofblock, i.e.
block_Reviews
block_Forums

What ever the name of the block is will be after the word block, with an underscore and then the name.

2) Open the block and make the necessary modifications as or if needed.
3) Open the FTP program and navigate to the blocks folder on your website?s root directory.
4) Drag and drop the Block you want to add from your desktop into the blocks folder in your ftp program.
5) Once it?s uploaded you need to next go into the Admin Panel and activate it.

To Activate Installed Blocks via your nuke website Admin Panel:

Initially, when you open the Admin Blocks page you will have to scroll down the page until you will see "BLOCKS ADMINISTRATION" section. Below that are a series of boxes that are read from left to right in alphabetical order. These are the Blocks that are currently being used by your nuke program. Some blocks will be active others will not. Some Nuke programs will have more fields, others will have less. I?m telling you this just incase you have a version that doesn?t have the same amount as I have. The Boxes are entitled: Title, Position, Weight, Type, Status, and Visible too, Location, and Functions.

Here is an explanation for each:
1) Title: The name of the Block
2) Position: Location as to where the block will be on the page, left, right, center up or center down.
3) Weight: Where is will be located above or below other blocks.
4) Type: File, I've never known it to be different, but... its still there.
5) Status: Active or De-active. (Activates or Deactivates the Block)
6) Visible to: Allows you to select who sees the block.
7) Location: This I?ve never messed with, though it always reads "All".
Functions: This allows you to edit the Block, i.e. activate, deactivate, position location and so forth.

If you continue scrolling down the page you will come to the section,
?ADD A NEW BLOCK." Here is where we activate new blocks after they are uploaded on the server. The following is how to activate a Block:

These are generally really easy to activate, it merely encompasses the following steps:
1) Log on to the Website in Admin mode
2) Click on the "Blocks" Avatar, it'll open and scroll down
3) You will see an "Add a New Block"
4) In that section you will see a title box, add the name you want for the Block
5) Just below that is a section called "Filename". It'll probably read "None". There is a down pointer to the right of the word "none". Click on it and a drop down menu will open showing you Installed Blocks that have not been installed on the website or activated. Look thru the list and find the Concept forums block and click on it to highlight it. Skip the Content section, and go to "Position". Position gives you 4 places to place your block, left, right, center up and center down, just choose one. Now, on to the next? Generally I don't set an expiration time on my blocks but it is there. Leave the refresh at 1 hour and typically you want to leave it visible to all. After you make all your selections, click on the "Create Block" link and let it do its thing. When you refresh, the block will be active and on the main page for you to look at.

Some blocks are specifically made to go into certain locations, so do make sure you read the ?read me? file for the block.

MODULES/ ADD-ONS
These are generally easy, but they can be a royal pain for beginners. Hopefully you're still in the Admin Section on your website. Scroll down to where you see the "Modules" avatar, click on it to open the Modules page and scroll down. It will look somewhat the same as the admin-blocks page set up.

The Modules are generally set up in the same fashion as the blocks. Within the Modules section there are ore options. The 6 fields are: Title, Custom Title, Status, Visible to, Group, and Functions. Some Nuke programs have more of these fields, others have less. Again, I say this just in case you have a version that doesn?t have the same or has more.

Here is an example/ explanation of each:
1) Title: The Module Name i.e. "Reviews"
2) Custom title: The default name, you can change this in functions if you want. i.e. ?custom reviews?
3) Status: Active or Inactive
4) Visible to: same as blocks
5) Group: if groups are assigned, default is none.
6) Functions: (edit, activate/deactivate, and put in home)
6a) Edit allows you to change the custom name of the module, who can view this module, visibility and the category it is placed in.
6b)Activate/deactivate... on or off is what this means
6c) PUT IN HOME: leave this alone until you get experience.

Here are some variables about the Modules section: Some Nuke versions have a section for you to create categories, others do not. Categories are the sections on the left side generally that have the clickable links, i.e."Main" "General" "Community" "Information" and so forth. You'll have to look at the individual Nuke version to know if you have this option or not. You may have to consult the site you picked up your Nuke copy from or a Forum from a reputable Nuke site.

How to install a Module:

Let me preface this by saying that not all modules are the same, they will have their own unique set of instructions regarding their install, so you need to read the ?read me? files attached to each individual module.

For our purposes here we are going to install the Coppermine Photo Gallery Module that I asked you to download:

1) Open the Modules folder on your desktop, find the "Coppermine Module". Open the folder called Coppermine Photo Gallery folder. Inside the main folder there will be a number of sub-folders within it. The html folder will have all the sub folders you will need for this install.

You will see the following folders:
"blocks," "images," "includes," "language," and "Modules," along with 2 text files. One of the text files is an "Installation- English" file" Do yourself a favor, READ IT! There will also be several *upgrade* folders in there as well, you have no need for these. Delete them if you want.

Set the Coppermine folder to the left on your monitor and open your ftp program on the right creating the book effect:
2) Open the Blocks folder in Coppermine
3) Next navigate to the Blocks folder in your root directory (on your web hosts server) and open it.
4) Drag all the contents of the "Blocks folder" from the Coppermine blocks folder on your pc and drop them into the blocks folder in your root directory.

The links look like this:

From: C:\Desktop\MODULES\coppermine3\blocks
To: /judgegaming.com/blocks (for me judgegaming.com is my root)

Once they are uploaded, continue doing the same with the rest of the Folders:

From C:\Desktop\MODULES\coppermine3\images
To: / judgegaming.com/images
From C:\Desktop\MODULES\coppermine3\includes
To: / judgegaming.com/includes
From C:\Desktop\MODULES\coppermine3\language
To: / judgegaming.com/language
From C:\Desktop\MODULES\coppermine3\modules
To: / judgegaming.com/modules

After completing this tedious task, you need to go into the "Admin-Modules" section and activate it the Coppermine module or go to your Web browser and type in:
http://yoursite.com/modules.php?name=coppermine&file=install
Either way works.

When the install page opens, click on the button to install and this program will automatically install itself. If all the lights on the right turn green, then you have successfully added this Module. If not, then consult the experts, or delete the entire module and reapply it, because I have no clue. I've never had it not install correctly.

After you do the above, there is more, unfortunately that needs to be done for this module to work properly. Open up the ftp program and go to:
/root directory/modules/coppermine

for ixwebhosting people it looks like this:
/yourwebsite.com/modules/coppermine

Inside this folder you will have sub-folders called "Docs" "images" "Include" and so on. If it?s not there already CREATE A FOLDER CALLED, "albums" all lowercase. Inside the albums folder create another folder called "userpics" all lowercase. Inside the "userpics" folder, create 9 sub folders and call them:
"10001"
"10002"
"10003"
"10004"
"10005"
"10006"
"10007"
"10008"
"10009"

The link will look like this:
/yourwebsite.com/modules/coppermine/albums/userpics/10001
or
/rootfolder/modules/coppermine/albums/userpics/10001

Here is where we come to something interesting, CHMOD: This means to "CHANGE MODE" What this does is allow you to change the way a folder can be utilized by users. For instance, in the next few steps I'm going to have you CHMOD folders to 777, or change the setting to "Read, Write, Execute" The reason to change the CHMOD to 777 is, this allows people to upload files into the Modules/Coppermine/albums/userpics/... folders.

The default settings do not give users the permission to add or delete anything from these folders. Coppermine is a photo gallery module, so you want people to use upload their pictures so they can be displayed on the website, this is where the CHMOD comes in, it alters the settings for the individual folders so this can happen.

When you are going to CHMOD a file or folder, remember that
Folders are 700 series and Files are 600 series, just incase an author misstates his tutorial.

How do you CHMOD a folder? Easy, as you are looking at the opened ftp program, look at the right side where the folders are on the server, place the curser on the folder you want to alter and right click on the folder. A series of options will open:

In some programs the chmod selection is in the properties, section, others its there when you right click others its in the FTP Commands section+. If you are using WS_FTP PRO Version 9 it's located in the Properties Menu. In the WS_FTP 7 Lite, its on the FTP Commands section.

The following folders need to CHMOD to 777
albums,
userpics,
all the numbered 10001,10002, 10003, 10004 etc.
If you have ws_ftp pro 9, all you need to do is right click the albums folder, chmod to 777 and it will give you the option of converting all the folders at one time. Outside of that you have to do it manually one at a time.

INSTALING THEMES
These are really easy to install, use the following steps:
1) Open the folder on your desktop containing your themes; minimize it, placing the folder on the left of the screen
2) Open the ws_ftp program and log onto the server, minimize it, place it on the right of the screen, creating the book effect.
3) Open the root folder and find the "Themes" folder, open it. The link should look like this:

/root directory/themes

For ixwebhosting people it looks like this"
/judgegaming/themes

4) Open the folder of the theme you want to add and find where the actual theme is located within. Most of the time a theme will be in a zip with a few other folders added to help you customize the theme itself. You will know you have the right folder when you find these sub folders:
-forums
-images
-style

along with the index.html and theme.php file.

Also, some themes do not come with a forums folder, this means you will be stuck using the default forums theme that comes with the phpbb forums. So don?t be alarmed if you only have 2 of the 3 folders.

5) Drag the theme from the desktop theme folder and drop it into the theme section on the server. This normally takes a few minutes to upload on cable, so just be patient.

A few things about the themes never, and I mean never, check to see if a theme will work using while you are in Admin mode. Open your user account or create a test user to test themes compatibility.

The User account profile has an avatar called themes within the ?profile? section, this is what you use. If you select a theme that is not compatible as a user, you can just click the back arrow on the navigation bar and pick another theme. Dare you to do this with your Admin account, you will be reinstalling everything. You have been warned!

Additional notes:

1) Always back up your website, if you are messing with it a lot, back it up more frequently.

2) Never test a theme in ADMIN mode.

3) Never test anything without having made a back-up of the ENTIRE site, including the mysql file.

4) When adding Modules, Blocks and/or Themes, research them and make sure they are compatible to the version you have and always read the ?read me? files attached to anything you want to install.

5) Did I mention BACK UP YOUR SITE?
 

When my grandfather walked the streets of France, Amongst the abandoned, injured and starving Women and Children, There was NOT a Frenchman to be found!  
View user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger Reply with quote

Scorpion
Reputation: 471.4
Local time: 5:35 AM
Location: 30 miles from Carentan
blank.gif

Status: Offline
0.51 posts per day
Medals: 3 (View more...)
Site Supporter (Amount: 1)
Very Important Person
Very Important Person
Joined: Dec 09, 2006
Last Visit: 04 Apr 2008
Posts: 319
Points: 31063 

View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote
Post new topic   Reply to topic  
   www.clan-themes.co.uk Forum Index » How To's


 
1 Replies / 1964 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
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 cannot attach files in this forum
You can download files in this forum