|
|
|
|
软件简介:
0. Copyright Notice
-------------------
- THIS PACKAGE IS NOT RELEASED AS GPL/GNU SCRIPTING.
- Our Package name and link MUST REMAIN in the credit footer of all NSN script
generated pages. Translations are permitted, not renaming.
- This package CAN NOT be ported under any conditions.
- This package CAN NOT be mirrored under any conditions.
- This package CAN NOT be re-distributed under any conditions.
- Use of this package requires that credits to the original PHPNuke remain in all
site generated page footers.
- There are no project licenses granted for this package.
- The purchaser of this package is granted a single use license for a single
site on a single server. This license covers multiple sites on that server provided
they are owned by the purchaser.
1. Introduction and Requirements
--------------------------------
- This product requires an experenced webmaster for installation.
2. Installation
---------------
Extract archive to temp dir and copy included as noted below (and chmod if shown):
---------------------------------------------------------------------------------
README.txt (do not upload, your reading it)
CHANGES.txt (do not upload, a list of changes since Beta 03 version)
Document.txt (do not upload, Modification Instructions)
LICENSE.txt (do not upload)
html/admin/*.* ---------------------> root/admin/*.*
html/blocks/*.* --------------------> root/blocks/*.*
html/images/*.* --------------------> root/images/*.*
html/includes/*.* ------------------> root/includes/*.*
html/modules/*.* -------------------> root/modules/*.* CHMOD modules/Banner_Clients/images/clients to 777
html/themes/*.* --------------------> these themes are included so you can see
what needs to be added to your themes
for this package.
* root = the root directory of your site.
html/nsnbc.php ---------------------> This installer will install, upgrade,
or destall NSN Banner Clients.
3. Use
------
1) Add the line inlude("includes/nsnbc_func.php"); to yoru mainfile.php just
before the ?> so that it looks like:
include("includes/nsnbc_func.php");
?>
2) The link needed to use anywhere is :
<a href="modules.php?name=Banner_Clients">Banner Clients</a>
3) To use the side blocks you should simply upload the files as noted above.
After that you "Create New" block and the block will appear in your selection
list.
4) In your theme.php files (you MUST edit all themes) look for the themeheader &
themefooter functions. Then replace the first example with the second example:
THEMEHEADER ORIGINAL LINES
if ($banners == 1) {
include("banners.php");
}
THEMEHEADER NEW LINES
if ($banners == 1) {
include("includes/banners1.php");
include("includes/banners2.php");
include("includes/banners3.php");
}
THEMEFOOTER NEW LINES (place just after the global line)
if ($banners == 1) {
include("includes/banners4.php");
include("includes/banners5.php");
include("includes/banners6.php");
}
You will have to add the following to your theme.php (if your theme uses
html files this is the one to edit):
1) $tbanners1 to the header display for placement 1 (header.html).
2) $tbanners2 to the left_center display for placement 2 (left_center.html).
3) $tbanners5 to the center_right display for placement 5 (certer_right.html).
4) $tbanners6 to the footer display for placement 6 (footer.html).
Now open the Document.txt file and following the instructions in it.
|
|
|