PDA

View Full Version : Posting a reply to a thread


filburt1
02-06-2003, 10:19 PM
What is absolutely everything that goes on when posting a reply to a thread? All I can think of is:
1. Adding to the post table
2. Updating various caches
3. Updating the search index
4. Mailing the user if they're subscribed

Queries would be good, too :)

Davey
02-06-2003, 10:27 PM
It's all in newreply.php, lol, didn't you think of reading through the file?

Dave.

filburt1
02-06-2003, 10:28 PM
I'd like a summary instead of reading thousands of lines of horribly-spaced, half-deprecated vB2 code...

Iguana
02-07-2003, 12:53 AM
$sql = 'SELECT * FROM `post` LIMIT 0, 30';

filburt1
02-07-2003, 12:54 AM
Next time please read my post.

BTW never mind, I worked around the problem.

Iguana
02-07-2003, 01:23 AM
Jeez... I feel so stupid. Not because I wanted to type that, but because I pasted what was on my clipboard and hit "Post Reply" without looking. >_<