Display comments anywhere using cutePHP news

 

READ_COMMENTS for CutePHP NEWS: script to parse comments for specific topic - news

VALUABLE SCRIPTS FOR WEBMASTERSLunarpages hosting php jsp asp perl 3000 in HD 40 Gigabytes data transfer 999 email accounts

SynopsisREAD_COMMENTS is a PHP script, free to use under GPL license, that interface  the  CUTEPHP database to place COMMENTS in any page with blog style.

CutePHP is found here, it is a NEWS SYSTEM very simple to use using PHP.

Reason that I programmed the script is that available add-on scripts for cutephp did not work the way I want. For my articles or news I wanted the comments appearOracle E1 Peoplesoft CNC Technical Support for EnterpriseOne wth the news in blog style. The aj-fork did not provide the function either.

READ_COMMENTS Features:   

Programmed in  PHP Language, returns n comments . It will read the comments.txt file from CutePHP. Easy installation and it include a default configuration. Use a table format to display comments.

Possible uses: Add related comments for a specific topic anywhere.

Requirements: PHP 4.3.10 (I tested with this version but I think it will work with recent versions of PHP). Easy to install 1 minute, need to modify no files from the current CutePHP installation. CutePHP versions: It was tested on CutePHP 1.3.2.

Limitations: I this time will show all comments, user, email and date posted. Need to browse the news.txt to get the key of the specific topic or news. .

Changes log: (updated 03-27-2005)

Please use the Comments to suggest new features, soon as the script gets acceptance then I will include new mods.

Read_Commens Version Status:

Alpha version was tested during March 2005, the script is available to the public under GLP license, free to use.

SAMPLES

See the Read_Comments in action on my web pages: See it in action


Version 0.0.1 The script is available to the public. Released March 27, 2005

Download the READ_COMMENTS, (few 0100101 bytes):

Download READ_COMMENTS.zip file now


Installing instructions:

======================================================================
Files: read_comments.php (size: size=2k)

Installation time: easy, 2-5 minutes, expertise: low to medium, need to copy and browse the comments.txt file.

1. Download the read_comments.zip and unzip the file, 2. configure the variables below, copy the read_coments.php to the directory where cutePHP is installed

2. Configure the following variables:

Configure here: browse the file /data/news.txt of the cutePHP install and locate the first field (key)
format looks something like this:
1111575623|sv800|Title|description|||7||

this sample I use the key:: 111575623

$news_id = 1111575623;


-Optional: Configure here: date format - use PHP format

$date_format = 'F j, Y, g:i a';

-Configure here: specified the current dir of cutePHP install, this is the relative URL for the location of the file comments.txt, replace <your current cutephp dir> with current cutephp dir

$all_comments = file("./<your current cutephp dir>/data/comments.txt");


// end of configuration, no mods after this line unless you want change table width and color only

3. Sample how to call the script using "include" at your wish:

include("../<cutephp dir>/read_comments.php");

Credits:

Read_Comments.php Script created and maintained by Sergio Vargas-Sanabria, please use contact information on the header.

 


LIVE DEMO, Comments are Welcome!

Read_Comments.php HELP using CutePHP and Read_Comments (that's what for...):

 


Read_Comments.php Help and Comments
Include your comments or inquiry for help
27 Mar 2005

 


More scripts for WebMasters:

MORE WEBMASTERS VALUABLE HELPS AND TOOLS:

READ_COMMENTS for CutePHP NEWS: script to parse comments for specific topic - news

Java and PHP How to run PHP using Java OnClick


Más scripts y programas gratis para WebMasters:

MOD_REWRITE ayuda. Como convertir páginas dinámicas en estáticas

Ejecutar código PHP in páginas .HTML Como crear páginas HTML que corran código PHP

 

viXML How to add pre-made searches to pages, How provide Metasearch results to pages dynamically,  Creating thematic Directories using Search Engines, How to add content to pages using popular searches, script to avoid duplicate content, PHP script to add search results to sites. 

Here is how it works, look the demo::

viXML demo using the words "Search Engine Optimization” option no links

Error: It's not possible to reach RSS file...


Donations: If you liked the any of our script contributions are welcome. Help me with the web hosting expenses and to maintain the script free of charge. Thanks for your support : )

Paypal Donation

Lunarpages hosting php jsp asp perl 3000 in HD 40 Gigabytes data transfer 999 email accounts

|          Contact         |

Request a Quote     | CNC Qualifications         | Links and Resources

 Sergio Vargas-Sanabria © 2005, PEOPLECNC.COM belongs to VLialin Inc.US based company. All Rights Reserved, READ_COMMENTS for CutePHP NEWS: script to parse comments for specific topic - news