php comment system

General discussion.

Moderator: Forum Moderators

Post Reply
Quester115
Staff Sergeant
Staff Sergeant
Posts: 547
Joined: Wed May 03, 2006 8:10 pm
Location: at the Uni
Contact:

php comment system

Post by Quester115 » Thu Apr 19, 2007 6:52 pm

:| I need help
I want to build a comment system into my website that allows registered users to discuss an item on the page
example
[webpage]
blah blah
jargon rantish rant
details - pic
-----
comments:
Sam
hey i like that!
rudy
no not rully. this page sux teh monky
[/webpage]

does anyone know of a way i could implement this (preferably in php)
or even better a website with a tutorial

thanks in advance
Image
[seeking truth in life, no matter how painful it can be]

User avatar
ZombieSlayer
Second Lieutenant
Second Lieutenant
Posts: 2077
Joined: Thu Nov 16, 2006 9:41 pm

Post by ZombieSlayer » Thu Apr 19, 2007 8:31 pm

Here's a couple of links. I have most of them downloaded but never got around to checking them out. Keep in mind these links were bookmarked months ago (I did visit each one and they are valid) but the programs may be out of date. Make sure to look for updated versions :)

http://php.resourceindex.com/detail/04451.html <---$39.95 it's the only one that cost money

http://www.advancescripts.com/detailed/9192.html <---free

http://phpformgen.sourceforge.net/ <--- free

http://www.formgenics.com/ <---free HTML form generator

http://www.programsdb.com/scriptscatego ... 2/1/0.html <--- has a bunch of different forms available.

User avatar
TurkeyFromHell
Staff Sergeant
Staff Sergeant
Posts: 640
Joined: Tue Jan 23, 2007 12:22 pm
Contact:

Post by TurkeyFromHell » Thu Apr 19, 2007 8:40 pm

do u know much php? and is ur page already done in php because if it isn't you're prolly going to havto implement php as the base for the pages that use comments

if u don't know php i could help u on that part.. hell i may just wanna do the whole thing :P need the practice

Quester115
Staff Sergeant
Staff Sergeant
Posts: 547
Joined: Wed May 03, 2006 8:10 pm
Location: at the Uni
Contact:

Post by Quester115 » Thu Apr 19, 2007 9:17 pm

well...I'm learning php as I'm typing this...have a background in coding so it doesn't look that difficult, but we all know how well that thinking ends up. just have to switch mindlogic over to printing

as far as changing the pages with comments over to .php ... it won't be that difficult as if you've seen my site their pretty simple

pages instead of crunching numbers
thinking of implementing my own code
won't look as nice in the beginning, but I'll know how it works
thinking of something like this

get username & password & comment from a form,
check if username is registered
check if password matches username
add index info to CommentFile
add comment text to CommentFile
edit: ^^ just shows you how much i actually know about php right now :ckncatchin:
edit2: yeah this is going to be a bit harder than i thought :) [sarcasm] ohhhh well[/sarcasm]
then when some one views the page just have a loop to print contents of CommentFile

if i can get the script correct it will also be soooo much easier to update stuff like 'whats new' 'coming soon' and stuff like that

...now just to find the code to put it all together :)

thanks for the links! the sf.net one helped much(god i love that place)

update: ok I feel fairly comfortable With the code found mySQL to be soooo much easier than trying to use files but I used frontpage because of its quick development time frame and am now kicking myself in the balls as frontpage does not like php pages at all php grrr...so I'll be switching over slowly to php pages where needed. :) It might take a few days but stop by next week, we'll have a spam contest to error check(this means you will get to try and break things on my site)
Image
[seeking truth in life, no matter how painful it can be]

Post Reply

Return to “UT2004 General Discussion”