Results 1 to 7 of 7

Thread: Bulding a forum, but how ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5

    Question

    Hi

    I'm working on a site (ASP) and I'm thinking about implementing a forum.

    I've already figured out how to manage all the posts, threads, and "forums".

    My question is this : How do I manage which threads are "new" and "unread" for each member or guest at the forum ?

    Any comments or ideas on solving this will be greatly appreciated.
    Thanx.
    The Help Is Out There ...
    Is this your current expression ? - Ask the pro's here
    L8r :+)

  2. #2
    Hyperactive Member Kagey's Avatar
    Join Date
    Sep 2000
    Location
    The Wilderness of New Brunswick
    Posts
    294
    You could just record when the user logs in and then next time they come select all threads that have a reply greater than that date.

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5
    Hi Kagey

    Sounds like a pretty neat solution to this problem, I'll give it a try

    Oh - btw - another question (for all maybe ?) - I've been thinking about putting in image smileys like in this forum. My first idea was to just parse the text from the posting searching for matching "tags" and then cut them out, pasting the img code for it instead, however I fear that this could become slow when displaying say 20 postings from one thread.
    Would this be a stupid way of doing it ? If so, do you maybe have a different way to offer ?

    Any response greatly appreciated - thanx.
    Last edited by Futte; Apr 1st, 2001 at 02:51 AM.
    The Help Is Out There ...
    Is this your current expression ? - Ask the pro's here
    L8r :+)

  4. #4
    Addicted Member JasonGS's Avatar
    Join Date
    May 2000
    Location
    California
    Posts
    155
    tippedcow.com has an ASP forum free for download, you could take a look and see how they do it.

  5. #5
    Addicted Member
    Join Date
    Nov 2000
    Location
    UK
    Posts
    164
    You could use the replace statement e.g.

    replace(myText,"<happy>","<img src="happy.gif">

    I dont think it would be that much slower as you are only adding a little text and once the image has loaded it is cached.

    Alex
    ASP, SQL, VB6, Java Script and dubious guitar playing skills.

  6. #6

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5
    To JasonGS:

    Thanx for the tip about tippedcow.com - it's a fairly big application, but seems to be working pretty good. I've been through the trialboard code and seen how they handle new posts.

    To alexmac:

    I've noted your suggestion and I will try a few test runs to see if it will do the trick. Great tip

    I've been asking about this because I need to build a forum that is language independant. Most forums are based on the English language, but this one needs to be able to handle both Danish and English. Thanx for the help all.

    Other things I've done recently :
    O) Level-based security system.
    O) Message system between registered users.
    O) Controlable article displayer/editor for tutorials and guides. Currently supports two languages.

    Let me know if you want to know more about any of them.

    Keep up the great work guys
    The Help Is Out There ...
    Is this your current expression ? - Ask the pro's here
    L8r :+)

  7. #7
    Addicted Member
    Join Date
    Nov 2000
    Location
    UK
    Posts
    164
    Sounds like your going pretty well Futte. I have nearly finshed my own message board system just want to neaten it up a bit.
    Have you put in a paging system? If you havent I would be happy to give you some sample code for that part. You could put a search system in if you havent already. just use the SQL like% statement.

    Alex
    ASP, SQL, VB6, Java Script and dubious guitar playing skills.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width