• Great plugin ….. too bad it’s so difficult to navigate tutorials that are 2+ years old and appear to address prior versions.

    I’m using version GDSTAR 1.98 on WP 1.3.2 and have tried for 2 days to sort out the directions for displaying results from comment rating into post (via function in template – not shortcode)

    PER TUTORIAL

    Step 1. Add multi-rate to comments:

    Added the following to 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; ?>

    Note: multi-rate set being used is id ‘1’

    SO FAR SO GOOD – ratings appear in comments section as they should and votes/comments are being added to the database.

    NOW THE ISSUE:

    Step 2. Display ratings from comment section in post via template function.

    Added the following to comments.php as tutorial states.

    <?php if (defined(“STARRATING_INSTALLED”)) : ?> <div style=”float: right”> <?php wp_gdsr_comment_integrate_multi_result(get_comment_ID(), 1, 32); ?> </div> <?php endif; comment_text(); ?>

    Note: multi rate set = 1, template = 32

    Not only does the block not appear …. causes white page until code is deleted and page is refreshed.

    THIS TUTORIAL IS NOT HELPFUL …… I even had 2 seasoned developers look at this and they can’t sort it out…..

    I have tried many different options to get this too work and no luck … I also tried with just the single rating option and same thing …. rating appears in comments …. but doesn’t display results.

    Please advise …. is the tutorial outdated for previous versions?

    What is the correct code to display multi rating from the comments section via template function.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Comments Integration Not Working’ is closed to new replies.