scriptygoddess RSS Feed
 
 
 
 

"Hi" Script

New script for you! This one will allow you to put a form on your site that takes short "comments" from your readers not neccessarily related to any specific post. You can also display the last 10(or any number) "hi"s left behind. The idea behind this script was based on my own actions - Many times I visit a site, but don't have anything specific to add to any of the posts but I still want to let the author know I've stopped by. Or maybe I just want to say "Cool site! :)" Here's hoping those people install this script so I can actually do that now. ;-)
There's also an admin screen provided so you can go in and easily delete any "hi"s you don't want showing up on your site.

Requirements: You need php running on your site, and have access to a mySQL database. (The script only uses/creates one table - so you don't need to put it in a seperate database onto itself, although you could if you had database access to spare).

Instructions are provided in the .zip.

Version: .01

Download script here.

(side note: if you install this script, may I recommend that you create an additional page that just has the "hi" form on it, and include a link to that page from your RSS feed (if you have one) so that users can just click on that link when reading you from a RSS news reader. I've done this on my personal journal. After indicating how many trackbacks or comments there are on the site, I just added a link to the form.)

34 Responses to “"Hi" Script”

  1. 1
    thatbradguy:

    great script. didn't we used to call this a guestbook? :)

  2. 2
    Jennifer:

    It is kind of like a guest book. Same basic idea. I guess the main difference here is that if you don't know what to say, you can just click off one of four "pre-set" "hi"s (like "=waves=" or "=wink"). The main goal here being to keep them short/sweet. Also - I'm not sure what the display options are on a guest book - whether you can list the last few on your page.

    FYI - the "hi" form is easily editable - you could always change the text "=wink=" to just be smilies…

  3. 3
    Becky:

    I'm not sure what the problem is or if it's on my end, but every time I try to download the script I get the following error message…

    "www.scriptygoddess.com could not be found. Please check the name and try again."

    I have gotten this at home and at work. I don't understand why since I can get to the site itself, I just can't download the script. Is this a problem on my end? I'd really like to download this script.

  4. 4
    Doc:

    I have the same problem. Its as though the file doesn't exist on the server.

  5. 5
    Doc:

    AHA! he link only has 1 D in scriptygoddess!
    LOL!

  6. 6
    Doc:

    Sorry for filling up the comments. I hit the post by accident. Just combine or delete these.. :)
    Here's the llink until the good one gets fixed:

    http://www.scriptygoddess.com/downloads/hi_script.zip

  7. 7
    Jennifer:

    DUH! Sorry about that! Link should be fixed now. (Note to self: don't release scripts only a few hours of sleep) ;-)

  8. 8
    Jennifer:

    Yawn… I meant… "ON ONLY a few hours of sleep"… LOL!

  9. 9
    Donna:

    Jenn, this is so cute, I can't get over it - plus I've solved the mystery for myself of wheter or not it mucks up an existing database to add a table (of course not, but I didn't know that).

    I installed with no problem, but a wrinkle came up - I've pasted the includes in the right places (top and sidebar) and I get some nonsense characters appearing with the file names in the spots where the includes are, even though things are working - why would this be? Since the names were copied out of a Notepad file, I'd assume it's not that (weird Word formatting, I mean). I used web FTP to upload the files and didn't specify a format - if they were accidentally uploaded as binary, wouldn't they not work at all?

    Thanks for any help - :)

  10. 10
    Jennifer:

    Ok - just updated the script with one problem that we found. In the config file - the very last line - was missing a ";".

    If you've already downloaded the script - just add it in.

  11. 11
    Christine:

    Oh! I can't wait to add this this weekend! (Just so you can say "Hi!" whenever you want…) =smile= Thanks!

  12. 12
    Sea 'Doc'.net:
    New Widget!
    Yes, I have added yet another widget to play with. :lol: This one courtesy of Jennifer from Scriptygoddess. She calls it the "Hi" Script. Its like a custom tagboard. You can find it on the right side under "Leave a Note." Its just a quick way to say "H…

  13. 13
    forty.something:
    Just Say Hi
    I've been playing around all night with the cool new Scriptygoddess "Hi Script". Now you don't have to think of…

  14. 14
    dainec:

    I got the script working, and I love it. Thank you! Now… my only problem is that the time stamp is about 6 hours off. Any ideas why that happens? My MT blog time stamp works fine. Is there something I need to do?

  15. 15
    Jennifer:

    =sigh= Yeah - it's based on the timestamp of the server… It's fixable - let me see what I can do…

  16. 16
    Jennifer:

    Ok - just tested and updated the zip.

    If you've already downloaded the script and it's working fine for you - no need to do anything.

    If you need to upgrade, the changed files are the config file and display list. Transfer your edits to the new config file, there's one new variable to define, then upload that and the new display list file.

  17. 17
    My Perky World:
    well, hello there!
    Thanks to Jennifer of ScriptyGoddess and with some help from another Jen, visitors to this site can leave a quick hello. Now there's no excuse not to introduce yourself, even if you have nothing particularly profound to say! The link…

  18. 18
    forty.something:
    Stats Snippet
    I added a little snippet of code recently to my Textism Refer Script that tracks user agents - browser use…

  19. 19
    dainec:

    Have I mentioned lately that you're a supergenius?

    Thank you for making the fix so quickly! The funny thing is that my timestamp was off by 5 hours and 25 minutes… I used -5.584 for the setting, and it worked fine. But it made me wonder where the heck my server is located. I thought time zones were by the hour. (Maybe the server is in the bottom of the ocean or something.) :-)

  20. 20
    This Chick:
    Say Hello!
    I've had fun today tinkering behind the scene. When I wasn't answering questions on the MT forums, that is. If you take a peek over to the right there, you should see a new addition, a wee link that says…

  21. 21
    highly moody:
    Hi!
    So, you got something to say, but just don't know where to say it. Or maybe you don't really know what to say. Well, thanks to Scriptygoddess, it's now possible. You can find my "hi"…

  22. 22
    Bloggie Broad:
    More Scripty Fun — Say How-dy!
    I listed all the scripts I implemented here on BB yesterday….it took me awhile, but I also added Jenn's "hi" script. You can find the…

  23. 23
    Computer Toaster:
    Setting up a Tag Board
    Tagboard Tutorial "Tagger" Simple PHP Tagboard TutorialTagboard.org Tagboard for your website "Hi" Script…

  24. 24
    sarah:

    When I first installed this script, I added in a extra "Hi!" options and a smilies. So, it might have been me, but I just noticed that when someone checked off two of the Hi's or smilies as the shortcomment, the display was completely munged. So, I just changed those checkboxes to be radio buttons, and that fixed it up, such that only one could be chosen. :)

  25. 25
    Confetti Falling:
    http://confettifalling.com/history/2003/October/22/065318.php
    I've put Jennifer's 'Hi' script back on my site. I followed another Jennifer's lead in formatting the link to the script - at the bottom of every entry, you may comment on the entry or just say hi….

  26. 26
    Andrew's Blog:
    \"Hi\" Script Installed
    Taking a cue from Confetti Falling, I've introduced the ScriptyGoddes "Hi" Script.

  27. 27
    sam:

    What this really needs is the ability to remember your name/email/url if you choose. Perhaps it could even use the cookies that MT bakes by default? That would be sex-a-rific. In fact, I might write that little feature myself, if I can find some time over the next few day with halloween parties and stuff… I'll submit any patches I create. :D Great idea for a script, I've always felt that a little 'general' comments script that is nice and compact, and fits nicely with MT and other blogging engines was warranted.

  28. 28
    sam:

    Wait, maybe I'm an idiot, does it already remember from the cookies MT leaves? I'm confused..

  29. 29
    sam:

    Sorry, my bad, I see now that a quick user modification (described in the instructions file, of all places) does what I want. Sorry for not RTFM. :P

  30. 30
    Kay:

    Hi there, I've been racking my brains out trying to sort this out and for some reason it's not working for me. I know it's me since I have no experience with php and mysql. My sevice provided is pretty good so they've got all these phpadmin boads set up so I haven't screwed up there.

    For some reason the localhost isn't being accessed. And the password comes out as 'YES' even though that's not what I typed in.

    Am I missing something fundamental? I mean in the script the password structure seems to be different, i.e rather than DATABASE_PASSWORD it's DATABASEPASSWORD.

  31. 31
    Guy Smiley:

    I've been trying to add a "remember me" cookie feature into a flatfile shoutbox I'm coding for a long time now, but just cannot seem to get it to work (I don't use MT).

    Please consider adding code for this to your site, or a tutorial.

  32. 32
    Bloggie Broad:
    Bloggie Scripty Reverb
    BB's Script, Plugin and Hack Archive as of 3/1/04: Collapse…

  33. 33
    Glimpse of a Grrl:
    Closing comments on those old posts
    Earlier this week (maybe it was over the weekend?) I installed MT Blacklist. it! Today I installed David Raynes' comment closing script and closed all posts older than 45 days. I'm just tired of the comment spammers. I'll probably install…

  34. 34
    Marie:

    I've implimented this script on my site, & so far everything is going wonderfully.

    However, I'm getting the following error where I have the include to the displaylist.php file, & I've no idea why :

    mysql_num_rows (): supplied argument is not a valid MySQL result resource

    Any idea what could be causing this?

Bookmarks

WordPress Resources

Meta

Random Stuff