#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2012
    Posts
    8
    Rep Power
    0

    Book/article on multi-threaded comments?


    Hello,

    Does anybody know of a good book/website where it is explained how to write multi-threaded comments? something similar to how forums work.

    I tried writing my own code but and it works, but I'm having trouble with the recursion part and the reply buttons. Basically, the code I wrote doesn't enable users to reply to comments made by other users, I'm struggling a bit with the id's and the parent_id's.

    Thanks.
  2. #2
  3. Sarcky
    Devshed Supreme Being (6500+ posts)

    Join Date
    Oct 2006
    Location
    Pennsylvania, USA
    Posts
    10,908
    Rep Power
    6351
    Multi-threaded like a forum, or multi-threaded like reddit/metafilter?

    A forum is easy. Attach each post to a "topic" and display them in chronological order.

    True multi-threaded conversations are harder.
    HEY! YOU! Read the New User Guide and Forum Rules

    "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin

    "The greatest tragedy of this changing society is that people who never knew what it was like before will simply assume that this is the way things are supposed to be." -2600 Magazine, Fall 2002

    Think we're being rude? Maybe you asked a bad question or you're a Help Vampire. Trying to argue intelligently? Please read this.

IMN logo majestic logo threadwatch logo seochat tools logo