GD Star Rating Help
Just wondering if there are any of you out there that are familiar with the GD Star Rating plugin and are savvy with implementing it in wordpress themes. I've tried a few warriors for hire but am still waiting for a response, but I'd be happy to pay for any advice.
I think the problem is likely to be easily fixed, but in general terms is as follows:
1. I have made a multiset which works fine.
2. What I want is for the multi set rating panel to appear in the comment section, so that a reader can give their rating and also post a review in the form of a comment. I want their rating and their comment to appear once posted.
3. I can get the multi rating to appear in the comment section by using the code below in the coments.php file in the Theme Editor (the theme is Flexibility2).
4. When I insert the second batch of code below into the legacy.comments.php it doesn't work. When a person posts a comment with their rating, their rating results render in the main post, but DON'T appear with their comment.
What's supposed to happen is their individual rating appears with their comment, but the results are aggregated into the post rating. I just can't get their rating to appear on the comment (the results aggregate fine).
comments.php
<?php if (defined("STARRATING_INSTALLED")) : ?>
<p><?php wp_gdsr_comment_integrate_multi_rating(1); ?>
<label for="url"><small>Rating</small></label>
</p><?php endif; ?>
legacy.comments.php
<?php if (defined("STARRATING_INSTALLED")) : ?>
<?php wp_gdsr_comment_integrate_multi_result(get_comment _id=(), $multi_set_id=1, $stars_set="oxygen", $stars_size=20, $stars_set_ie6="oxygen_gif", $avg_stars_set="oxygen", $avg_stars_size=20, $avg_stars_set_ie6="oxygen_gif", $echo=true); ?>
<?php endif; comment_text(); ?>
Any help would be hugely appreciated.
-
KenyaInez -
Thanks
{{ DiscussionBoard.errors[2278367].message }} -