SPEEDYB.co.uk

Wednesday th 9th of June 2004 at quarter to -FHRS-ERROR-
T he comments work, there's basically another table called news_comments with the rows post_id, name, uri, comment, ip and time. Which do the following:

post_id: This stores the ID number of the post which the comment is associated with, and therefore can be matched against a news post when pulling comments from the database.

name: Users name/alias used when posting a comment.

uri: The users URI to their web-site, if entered the comments will display the web-site address hyper-linked, if the value is null, nothing will be amended after the name is displayed.

comment: The comment posted by the user.

ip: The IP address from which the comment was posted, this will only be referred to when needed.

time: Time in epochs, used to order the posts in the order which they where added.

It all still needs tweaking and I need to make the front page posts include "X comment(s)" on the link so you can check if new comments have been posted, but as it stands the comments work and the rest of the system is being tinkered with. It's all good :)

(edit) The comments now display how many comments there are, that was easier than I thought, heh.
11 Comments
RSS Feeds Subscribe to: These comments, All Comments, All Posts
Gravatar
chris @ 10 Jun 2004

Nice work mate =p
Gravatar
Bilal @ 10 Jun 2004

Looks good. =)
Gravatar
X-Istence @ 10 Jun 2004

Hrm, neat man.

Congrats.
Gravatar
Kunal @ 10 Jun 2004

Awesome! Post-based comments are great. Nicely done, Dave...very nice. =)
Gravatar
SPeedY_B @ 10 Jun 2004

Ta muchly :D

I'll add cookies tonight so you don't have to type your name every time :)
Gravatar
SPeedY_B @ 10 Jun 2004

Ok, I didn't wait. Cookies should now be working :)
Gravatar
artemis @ 10 Jun 2004

Fearable. Junpei say leet master have many php skills ;P

Nice Dave.. nice ^.^
Gravatar
SPeedY_B @ 10 Jun 2004

Thank you sah! :D
Gravatar
Omar @ 11 Jun 2004

Very nice...:)

I need to learn how to make something like this.
Gravatar
Kunal @ 11 Jun 2004

Woo yay! Cookies are working :D
Gravatar
sean @ 11 Jun 2004

very nice :D
Add Your Comment...
Name
Web site (optional)
E-Mail (optional, used for Gravatar)