473,385 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Help with message system

I am looking to implement a message system on my web site that would
allow users to input their name and a comment and have it appear
automatically online. Perhaps a facility to have the message checked
for profanities would be nice. I don't want a full blown guestbook but
mealy a small section that allows people to comment on the pages
content and add their opinion.

Does anybody know how I might achieve this with either tailored code
or perhaps an off-the-shelf package? Thanks in advance.
Jul 17 '05 #1
3 1899
I noticed that Message-ID:
<84**************************@posting.google.com > from White_Domino
contained the following:
I am looking to implement a message system on my web site that would
allow users to input their name and a comment and have it appear
automatically online. Perhaps a facility to have the message checked
for profanities would be nice. I don't want a full blown guestbook but
mealy a small section that allows people to comment on the pages
content and add their opinion.


OK, dead simple system that uses a text file to store the entries.

http://www.ckdog.co.uk/logger/display.php

to edit the file go to

http://www.ckdog.co.uk/logger/editlog.php

Refinements (such as not allowing html etc) are left up to you.

Want it?

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #2
"Geoff Berrow" <bl******@ckdog.co.uk> wrote in message
news:jc********************************@4ax.com...
I noticed that Message-ID:
<84**************************@posting.google.com > from White_Domino
contained the following:
I am looking to implement a message system on my web site that would
allow users to input their name and a comment and have it appear
automatically online. Perhaps a facility to have the message checked
for profanities would be nice. I don't want a full blown guestbook but
mealy a small section that allows people to comment on the pages
content and add their opinion.


OK, dead simple system that uses a text file to store the entries.

http://www.ckdog.co.uk/logger/display.php

to edit the file go to

http://www.ckdog.co.uk/logger/editlog.php

Refinements (such as not allowing html etc) are left up to you.

Want it?

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/


I wouldn't call disallowing html a "refinement." It an absolute must.
Otherwise you're just people to deface your site.

In your example, if I post the following (and comments are shown to the
public) it would cast a rather strange light on you:

<script>

window.onload = function() {
var s = document.body.innerHTML;
s = s.replace(/broken links/g, 'sightings of WMD');
document.body.innerHTML = s;
}

</script>
--
Obey the Clown - http://www.conradish.net/bobo/
Jul 17 '05 #3
I noticed that Message-ID: <_N********************@comcast.com> from
Chung Leong contained the following:
I wouldn't call disallowing html a "refinement." It an absolute must.
Otherwise you're just people to deface your site.

In your example, if I post the following (and comments are shown to the
public) it would cast a rather strange light on you:

We get a lot of people here asking for very simple scripts that they can
use. As such I intend to put together some 'bare bones' scripts for
newbies that are simple to implement and modify. Thanks for pointing
out the weakness in this one. Would htmlentities() be sufficient, do
you think?
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Dave | last post by:
After following Microsofts admonition to reformat my system before doing a final compilation of my app I got many warnings/errors upon compiling an rtf file created in word. I used the Help...
23
by: Jason | last post by:
Hi, I was wondering if any could point me to an example or give me ideas on how to dynamically create a form based on a database table? So, I would have a table designed to tell my application...
5
by: Steve Teeples | last post by:
Can someone point me to a document that clearly identifies the steps of creating a good help system for an application? I have a test tool that I'd like to add help to so that others will know how...
6
by: James Radke | last post by:
Hello, I have a multithreaded windows NT service application (vb.net 2003) that I am working on (my first one), which reads a message queue and creates multiple threads to perform the processing...
5
by: Andrew | last post by:
Hey all, Requesting help from the VB.Net gurus in here. I was given a task to write a Windows Service (VB.Net) that would run an external program, and if that program closed for any reason...
1
by: Michael D. Reed | last post by:
I am using the help class to display a simple help file. I generated the help file using Word and saving it as a single page Web page (.mht extension). I show the help file with the following...
0
by: jennifer.perkins | last post by:
I've seen a couple posts by people having similar problems, but the suggested solutions I've tried so far haven't worked. I'm using a SOAP client in VB.Net (constructed by wsdl.exe) and the...
22
by: KitKat | last post by:
I need to get this to go to each folders: Cam 1, Cam 2, Cam 4, Cam 6, Cam 7, and Cam 8. Well it does that but it also needs to change the file name to the same folder where the file is being...
9
by: Ringo | last post by:
the LeafProject http://www.leafproject.org has a DLL for Face recognition. it is written in C++ but they interface to it from Lisp. I want to interface to it from C#. Their Lisp definitions looks...
12
by: =?Utf-8?B?ZGdvdw==?= | last post by:
I designed a "contact_us" page in visual web developer 2005 express along with EW2 after viewing tutorials on asp.net's help page. Features work like they should, but I cannot figure out how to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.