
PC News News Documentation
PC News News Documentation
*
Description
*
Features
*
Installation
*
Path to Perl
*
Configuration
*
Uploading
*
Running
*
Adding Boards & Messages
*
Building & Re-Building the board
*
Description
News News allows you to edit and add new content to your site without the need for making new pages and without the use of FTP. All changes can be made via a multi-user password protected administration script.
Features
Simple addition and editing of web site content.
Administer multiple sites/pages.
Add an Unlimited number of items.
Multi-User Password Protected.
Easy to build templates.
Builds Static pages for low server CPU usage.
Installation
Path to Perl
#!/usr/bin/perl
- The script uses the most common path to Perl however if the script doesn’t run for you, you may have to change the first line of each cgi and pm file.
Configuration
- The Configs.pm file contains several variables that will need editing before the script will run on your server.
- $scripturl = "http://www.yourdomain.com/newsnews/admin.cgi";
Enter the exact URL to the main News News script file.
- $scriptdir = "/full/path/to/newsnews";
This is the path in which the script is running in.
- $dbasedir = "/full/path/to/nndb";
Enter a path for the database, preferably a non-public directory.
- $adminemail = "admin\@yourdomain.com";
This email address will be used for mailing out lost passwords.
- $mailprog = "/usr/sbin/sendmail";
Enter your path to sendmail.
- Customise or add any templates you’d like to use in the /templates/display directory. Each must contain %boardmsgs% where you’d like the messages to be displayed.
Uploading
Create a directory for the script on your server, which must have CGI access.
Upload all files in ASCII mode.
CHMOD .CGI and .PM files to 755.
CHMOD your data directory specified in $dbasedir to 777.
Running
First open admin.cgi in your web-browser and login with the default password "pass". Now you are able to change that password to something that suits you.
Adding Boards & Messages
Once you are logged in you will need to create a board for which to display your messages on. This is done via the "Add Board" button, enter a simple one or two word name for the board.
Once a board is added you are able to add messages to it, these will be displayed one after the other when the board is built into HTML. Click the "Add Message" button and select a board for which to add the message too. Then simply enter the text to be displayed. This can all be edited later of course from the "Edit Message" button.
Building & Re-Building the board
With some content added and your board all setup you will now be able to generate the data into static HTML files. Click the "Re-Build Board" button, this allows you to select, which board you’d like to build, the template you’d like to use, and also the file to save it as. The file path must be a full path where either the file exists and has been CHMOD 666 or where the directory exists and is CHMOD 777.
 |
Proud suppliers of perl cgi and php applications created from the webmasters point of view. PerlCoders supplies top quality CGI scripts at membership warehouse prices every day. This is the only webmaster resource you need to build traffic and add interactive content to any website.
Need custom programming or website development? We do it all. Just use our contact form and let us know what you need.
|
|
Perlcoders.com - Copyright © 2003 by PerlCoders Group
Privacy policy
Licensing policy
Site Usage Terms
|
|
|
 |
|
|
 |
 |
Right now get access at a special rate of only $160 which includes more than 156 of our top quality CGI scripts and get deep discounts on many others. You also get full access to our members area which is slam packed with webmaster goodies.
· Read more...

|
|
|
|
|
|
|
 |
|
 |
|
|