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

Release Notes


  • There're not really any changes. I only forgot to update the version number in activate.php correctly for Elggx Fivestar 1.8.4, so the version 1.8.5 does correct this - by switching directly to 1.8.5...
  • Hello iionly, I'm trying to put it to a form but it doesn't work. Could you give me any idea?

  • @nguyentoan; your question is quite unspecific, so I'm afraid I won't be able to give you any good advice. Generally speaking, a method that will always work is by including the code

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

    in the code of a "view". You need to assign the Elgg entity to be rated on to the variable $entity for it to work. This means an entity to be rated on is mandatory. I suspect this might be the problem in your case. Do you have an entity that your form deals with? If not, the Fivestar plugin might not be useable for you on this form.

  • When activated, i can't open any group discussion : 

    Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\wamp\www\elgg-1.8.16\engine\classes\ElggLRUCache.php on line 179

    Installed plugins : LianLee Framework, Threads 2.0, Advanced Comments 2.0, Notificiations 0.7, Groups 1.8, etc.

  • (even if no view is set to be rated)

  • @Adrien: I've never had this error. A Google search revealed that it is most likely caused by xdebug (a php extension). If you don't need this extension, disable it. If you need this extension, you most likely need to increase xdebug.max_nesting_level in php.ini. I can't tell you, if there are any other changes in the server config necessary.

  • Hi Iionly, I would like to implement a plugin on my own with similar functions of your plugin. My version should work like this: a widget will be inserted on the profile page and will give the opportunity only to owner's friends to leave a feedback about him using stars (like your plugin does) according to different fields. The stars rate will be able to be changed but not deleted and owner's friend are able to leave a rate only 1 time (or modify their previous rate). The widget will display an average rate on the top of it.

    Accordint to these functions you think it's better for me to study your plugin and understand how to modify it or trying to implement a new one on my own?

    Thank you!

  • @Andrea: you will have to create your own plugin at least for handling the widget, creation of the specific feedback criteria to be offered, visibility of the widget / permission to vote (I'm not sure if you want only friends to be able to vote or additionally only friends to be able to see the results / the widget) and for calculating /presenting the average result of the feedback.

    The Elggx Feedback plugins allow for voting on Elgg entities. This can be any type of entity like blogs, files, users or any entity type (based on type/subtype attributes) added by 3rd party plugins. If you would only want to offer a single feedback option for a user account (like "voting" on the user), you could make the user entity itself the entity to be voted on. But as you want several criteria to be voted on for every user, you would have to introduce a new object subtype in your plugin. For each user new objects with this subtype and the user_guid as owner_guid would have to be created by your plugin. The Elggx Userpoints plugin could then be used to vote on these objects. Within the object's output view you can include an elgg_view("elggx_fivestar/voting", array('entity' => $entity)); call to allow for the rating. For showing the average votings done for each user on all feedback criteria you would have to write your own code. But this should not be too difficult either. The main work you would have to do is writing the code to setup the feedback widget in the first place.

  • Thank you for your suggestions Iionly, I will consider them when I'll start implementing my own stars rating widget. Thank you very much!!


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

Other Projects

View iionly's plugins