WordPress.org

Ready to get started?Download WordPress

Forums

Rating-Widget: Star Rating System
User Rating without BuddyPress (14 posts)

  1. gonzalolucero
    Member
    Posted 1 year ago #

    Hey,
    I'm not using BudyPress but I would like to be able to put the rating User Profile function into the profile page of my users. Is there any code o shortcode to do that?

    Thanks!

    http://wordpress.org/plugins/rating-widget/

  2. RatingWidget
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @gonzalolucero,

    Can you please share an example of a url on your site with a user-profile page?

  3. gonzalolucero
    Member
    Posted 1 year ago #

  4. RatingWidget
    Member
    Plugin Author

    Posted 1 year ago #

    Are you using any plugin for the author page?

  5. gonzalolucero
    Member
    Posted 1 year ago #

    The author page it's part of the deTube WordPress Theme.

  6. RatingWidget
    Member
    Plugin Author

    Posted 1 year ago #

    You'll have to edit your author's page theme's template and add some custom code. Try to add our php shortcode:
    <?php rw_the_post_rating(get_the_author_meta('ID'), 'user'); ?>

    Let me know if it worked.

  7. gonzalolucero
    Member
    Posted 1 year ago #

    It worked, but when I rate some users, in the Rating Widget did not appear the Name (first name and last name) of the user.

    http://doctorneo.com/neo/

  8. gonzalolucero
    Member
    Posted 1 year ago #

    Also, if I could add the users avatars at the rating widget, it would be awesome =D

  9. RatingWidget
    Member
    Plugin Author

    Posted 1 year ago #

    Try this code instead of the previous:
    <?php ratingwidget()->EmbedRatingIfVisibleByUser(get_the_author()); ?>

    Let me know if it worked.

  10. gonzalolucero
    Member
    Posted 1 year ago #

    It didn't work. Not even appeared in the user profile page

  11. RatingWidget
    Member
    Plugin Author

    Posted 1 year ago #

    Oh... I've forgot to add the echo of the method's result. Try this:
    <?php echo ratingwidget()->EmbedRatingIfVisibleByUser(get_the_author()); ?>

  12. gonzalolucero
    Member
    Posted 1 year ago #

    Now I can rate the users, but still doesn't appear the display name. Maybe I have to change some code from the rating-widget/rating-widget.php

  13. RatingWidget
    Member
    Plugin Author

    Posted 1 year ago #

    @gonzalolucero apologies but this probably requires a deeper investigation. Since it's not part of the "out of the box features" if you'd like us to continue investigating this please contact [jeff AT rating-widget DOT com] to discuss about special customization. Just describe him the case and send him a reference with this link. Unfortunately there will be cover charges. Sorry :(

  14. sagarss
    Member
    Posted 8 months ago #

    hi i want to display the total rating given to user and display it in member page how can i do it i dont want to rate it in member page just display total rating of the user

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic