Ocelot Stuff
Wolf Stuff
About Us
  Log in

Installation Instruction

1. Download the code.
2. Unzip/unpack the tarball.
3. Edit the files.
4. Upload to your server.
5. Description of files.


1. Download the code:
Download the version you want from the Mangaview Downloads page. Unless you are only planning on ever releasing 1 issue, you'll probably want the most recent version. If you only have 1 issue, you can download version 1.0, which has significantly fewer features as well.

2. Unzip/unpack the tarball:
Use tar -zxvf mangaviewdemo_1_1.tar.gz to unzip and unpack the tarball. NOTE: If you download a different version, be sure to use that version's filename when you expand it. Unpacking the file will creat a directory on your hardrive called mangaviewdemo_1_1.

3. Edit the files:
Delete the contets of the images directory that you will not use (Don't delete the navigation buttons if you are not planning on using your own!). Copy your files into the images directory, edit the manga.php and the issuexx.php files (where xx is the number of your issue).

4. Upload to your server:
If you have shell access to your server, the best way to upload to your server is to reverse the process of downloading to your local machine. To do this:
1. Rename the mangaviewdemo_1_1 directory to whatever you want it to be called on your main server.
2. Create a compressed tarball of the directory. tar -zcf myfilename.tar.gz mydirectory/ (where myfilename is the name of the tarball you wish to create, and mydirectory is the name of the directory containing your manga).
3. Use an FTP program (such as Cute FTP) to upload your tarball to your server. (NOTE: If your server does not allow FTP access, you may have to use an 'sftp' client, such as PSFTP, to upload the file.) 4. Unpack the file on your server. Please note that it is recommended that you do everything this way is so that you have 2 backups of your work now. ;)

5. Description of files:
Mangaview is made up of 3 kinds of files: the images, the main manga.php file and the issuexx.php files.
There are four types of images: navigation buttons, banners, thumbnails and pages.
• Navigation Buttons. The navigation buttons are issue specific, and are stored in the images directory. To change the navigation buttons for an issue, update the issuexx.php file and change the graphics urls.
• Banners. The banner graphics are the images that show up at the top of the page. The two types of banners are the index banner and the issue banner. To update the index banner (shows up on the index page) change the "$main_banner" variable in manga.php file. The index specific banner URLs are stored in the individule issuexx.php files.
• Thumbnails. The thumbnails allow you to show a small image cover for each issue on the main index page. These graphics also show up next to the chapter index on the issue table of contents page.
• Pages. The pages are stored in the images directory, and the links are stored in the issuexx.php file.

The manga.php file contains the information needed to display the manga, as well as: 1) the titles for the issues, 2) the file locations for the issuexx.php files, 3) the image URLs for the thumbnails, 4) the issue synopsis, and 5) the "ratings" system.

For each issue you put online, you will need a corrisponding issuexx.php, where xx is the number of the issue. The demo site ships with 3 issuexx.php files, called issue1.php, issue2.php and issue3.php.

OK. My CTS is flaring up. If anyone acutally needs more detailed instructions, please email me. I'll be happy to update this file accordingly. At the moment, though, I can't do much more. Good luck! -kev

home | ocelot | wolf | recipes | guitar chords | humor | walkthroughs | about | privacy | contact | Site Map | MetSecTech
28964 hits for this section SingleSignOn Copyright 2004-2009 Kevin and Erin Metcalf. All rights reserved.