Recommendations v1.2

Release Notes


This plugin provides a way for users to recommend their friends.
The recommendation page provides 3 operations:

  1. Recommendations received - view all recommendations you have recieved by friends
  2. Recommendations given - view all recommendations you have written for friends
  3. New recommendation - write a new recommendation to your friends


Changes from 1.1 to 1.2:

    * Fixed displaying the friend name in the select box for new recommendations
      if you clicked on "Recommend <user>"...
    * Added configuration options for menu entry
    * Added widget to profile


Changes from 1.0 to 1.1:

    * Fixed approving/deleting of given recommendation for a user
    * Fixed showing the 'recommend this user' only if users are friends
    * Fixed "recommend this user" link text to "recommend <username>" which
      is more intuitive
    * Added recommendations count to main profile and recommendation views
    * Added german language file
    * Added river activity information
    * Added option to withdraw recommendation if recommended user hasn't yet
      approved it


Recommendation method:

Available fields for recommendation are:

  1. Title
  2. Recommendation text

Things to keep in mind regarding the operation of this plugin:

  • Recommendations must be approved by the user for others to view them
  • User who is recommending can view his recommendations to friends, even if these recommendations haven't yet been approved by the user
  • Only the user being recommended may delete the recommendation and approve it
  • The plugin adds a Recommendations link in the User's profile menu actions



Liran Tal.






Free Image Hosting at

Free Image Hosting at

Free Image Hosting at

  • Sure. Let me know of any bugs or feature requests for next version.

  • its working fine with v1.6.1 also.

  • Hey, Liri! I got this when I tried to extract it:

    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error exit delayed from previous errors
  • it's compressed in tar.gz format.

    tar -zxvf <file> to extract

  • Liri, a few suggestions:

    • 1) It would be good if the same user could not keep recommending the same person. So you can only recommend someone once. Otherwise i think recommendations will get out of hand and become meaningless.
    • 2) When a user recommends you, and it's displayed in your dashboard river, but can you put a "approve recommendation" link next to it? So in your river it would have "User1 recommended User2 , read recommendation, - Aprrove Recommendation".
    • 3) It's hard to tell if someone has reccomended you... the only way is to go to your dashboard or to the recommendations page... it would be good if you could add the recommendations to the elgg "messages" plugin, so on the messages page has...
    • Compose a message
    • Inbox
    • Sent messages
    • Recommendations

    ...and when you have recieved a new recommndation the messages icon in the TopBar changes (to the same image it does when you have a message).

  • Oh and another thing... in the Recommendations profile widget, next to the comment left, you have a picture of the user who the reccomendation was given to. When it should be a picture of the user who gave the recommendation and left the comment.

    I think if these issues were fixed this will be a great plugin :)

  • @Beany - notes taken, I'll work on those for the next version.
    I definitely should put this up on Google Code so other developers can aid

  • @liri: I'm using cpanel. Anyway to extract it using that?

  • @ Lawrence - if you're on Windows just use 7zip or WinRar to extract the plugin folder, then upload it :)
    If on Mac toy then get up the Terminal and type... tar -zxvf recommendations-1.2.tar.gz

  • Another suggestions: 1. Permissions to display recommendations 2. For better language support: There is only one call for Recommendations menu and the same call for the number of recommnedations on the page. The word Recommendations next to the number of recommendations /underlined/ should be called from another Recommendations line in languagues in order to use proper translations for various languages.

  • @pdm - note taken and fixed

    @Beany - all of your feature requests/bug reports have been added except for point 3, I'll work on that integration if at all only later as it isn't in my top priority list currently.

  • I am not sure if it is working properly for everyone. I can't choose whom to recommend to as I am getting the name?> parameter in the drop down menu without being able to choose anyone.

  • Thank you very much for your plug in Liran!

    Anyway, when i installed it on my site, it doesn't seem to work because it write on my panel this:

    /".$vars['entity']->guid ?>"> "
    alt="" border="0" width="15"
    /> ()

    thank you for your help.

    I'm new to this software and i'm using version 1.6.1 of Elgg.

  • i've seen that happened with old version of the plug in too,

    Hi, I'm having a problem with this.  I am running elgg 1.6.1.  See the screen shot:  image" alt = "screenshot" width = "246" height = "185" style = "border: 0px; " > I think the file is from /recommendations/views/default/recommendations/menu/actions.php Any insight into why it's not rendering properly would be greatly appreciated.  Thanks!! Rene Rene 21 days ago
  • @szvest possibly you have users with names that have the chars ' or " in their names? that could mess up the HTML output.

    @rick no idea why it's not rendering. I'm not running 1.6.1 I'm running 1.5

  • @liri would it be possible to let site visitors make a recommendation, not just logged in users?  If so what would be the code edit to allow this?



  • @goodbucket I think that's a feature request for next release and that's also something to be made configurable as I think that most sites would want to keep recommendation posting to registered users to keep a high reputation value.

    If you have other requests for next version then please do...

  • Currently working a project which requires site visitor to be capable of commenting on profile, thought this would be a good alternative to commenting.  I agree the option to turn on and off would be best.  I have been running into the problem of a duplicate hyphen   //new/  can not find where it is coming from.  Just a matter of time I guess 

  • I've downgraded to Elgg version 1.5 and it still happens the same thing:

    this is what is written under the picture:

    username."/view/".$vars['entity']->guid ?>"> " alt="" border="0" width="15" /> ()

  • So i've seen also this:

    its working fine with v1.6.1 also.

    Shayan Abbas 26 days ago

    so it's not a version problem.

    Probably it's an installation problem (i hope so); i've done anything wrong?

    I've downloaded the plugin, extracted it and copied it inside the mod folder, then in tool administration i've enabled the plugin and get that error. Do you know what could be the problem?

    It seems that it doesn't receive user's name, because when i click the tab it links to


    Can liri or someone help me please?

  • that part of code is generated by


  • if you need more info about the problem, i can tell you that when i try to create a new recommendation i cannot choose the receiver because in the selection appears only this:


    thank you and sorry for the spamming...

  • @rick - there is nothing wrong with that part of the rick
    though I have an idea on what is the problem - at that page I am using the short tags notation oh php which is <?=$var?> and it seems that you web server's php module is not interpreting this as valid PHP tags.

    so the question is - what web server are you running on? what OS?
    check this and get back to me.



  • htaccess ==>

    php_flag short_open_tag on


  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 5964
  • Recommendations: 6

Other Projects

View Liran Tal's plugins