Thanks Ted. I've edited it but it's not quite working how I want.
All I want is the thumbs up/down buttons to show, with the current number/rating for each either side of the button. Then if a user rates a post, his rating is appended via ajax and the buttons stop being links (so they know they've rated). Maybe even have an alternative set of buttons to show when they've rated (maybe with a dot or alt text so we can show how they rated themselves).
At the mo, when they rate it says 'thanks' but takes all my other buttons in the td along with it (not ideal as they may want to report a post too, after giving it neg rating).
Anyway to simplify it so it works like this? Or are there more templates I could edit?
|