If you miss having the rating system on your site, here's a simple tip to add "Star Rating" to everything, including private content.
Enable the Ning "Like" on your site (if you don't like Nings Like, enable it anyway. We can hide it with css and the rating will still work)
Get the widget code from Rating-Widget.com the way you want... I chose small stars...
Add the ratings code to your custom code (don't add the container div).
Add this to your custom code to insert the container div after the Ning "Like"...
<!-- Insert Rating Stars After Social Sharing -->
<script type="text/javascript">
x$(".likebox.ning-likebox").after('<div class="rw-ui-container"></div>');
</script>
Add this to your advanced css...
/*------------------Rating system tweaks---------------------*/
.banner-socialActions.cf {width:32em!important;}
@media screen and (min-width:60px) and (max-width:600px) {
.banner-socialActions.cf {width:26em!important;}}
.rw-ui-container {margin: 0 .6em 0 0; float:left;}
.likebox.ning-likebox {float:left;}
Enjoy,
FT
Replies
I'll have to try this out. Looks like an excellent tip!
Thanks Jen. It works well and is simple. Have a great weekend :)
Nice work FT!
Thanks J ;)
And about the Polldady rating system, can we do the something similar in our communities?
I haven't used them in years, but I'm sure we could whip up something. Try to insert their div name in place of the rw-ui-container in
<!-- Insert Rating Stars After Social Sharing -->
<script type="text/javascript">
x$(".likebox.ning-likebox").after('<div class="rw-ui-container"></div>');
</script>
Let me know if you need help..
Thanks, Fire-Tech.
Is there a way to do this for each member instead of an item? I'd like a rating for each member that shows up on their profile page.
Also, has to be compatible with 2.0.
Is there anyway to have this show up in the Activity Feed after someone rates?