[Elgg 1.8-1.12 & 2.X & 3.X: Elggx Fivestar] v1.8.4

Release Notes


  • Fix for Elggx Fivestar plugin to work in Elgg 1.8.14 with simple cache enabled.

When upgrading from a previous version please remove the elggx_fivestar folder first before copying the new version on the server.

  • Thanks for the quick update. :)  I can confirm it fixed the issue I was having with the stars not showing due to the simple cache.

  • Hi thanks, this is great plugin and easy setup. I dont understand how to merge it with an another plugin (events in my cas) could someone give a more "key hand" example?

  • @K32ST: with Jeroen Dalsem's Event Manager plugin adding a Fivestar ratings to events should work by adding the following view in the Fivestar plugin settings ("Administer" - "Utilities" - "Elggx Fivestar"):

    elggx_fivestar_view=object/event, tag=div, attribute=class, attribute_value=elgg-subtext, before_html=<br>

    In case you mean Kevin Jardine's Event Calendar plugin the view to add most likely is

    elggx_fivestar_view=object/event_calendar, tag=div, attribute=class, attribute_value=elgg-subtext, before_html=<br>

    (but I don't have the Event Calendar plugin installed on any test installation currently and therefore can't verify the view to add for this plugin)

  • Wow that it! You rock again iionly, many many thanks it work..

    I tried to to add category by this panel but i was far to the good syntax :)


  • How do you integrate this plugin with the "Facebook Theme" for elgg?

  • @Speedy: difficult to say. I've never managed to get the Facebook theme working. To some extend I might have made something wrong when trying it. This might be the case, if the Facebook theme requires some other plugins to be disabled or has some other undocumented requirements. But additionally, the Facebook theme is very, very buggy. I don't think it ever fully worked and as it overrides a lot of core views it surely won't work any better now as all the changes / bugfixes in newer Elgg version were never ported to the Facebook theme.

    Apart from the bugs there's also the possible problem of Facebook's trademark / protected branding violations when you use the Facebook theme. I never thought it's worse to spend time getting the Facebook theme to work.

    So, I can't give you much help regarding how to get the Fivestar plugin to work together with the Facebook theme. It might work when you place the Fivestar plugin below the Facebook theme plugin. If this does not work I'm afraid it won't be easy to get it working. The reason for the problem is surely the fact that the Facebook theme overrides a lot of core views which could result in the Fivestar plugin failing to include the rating widget into these views. You could manually insert the rating widget into the views by adding

    echo elgg_view("elggx_fivestar/voting", array('entity' => $entity));


    echo elgg_view("elggx_fivestar/voting", array(    'entity' => $entity,    'min' => true,    'subclass' => 'fivestar_subclass',    'outerId' => 'fivestar_rating_list',    'ratingTextClass' => 'fivestar_rating_text'));

    to the views. But this surely is not as comfortable as it would be with not using the Facebook theme...

  • Is there a way to remove star rating for object? I rated and now I need to delete the object and wanted remove any metadata/relationships attached to the object before I delete the object itself, I guess my thinking is that this extra info/metadata will remain in database after I remove the object and just want to keep database clean as poosible. Am I correct?


  • @This Script Lover: there's currently no way to remove the ratings (either a single rating or all ratings). But you don't need to be worried regarding obsolete database entries remaining when you delete an object that has been rated on. The ratings are not saved as separate Elgg entities but instead are saved as Elgg annotations. The rating annotations behave in the same way as for example comment annotations (that contain comments made on an object). If you delete the underlying Elgg entity all the annotations connected with it will get deleted automatically, too.

  • Great, thanks for clearing that up, learn something new every day :)


  • Category: Misc
  • License: GNU General Public License (GPL) version 2
  • Updated: 2020-8-23
  • Downloads: 9889
  • Recommendations: 33

Other Projects

View iionly's plugins