Support » Plugin: Rating-Widget: Star Review System » Ratings are not showing perfectly

  • I develop my site in seetdtae theme in wordpress.buddypress and woocommerce are allready installed in this theme. in this site on certain page all the members are displayed with pagination .i want to show ratings on each members profile.when i use
    <?php rw_the_post_rating($userID, ‘front-post’); ?> this code on my certain page all members have same ratings displayed. so how can i show different ratings on different user……plz tell me the effective suggestion asap….plz otherwise mail me on [ redacted, support is not offered via email, skype or IM ]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RatingWidget

    (@ratingwidget)

    Hi there,

    To add user profile ratings you need to use this code:

    <?php rw_the_user_rating() ?>

    Let me know if that worked.

    Btw. Next time please use the support forum for questions 🙂

    Thread Starter patelsaurabh333

    (@patelsaurabh333)

    <?php rw_the_user_rating() ?> same isssue occurs in this code …all ratings are same.

    Thread Starter patelsaurabh333

    (@patelsaurabh333)

    <?php rw_the_user_rating() ?> same isssue occurs in this code …all ratings are same. plz anybody help me.
    i have this type of code….
    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    <?php
    
    /**
     * BuddyPress - Members Loop
     *
     * Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter()
     *
     * @package BuddyPress
     * @subpackage bp-default
     */
    
    ?>
    
    <?php do_action( 'bp_before_members_loop' ); ?>
    
    <?php if ( bp_has_members( bp_ajax_querystring( 'members' ). '&per_page='.sq_option('buddypress_perpage') ) ) : ?>
    
    	<?php do_action( 'bp_before_directory_members_list' ); ?>
    
            <div class="item-list search-list" id="members-list">
    
    	<?php while ( bp_members() ) : bp_the_member(); ?>
    
    		<div class="four columns">
    		  <div class="search-item">
    			<div class="avatar">
    				<?php bp_member_avatar('type=thumb&width=94&height=94&class='); ?>
    				<?php do_action('bp_members_inside_avatar');?>
    			</div>
    			  <?php do_action('bp_members_meta');?>
    			<div class="search-body">
    				<?php do_action( 'bp_directory_members_item' ); ?>
    			</div>
    
    			<div class="rateslink">
    
    			<?php  //rw_the_post_rating($userID, 'front-post'); ?>
    			<?php  //echo   bp_get_member_user_id()	?>
    
    			<?php  //echo do_shortcode ('[ratingwidget type="page"]'); ?>
    			<?php rw_the_user_rating() ?>
    			<a href="/innerratting">Rates</a>
    
    			</div>
    
    			<div class="bp-member-dir-buttons">
    			<?php do_action('bp_directory_members_item_last');?>
    			</div>
    		  </div>
    		</div>
    
    	<?php endwhile; ?>
            </div>
    
    	<?php do_action( 'bp_after_directory_members_list' ); ?>
    
    	<?php bp_member_hidden_fields(); ?>
    
            <!-- Pagination -->
            <div class="row">
                <div  class="twelve columns pagination-centered">
                    <div class="pagination" id="pag-bottom">
                        <div id="member-dir-pag-bottom" class="pagination-links">
                        <?php bp_members_pagination_links(); ?>
                        </div>
                    </div>
                </div>
            </div>
            <!--end  Pagination-->
    <?php else: ?>
    
    	<div id="message" class="alert-box">
    		<?php _e( "Sorry, no members were found.", 'kleo_framework'); ?>
    	</div>
    
    <?php endif; ?>
    
    <?php do_action( 'bp_after_members_loop' ); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ratings are not showing perfectly’ is closed to new replies.