Re: [danwilson] Website Comments v1.01 Released!
Hi Dan,
Yea, I think that should be possible with some custom coding. Here's some basic tips on added that feature yourself:
- First, thoroughly test the comments plugin. Set it up so it does everything you want "except ratings".
- That backup the plugin folder.
- Then create a new field in the comments table for "ratings".
- Then search for all references to "wsc_comment" and 'wsc_comment' in the code (search for the word in single and double quotes).
- This is all the places where comments are added from the form value
- Create a new field called "wsc_rating" and add that code everywhere the comments code is.
That's a basic overview, there's probably a few extra steps that will be needed as well. Feel free to give it a try or let us know if you want us to do it as a custom programming job for you.
Also, you'll probably want to consider issues such as if you allow people to leave multiple comments and ratings or just one. And if it's just one, can you edit or erase it, etc.
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com