Readme.html:
N-13 News - Readme
Installation Instructions
1.
Download and extract all files.
2.
Open and edit config.php to match the information to your
database.
3.
Save config.php upload all files to your server.
4.
Now you must import the SQL DUMP file into your database. To do this I
recommend you use phpmyadmin. You do this by logging into phpmyadmin on your
server. Select the database you are going to install the script to. Select
SQL, It should give you the option to load an SQL file from your computer.
Click Browse then locate the file 'SQL DUMP.txt' then press OK. Once the SQL
file has been inserted this will create all necessary tables and insert all
the information into them. If
everything has been inserted into the database you can then go to the next
step.
5.
Once all files have been uploaded run install.php first thing you will need
to do is enter your username, password and email address. This will be the
main account for the admin area. Once you have filled out the admin name,
pass and email it will then begin to insert the account into the database.
6.
Once install.php has been successfully installed you can now
login to admin.php with the username and password you specified.
7.
Now you can post as much news as you want knowing you have
complete control over how it's displayed and managed.
How to
Post news.
Once logged in simply click on the Add News link towards the
top and post some news.
Edit news.
Click on the Edit News link towards the top then select
which news story you wish to edit.
Delete news.
To delete some news click on Edit News then once all your
news stories have loaded each one will have a link saying DELETE click it to
delete that news story
Delete comments.
To delete any comments you or users have posted for a news
story. Click Edit News then once your news has loaded it will show you how
many comments that news has click on the number of comments which will then
load a separate screen showing you all the comments which you can then
easily edit and delete.
Edit personal settings.
Once logged in you can change your own personal settings
like your password , email address and avatar URL. To do this go to
Options>Personal Options.
Manage accounts.
When using the N-13 News script you can have more than 1
account to post news maybe another account for someone else editing the
site?. To add another account go to Options>Manage Accounts from here you
can add, edit and delete any other accounts. When creating an account there
are 2 types you can create, Normal and God. There is 2 main differences
between these. the Normal account has restricted access which restricts a
user from accessing the System Configuration section, Manage Accounts
section and also only allows them edit only news that they have posted. The
God account is a complete access account which has no restrictions
whatsoever.
Manage Word Filters.
To edit the word filters which filter and replace any number of words from all
comments what you must do is. Go to Options>Word Filters. From here you can
easily add new filters or delete existing filters. When adding new filters you
can either replace the filtered word with nothing meaning the word would be
removed, Or you can replace it with a modified version of the word.
Manage Smilies
A lot of smiley faces are inserted into the database when you install the
script. These smilies are used within the news. When adding or editing news
you can easily click on a smiley or image to the right of the main text area
which will insert the code for that smiley. Once the news has been submitted
that code will be replaced by the actual smiley it's self. You can Add/Edit
or delete existing smilies by going to Options>Manage Smilies.
System Configuration.
To access the System Configuration section go to
Options>System Configuration. From here you can manage how many post are
shown per page the date format etc and some other settings which effect how
the news and comments are displayed.
Templates.
Most important of them all is the Templates section.
This is where you control the overall look and feel of your news and
comments. You have complete! control no restrictions as to how you can
display news and comments. To do this go to Options>Templates. How it works is...First you
edit the News Header. This is where you include everything you would
normally place within the head section of your page for example
<head><head><title></title></body>
For the News Body part this shows the actual news its self you have a
choice what you want to display whether it be the title, story, author or
date story was posted on and a lot of other options. Whatever you put in the
News Body will be duplicated and and shown again for each news story posted.
News Footer. This is simply what you would normally place at the bottom
of your page for example </body></html>.
Comments. This displays all the comments which are available for each
news story. From here you can control how they are displayed much like how
the news is displayed.
Comments Form. This is the form users use when posting comments you have
total control over how its displayed but its recommended you leave the names
of each form element as they are as changing these will cause the script not
to function properly.
News/Comments Pagintation. Depending on how many News and Comments
are allowed per page (which you can change in the System Configuration
section) and how many news and comments there actually are the script will
determine how many pages to show automatically. You have complete control
over how the 'Pagintation' is displayed.
Implement News
Of course there are many ways you could implement this news
script into your own design. One way which I wouldn't recommend because I'm
not a fan of iframes would be... to use iframes. To do this all you would
need to do is include the following code into your existing design.<iframe src="news/index.php" width="100%" height="100%"></iframe>
Which will create a new frame within your current page allowing you to
show the news within that frame. All you would need to do is edit and tweak
the iframe to get it to match your design.
An alternative method I would recommend you use is... if your host has
PHP installed you use the 'include' function which will allow you to insert
the news from any location into your current page. To do this all you would
use the following code.
<?php
include 'news/index.php';?>Replacing news/ with the directory you
have installed the news script to.
Powered by N-13 News 1.2 © 2005
Other News Publishing Scripts: