View Team Webgalli's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
cool.. guys ;oO;X;P
@Dhrup : thats a 5 star :)
Thanks for this!
It works great!
What does this plugin do besides allow users to add a rating? Can users change/remove ratings? Rate more than once? Can you rate 0 stars? What do users see besides the rating input?
@Steve : Currently this plugin will allow users to post their rating on any elgg entity via ajax. It wont allow you to change / remove / cast multiple / zero votes on entities. No other output / input views other than rate.
But since the ratings are saved are annotations, the developers can implement these features if they need.
is it possible to remove rate form from widgets?
@Sateesh
I do not use this plugin, but I use a similar plugin and you could edit the view with ratings and do something like this:
$contexts = array('messages','index','activity','profile', 'admin', 'thewire', 'members', 'widgets');
$context = elgg_get_context();
if(!in_array($context, $contexts)) {....
@Sateesh : Just like Gerard ssays listen to the context. Add the following code to top of rate/rate.php file.
how about rating on river activity?
Nevermind, I figured out
could you post your fix so people can reference to it in the future?
Since I am not going to use this, I'm gonna share it. It was pretty easy:
First, on the plugin I extended this view:
"river/elements/body.php"
On the rate plugin.
Then I added this at the bottom of that extended view:
echo elgg_view('rate/rate', array('entity'=> $vars['entity']));
@webgalli i need to know how to add this to a static page .
is there any elgg function to call . like above .
The ratings are saved as annotations on entities. So when you are calling this function in a static page, you have to pass an entity parameter also. You can use the site entity or the admin entity for this purpose.
can u say it clearly or type the code
@sathishkumar : the code of this plugin is very simple. Please digg into it ir go through the notes and comments in this page.
i dont know which one to use for it can u just put the code so that i can learn .. i tried
hi guys
how do i make this work with the facebook theme? (http://community.elgg.org/plugins/723329/1.4/facebook-theme)
I cannot seem to find the rating. but if i deactivate theme its ok.
thanks in advanced
@digilevi : Sorry, we haven't tested this with facebook theme.