RDoGG2k1
Starting Member
6 Posts |
Posted - 13 June 2001 : 19:58:45
|
Hi! I am running a forum similar to Snitz Forums. Snitz Forums are great but my website manager told me to keep it simple. Thus, I am using a forum with only 5 ASP files:
- config.asp - info such as database, functions, etc.
- default.asp - shows the forums
- forum.asp - shows listing of messages in the forum
- message.asp - shows a message
- post.asp - allows user to post a message
my dillemma is that i need to use UBB code but I don't know how. i currently use this command to show the message:
% = Replace(Server.HTMLEncode(rsMessage("Body")), vbCrLf, "<BR>" + vbCrLf) %
rsMessage("Body") is the message from the database.
i think i should create a function in my config.asp file that scans the message for UBB code (such as bold, underline, links, and smileys .
if anyone can send me the coding, i'd be more than grateful. Email me at RDoGG2k1@yahoo.com to respond. All replies are thanked in advanced.
RDoGG2k1. RDoGG2k1@yahoo.com
|
|