Comments adjustment?

November 24th, 2006 § 24 Comments

((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?

Advertisement

§ 24 Responses to Comments adjustment?

  • hernan says:

    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.

  • colinmorris says:

    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.

  • hernan says:

    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.

  • hernan says:

    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.

  • colinmorris says:

    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.

  • hernan says:

    Thank you for answering me, but the zip isn’t there anymore…

  • hernan says:

    neither the example

  • hernan says:

    neither the hole page

  • hernan says:

    It’s ok, I saved the index before.

  • hernan says:

    But there isn’t a section with “Submit OK”, it’s just an html.
    PD.: Sorry for all the diferent coments.

  • Colin Morris says:

    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.

  • hernan says:

    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.

  • Colin Morris says:

    To send a mail, before that “Submit OK” put in:

    mail(”,’,'From: ‘.strip_tags($_POST['']).’ ‘]).”>\n”.strip_tags($_POST['']),”From: {$_POST[]}\r\n”);

  • hernan says:

    And where do I put the email address?

  • hernan says:

    I have a mail.php file wich is what i use to send the email, can I se it with this?

  • hernan says:

    use it with this, sorry

  • Colin Morris says:

    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 :)

  • hernan says:

    Alright, but understand that I don’t know how to write any code, what do I have to do?

  • colinmorris says:

    Well, what’s the function in mail.php that sends the email?

  • hernan says:

    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:

  • colinmorris says:

    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?

  • hernan says:

    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.

  • Adam says:

    ouai c vré il é cool
    ;)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Comments adjustment? at Code Cupboard.

meta

Follow

Get every new post delivered to your Inbox.