Location: PHPKode > projects > LNP: Lightweight news portal > news/README_EN.txt
LNP: Lightweight news Portal v1.0-BETA README (Pseudo-english)       10:24 PM 7/16/2002
---------------------------------------------------------------------------------------
This software is licensed as a LGPL software.


 BEWARE: My english is really bad, more bad than ASP itself. Oh yeah.

 For people who want to know what is LNP, the discription should not be too big.
 LNP is a engine coded in PHP, this code help you administrate a NEWS PORTAL without
 any extra efforts. If i have to define LNP using only one word, this word should be
 "MINIMALISM".


 FEATURES:
	
	 - A simple news engine that support pictures attach (5 max)
	 - POTD(Picture of the day) section with archives
	 - Clean administration system, minimalist as well
	 - NO MYSQL DATABASE IS REQUIERED, ONLY PHP-enabled web server
           like apache/sambar/IIS.
         - Small, fast, custom & hackable. Not ton of code to edit.
	 - Little VOTE POLL system, nothing really complex.



Note: IF YOU WANT TO HELP ME, PLEASE FIX THIS DOC AND THROW IT BACK TO ME :)



INSTALLATION:
-------------

PREREQUISES:
	1) PHP 4.1.0 or more.
	2) GD extension (lib_gd.dll|so), you can easily bypass this need
           by hacking my code a little bit in admin.php to disable FILES
           posting and POTD.


 
In the includes/ directory you will find a file called config.php, you
have to open it and modify this lines:

config.php:
<?
	
define("SITE_ROOT","/where/is/your/LNP/");
define("SITE_URL","http://www.sample.com/news/");
define("SITE_NAME","Put your site name here");
define("SITE_PASSWORD","lnp4ever");
?>

SITE_ROOT must point to the local path location of your LNP installation, if
you really dont know what to put here, put nothing and ask god to help you.

SITE_URL must contain the WEB ADDRESS (URL) of the site + the remote path
         to news engine: IE: www.sample.com/news/

SITE_NAME, Find it by youself hehe

SITE_PASSWORD, The password used by admin.php


After upload (to your favorite webserver), you have to check for:

includes/newsdata and resources/newsdata MUST BE WRITABLE BY THE
SERVER (chown nobody -R or chmod 777 -R) 


Last check, fire up a browser and point it to your index.php and admin.php, 
if everything work, lemme know. (Minimalism is not Optimism ;]) but anyway
i dont thing is really hard to fix possible bugs.


CUSTOMIZATION
-------------

Everything is a HTML file, you can custom it with a cheap HTML editor, check for:

resources/templates/		: HTML templates (.tpl)
and
resources/css/			: cascading style sheet

You can edit show_potd.php and show_photo.php too, this 2 files contain bare
HTML for showing up pictures.


SECURITY ISSUES
---------------

I dont really know about that, the system is pretty simple, using sessions
to check if you are the correct rights (admin.php) and nothing more fancy.



POSSIBLE BUGS?
--------------

OF COURSE, if you find one nasty bug, please post it to me and i will fix
it back really quickly.

https://sourceforge.net/tracker/?func=add&group_id=57988&atid=486132



CONCLUSION
----------

If someone is interested in LNP devel, say it i desesperatly need a friend :)
(just kidding)

Yanick Bourbeau - hide@address.com




	
Return current item: LNP: Lightweight news portal