This is TextPattern plugin for a 5 star rating system. What I'd like to be able to do with this script is after someone clicks a star to rate the article, I would like it to display "Thanks for voting" or something along those lines. Right now, when you click a star, it does nothing. But if you refresh after clicking a star, you'll see the text "this article has been rated X time/s" I'd like to have something just to confirm to people that yes your vote was counted. It's kind of a pet peeve of mine with sites....almost like when you fill out a contact form and get not confirmation and you're left wondering if the person got the message or if there was an error or what? Anyway, the page again with the rating script on it is http://www.kentuckygolfing.com/courses/3/andover-golf-country-club and here is the PHP code http://www.deronsizemore.com/rating.txt If anyone can help me with what to add to the PHP to get this to happen, that'd be awesome, because I'm less than a novice when it comes to PHP.
Since, no one else had any ideas, I figured I'd wing it. I am not all that good at reading other people's code but here it goes. Your "You've already rated this course! " error shows up dynamically when you vote more then once. So wouldn't it be easiest to flag an error when someone votes? If you insert something like $error= "Thank you for voting!"; in your tcm_rate function I think that would do the trick, but who knows.