Hello, Does anyone knows and script for comments (like blog comments, but for any website) that uses PHP and Ajax so it doesn't refresh? (Like Phpcomment, but without ajax) I found some scripts but they are only for blogs (wordpress). Do you know any? I have searched a lot, without finding anything. Thanks
Why not just look at the code of the plugins for the ones that are already made for Wordpress and just duplicate it for your needs?
Well, I haven't tried, but I don't know very much about the website languages, so I'm looking for an ""easy"" already-made script, because I don't think I could do it editing the one for blogs.
Hello. What am I supposed to find there? I can't see any script, or any Comment script. Where do I have to search?? Thanks
well, I forgot to say that I know NOTHING about Javascript - AJAX (and very little PHP), so I was looking for a PRE-MADE comment script (possibily in AJAX, or PHP + AJAX)
Hello again, scriptaculous it's nice, but I didn't find anything I could use with a "comment script" or a pre-made comment script, As far as I have seen (demos) it's most a script to move things and so... (as I said I don't have much ideas) Nico_swd, my comments are supposed to be like blog comments (below the text, but it's not a blog ) In that website it's seem to be so an user can comment anything from the website, it's not what I was looking for. Thanks anyway
I suggested scriptaculous because I'm using it myself for the exact purpose you want to use it for so get reading.
Oh, then could you please tell me (or give me the link) where I have to read to learn to do what I want to? I searched the web, and started testing the libraries (with nice results), but didn't figure how to use it to do "comments".
Some example of what I was looking for are: http://www.scriptsmill.com/comments.html http://www.gentlesource.com/comment-script/ But with some AJAX, so it doesn't refresh it would be great
I customized other scripts by myself, use ajax for the comment form in one of my websites, the page doesn't has to refresh, visit one article in the articler website in my signature try the comment form and tell me if that is what you are looking for, if yes I can customize it for you.
var docObj = null; if (typeof window.ActiveXObject != 'undefined'){ docObj = new ActiveXObject("Microsoft.XMLHTTP"); }else{ docObj = new XMLHttpRequest(); } docObj.open("GET", "file.php?iproduct_id="+iproduct_id+"+&iprod_item_id="+iprod_item_id, false); docObj.send(null); var Res = docObj.responseText; var a=document.getElementById('part'); a.innerHTML = ''; a.innerHTML += Res; in file.php write server script like <?php echo "hello"; .................... .................... .................... ?> HTML <div id=part> Hi </div> After executing above script you will found <div id=part> Hello </div>