Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WebBoard / Auction

Status
Not open for further replies.

JulieS

MIS
Nov 23, 2000
48
CA
I'm wondering if anyone knows of a good tutorial for setting up WebBoards/MessageBoards (Auctions would also be nice, but i'll start with simplicity). I've searched everywhere, and can only find ones that are already done for me.

-I'm new to ASP, but know how to read and write to a database. The only thing I'm not sure of in WebBoards is how to make the 'thread'. Besides that, is programming a WebBoard drastically different than reading and writing?

Thanks,
Julie


 
Threads are made through the use of a unique identifier in a database, If you are using Access then this would be an autonumber, if you are using SQL Server then this would be an identity or a GUID. You then just have an associated table that references this entry in the threads table that contains the posts.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
The way I set mine up was to have a "Parent" field for each entry in the messageboard. When a new thread was entered, the Parent would be 0. When a reply was entered to this thread, the Parent would be the ID of the thread.
On each message I had a display number which started at 0 (for the beginning of the thread) and incremented by one for each reply.
I also had a Level field to tell me how far to indent the message title when displaying the list of replies to the thread.

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top