Comments adjustment?
November 24, 2006
((Crossposted to my personal Journal))
I was reading through Roger Johansson’s latest journal post on Comments. It got me thinking back to the comments post written by an artist whose blog I read. It was along the lines of AOL-isms, hearing “You’re Great” is good, hearing Why is better and hearing “How You Can Improve” is gold. For given values naturally.
In Roger’s article he mentions that once a comment gets on Digg, civility goes out of the window. Made me think about AOL’s “Me Too” and Digg’s site addition/ ranking system.
Perhaps alongside Comments there should be a Kudos/Dekudos option? So that instead of a bunch of “Me Too”s and “You Suck”s taking up comments space, there could be a # of Kudos and a # of Dekudos attached to the post, and you can click them to see who Kudoed or Dekudoed? That way people can “Me Too” without feeling stupid, adding their voice of support/ derision to the whole thing, but without having to struggle with English to get their idea ahead. I know that a lot of the time I’ve wanted to comment, but after reading all the other comments I haven’t had anything fresh to over rather than wanting to add my voice to the approving masses.
Thoughts?
March 28, 2007 at 6:26 am
hi, i have a few question, what hapened with the post “Linked Validation (JS+PHP)”? i put it in my favorites a while ago, and now i tried to see it and it’s gone. i wanted to use it in my future site, i was wondering if you can provide the files of the example. thanks.
March 28, 2007 at 9:49 am
Certainly, files are available at my code site in a handy zip file. The entry was removed as it was a stream of conciousness post that friends encouraged me to write up formally into a proper article for submission to A List Apart. Still waiting to hear back from them, perhaps my article wasn’t different enough from the unstructured mess I posted here, heh.
March 29, 2007 at 2:29 am
Well, thank you very much. This is the best type of validation I found, because it validates even with javascript disabled, thing I didn’t see anywhere else. Hey, if they don’t publish your article you should post it here, i guess it may be helpfull to a lot of people (at least me).
Thank you again, bye.
March 29, 2007 at 5:29 am
Just another thing, the zip file doesn’t contain the html with the form, and where do I set the email I want it to be sent? I’m a little novice with this.
March 29, 2007 at 6:34 am
My old example still exists so you can take that as the HTML code. In the index.php code you’ll find a section with “Submit OK” in it – that’s where you handle the successful submission (I just added the index.php code so you can see what I’m talking about, redownload the zip file).
BTW, thanks for taking the time to enquire about it and say that you think it’s useful. It means a lot.
March 30, 2007 at 1:45 pm
Thank you for answering me, but the zip isn’t there anymore…
March 30, 2007 at 1:51 pm
neither the example
March 30, 2007 at 1:52 pm
neither the hole page
March 30, 2007 at 1:54 pm
It’s ok, I saved the index before.
March 30, 2007 at 1:57 pm
But there isn’t a section with “Submit OK”, it’s just an html.
PD.: Sorry for all the diferent coments.
March 30, 2007 at 9:59 pm
If you tried to access it about 10 hours ago, my entire webhost was down for maintenence. Retry.
And you might want the index.php from the zip file rather than the index.html if you saved it directly.
March 31, 2007 at 1:16 am
Ok, I found the “Submit OK” section, but I’m not a coder or anything so i don’t do what to do with it.
March 31, 2007 at 4:08 am
To send a mail, before that “Submit OK” put in:
mail(”,’,'From: ‘.strip_tags($_POST['']).’ ‘]).”>\n”.strip_tags($_POST['']),”From: {$_POST[]}\r\n”);
March 31, 2007 at 4:37 pm
And where do I put the email address?
March 31, 2007 at 5:03 pm
I have a mail.php file wich is what i use to send the email, can I se it with this?
March 31, 2007 at 5:04 pm
use it with this, sorry
April 2, 2007 at 11:38 am
If you’ve got mail.php to send the file, you surely can use this. Instead of using the mail(…) function I wrote above, use your mail.php file instead. Just make sure all the parameters match
April 2, 2007 at 7:42 pm
Alright, but understand that I don’t know how to write any code, what do I have to do?
April 6, 2007 at 2:44 am
Well, what’s the function in mail.php that sends the email?
April 9, 2007 at 2:05 pm
It’s the one you said. What I want to know is what to put in the php-validate.php file to use the mail.php file.
This is the code of mail.php:
April 9, 2007 at 2:13 pm
Check here: http://hs124.phpnet.us/mail.rar
April 11, 2007 at 10:41 pm
Ok, finally got your mail.rar file. Find the $smarty->assign(‘message’,'Submit OK’); line and add te code as follows (I’ve included the Submit OK line as a reference:
include('mail.php');
$smarty->assign('message','Submit OK');
And change the following in mail.php (it’s simplest this way, but you could change the names in index.php if you wanted to keep the mail.php file unchanged)
$_POST['Nombre'] becomes $_POST['name'];
$_POST['Mail'] becomes $_POST['email'];
$_POST['Mensaje'] becomes $_POST['message']; (or whatever you make the message field)
How’s that?
April 13, 2007 at 6:00 pm
Well, thank you for take the time to answer, but:
-In the index.php, where do I put the html with the page and form?
-And what should I replace for that in the mail.php?, because it isn’t the same that’s in the file. If you could show me the code with the changes done it would be great.
June 29, 2007 at 10:12 pm
ouai c vré il é cool