CzarNews Information (PHP News Script)
Current Version: 1.20
News Manager - Requires: PHP 4,5 (safe_mode OFF), MySQL 3,4,5
Released on: Wednesday, April 26, 2006 by Czaries
CzarNews.zip [55.9 KB]
[ See Also: Copyright/Link Removal Option ]
Features
- MySQL Backend - Allows for super-fast editing and posting of content. MySQL is one of the fastest databases in the world, and is many times faster than using flat files to post and store news.
- News - Quickly and easily post news, using HTML and other formatting styles.
- Users - You may have as many users as you like, each with their own personal set of permissions to make sure untrusted news posters don't cause mischief, or change any important settings.
- Categories - Make unlimited posting categories to better organize your news, or you can post without categories.
- Installer - Auto-Install script makes it easy to get up and going within minutes. It will automatically create the configuration files necessary, and will create all the MySQL tables necessary to get going fast. Note: Auto-Install will not work if PHP is in SAFE MODE.
- Configuration - You can make all the changes to your news and the way it is displayed through your web browser. No more opening up configuration files with Notepad and manually editing them.
- Admin Panel - Powerful, very easy to use admin panel that allows you to do everything over the web.
- Timezone Offset - Post news in your own time zone instead of the server's.
- Forgot Password - [v1.01] Password retrieval system incase you forget your password.
- News Search - [v1.12] Fully searchable news with word and partial word highlighting
- Comments - [v1.12] Comments with fraud protection - no one can post under a CzarNews user's name without thier password
- Code Generator - [v1.12] Quickly and easily generate PHP code to include your news
- Keywords - [v1.12] Replace a word or string of text with different text, image, link, or HTML code. Doubles as a word filter.
- Update Check - [v1.13] Checks Czaries.net for the latest version of CzarNews
- Image Uploading - [v1.14] Upload and insert images into news items with simple reference tags
- XHTML 1.0 Compliant - [v1.14] News output displayed on your site through 'news.php' and 'headlines.php' is valid XHTML 1.0 Transitional
- Language Packs - [v1.20] Easily translate text in CzarNews with one simple language variable file
Demo
To see a working demo of CzarNews, you can follow the link below using the following login information:
User: admin
Pass: admin
Admin Panel Demo
View Posted News
Copyright/Link Removal Option
A credit link is placed on the script at the very bottom of the news page where it is displayed on your website.
This link and all copyright notices are REQUIRED for all those who use the script for free.
If you wish to remove this link for a more professional or clean look, please pay
for the copyright link removal. A one-time payment is good forever, for unlimited upgrades. Please type in the
full URL of the website you wish to use the non-copyrighted version of CzarNews on in the "comments" field so I
know you paid.
$35.00 USD via PayPal
Changelog
Version 1.20
April 26, 2006
New Features
- Added LANGUAGE PACKS, initial language provided is ENGLISH (lang/en.php), language variables currently limited to news.php and most of index.php
- Added function 'cn_dbEscape' to help prevent SQL-Injection attacks
Bug Fixes/Updates
- Update: Enhanced security of 'cn_auth.php' and 'news.php' files SQL statements
- Update: Altered some SQL statements to be compatible with MySQL 5 [Thanks: Scott Gartner]
- Update: Extensively tested with and prepared for PHP 5 and MySQL 5
- Update: Valid XHTML 1.0 output for news items printed out by 'news.php' and 'headlines.php'
- Update: Changed all function names to start with a 'cn_' prefix to avoid conflictions with a user's predefined functions
- FIX: Incorrect javascript was causing category jump box to not function correctly in some browsers
- FIX: Undefined function error in 'cn_images.php'
- FIX: Now converts line breaks in comments to proper HTML line breaks
- FIX: SQL errors when inserting news headlines or comments with single or double quotes when magic_quotes_gpc was turned off
Version 1.14
March 25, 2005
New Features
- Added 'cn_images.php' page for adding/uploading images for news articles
- Added image upload, delete, and thumbnail functions
- Added config options for images, like width and height for thumbnails
- Added user permission to access and use images in user's news posts
- Added function to build query string so CzarNews will work within most portal systems
Bug Fixes/Updates
- Update: Valid XHTML 1.0 output for news items printed out by 'news.php' and 'headlines.php'
- Update: Changed all function names to start with a 'cn_' prefix to avoid conflictions with a user's predefined functions
- FIX: Remote file inclusion security hole if 'allow_url_fopen' and 'register_globals' are turned 'On'
- FIX: File 'fpass.php' would produce an error if register_globals was not on
- FIX: File 'news.php' would display news from all categories, even if a category ($c) was specified
- FIX: 'Hyperlink' keyword displayed full URL instead of the text as a link
- FIX: Minor issues with some user category permissions
Version 1.13b
October 13, 2004
Bug Fixes/Updates
- Fixed category permission error when users were not granted access to post under all categories
Version 1.13
October 2, 2004
New Features
- Added 'cn_update.php' file that checks czaries.net for updates
Bug Fixes/Updates
- Updated all variables to superglobals ($_POST, $_GET, etc...) for increased security and portability
- Updated existing functions for increased portability and added new function to list usernames
- Updated generator and install page to auto-detect correct current directory of CzarNews
- Fixed bug that allowed anonymous users to use HTML in comments
- Fixed bug to insert line breaks for content areas ONLY instead of after news was completely formatted (would break tables, etc)
- Fixed some cross-browser javascript compatibility issues for admin panel of CzarNews
- Fixed bug that would not allow users to edit their own news posts when 'News Admin' was unchecked
- Fixed 'Function redefined' errors that would appear if user included 'headlines.php' or 'news.php' more than once on the same page
- Security warnings are now only displayed for logged-in admin users
- Structured all PHP code to make it easier to read (at the request of CzarNews users)
Version 1.12
March 7, 2004
New Features
- Added 'All Categories' news display selection for category box
- Added news search feature with highlighting of searched word
- Added Comments with current username protection (somone cannot post a comment under a CzarNews user's name w/o their password)
- Added 'cn_info.php' file to explain a little about the script and myself
- Added 'cn_generate.php' file to generate PHP code that you can use to include the file 'news.php'
- Added ability to create news summaries and full stories
- Added ability to move and delete multiple news items at once
- Added ability to edit HTML for 'source' and 'author' links
- Added warning for having 'install.php' on server after script is installed
Bug Fixes
- Optimized several lines of code for faster execution speed
- Fixed bug with category display box (would not display if user was not logged in)
- Fixed security bug that allowed users to delete news items outside their category permissions
- Fixed news setting to allow user permission: 'allow user to edit/delete only posts that they themselves posted
Version 1.01
December 16, 2003
New Features
- 'Forgot Password' mailer
- Single article link (can view single news item with id)
Bug Fixes
- News numbering problem in news admin page
- Modified default selections when adding new user to make it easier
- User listing fixes when only one user exists
- Added selection box for viewing and displaying news in different categories when more than one category exists
- Source URL would not display properly when used in a news post
- Updated some functions in 'cn_config.php' to increase excecution speed
- Minor modifications to install script
- Provided SQL file of table structure incase install script failed (czarnews.sql)
Version 1.00 (BETA)
July 30, 2003
CzarNews Released
- First public release of CzarNews. Released as BETA version because the script had never been tested on a public scale.