PDA

View Full Version : HTML based Mesage board


Kynoch
25-02-2003, 23:03
Is there any way of making a very simple message board.

I dont want a forum, just a very very simple layout message board where messages can be posted like on MIRC or similar, the user name, date, time is displayed.

I am wanting one for an ASP site i am creating.

Anyone got any ideas?

The server is set up to use ASP via VBScript, no PHP or anythign else.

Zozart
26-02-2003, 00:17
i've heard of asp messageboards? but the only other basic ones are simply php but using text files to store data instead of a database.

Heres two asp msgboards

http://www.chriswetherell.com/BoardLess/
http://www.01forums.com

Hope it helps!

Kynoch
26-02-2003, 01:22
thx splaty, ive seen one of them sites earlier.

i found a really good one for what i want to do which has a full online tutorial and support forums etc for it so im working my way through setting it up atm.

looks like a long night ahead.

heres the link incase your interested.

http://www.webthang.co.uk/tutorials/gor_forum/p1.htm

Zozart
26-02-2003, 01:27
Cool, hope it works out okay :D

Kynoch
26-02-2003, 03:17
got quiet far in it for one night but im stuck, it requires me to use Data Bindings bu i dont know how to access them in Dreamweaver MX, the guide is in Dev4.

Any ideas?

AlastairM
26-02-2003, 10:30
I'll knock something up for you this morning if I get time.

cheers

alastair

AlastairM
26-02-2003, 10:53
actually the net connection at work is going down at sometime today for some length of time (gotta love BT's forward planning :D) so I don't know if I'll get it posted here before this evening.

cheers

alastair

AlastairM
26-02-2003, 11:54
ok, does this sort of do what you want?

shoutbox (http://localhost/asp/shoutbox/)

if so I'll tidy it up and you can have the code.

cheers

alastair

abe
26-02-2003, 12:25
uh, would be nice if it werent on your computer.

AlastairM
26-02-2003, 12:40
Originally posted by *abe*
uh, would be nice if it werent on your computer.

it would be, wouldn't it, I copied and pasted from the wrong browser window :rolleyes:

OK, try shoutbox (http://www.19nine78.net/kustom/shoutbox/)

**summats up with the database permissions - give us a minute**

***fixed it***

cheers

alastair

Kynoch
26-02-2003, 13:39
looks ok m8, any chance of having the code off you then?

does this use an access database to store the messages?

thanks

chris

AlastairM
26-02-2003, 13:49
does this use an access database to store the messages?

It does indeed.

I'll tidy it up and comment the code after lunch and add a little admin section to let you delete posts as well. Then I'll zip it up and put it up for download.

cheers

alastair

Kynoch
26-02-2003, 16:30
Cheers. :)

Think ill learn ASP properly when i leave college.

Always good to make simple but clever web pages with.

AlastairM
26-02-2003, 17:01
thats the zip up there now

shoutbox (http://www.19nine78.net/kustom/shoutbox/)

should be easy enough to integrate/customise

cheers

alastair

PublicNME
13-03-2003, 17:37
Dont suppose it would be possible for me to use this aswell?

:D

AlastairM
13-03-2003, 17:55
feel free :D

Only 1 rule.

I don't mind not being credited or linked to, but no selling it.

cheers

alastair

Zozart
13-03-2003, 18:07
you should write more scripts :).. I hear php is good this time of year :D :D

Raelrigs
20-03-2003, 00:45
can i use this shoutbox on my site

thanks

AlastairM
20-03-2003, 11:50
sure, anyone is free to use it...

cheers

alastair

DarkEntity
04-04-2003, 11:14
how do u add that to ur site?

im using dreamweaver Mx

AlastairM
04-04-2003, 12:08
OK, you'll have to switch into code view for this...

on each page that you want to use it on you'll have to add the following line:

<!-- #include file="shoutbox_functions.asp" -->

Make sure to adjust the path to the shoutbox_functions.asp page.

then, whereever you want to show the messages on the page add:

<div id="messages">
<%call displayMessages(10)%>
</div>

and whereever you want to show the form to post a message add:

<%call init()%>

Thats part 1...

Part 2

Open up shoutbox_functions.asp and find the line 26

varConn = "provider=microsoft.jet.oledb.4.0;data source=C:\Inetpub\wwwroot\development\asp\shoutbox \shoutbox.mdb;"

and change it so that the 'source=' part points to the location of the shoutbox.mdb database on your server.

If your not sure what your server paths are, create an asp file called 'path.asp' and add the following line to it:

<%=server.mappath("path.asp")%>

which should help you figure it out ;)

That should be it, if not let me know.

cheers

alastair