Easytalkee Ajax Likes v1.1

Release Notes

Fix the bug that doesn't handle System Messages after Ajax call.

Please make sure you disactivate the Elgg core Likes plugin at first.

  • What kind of dislike? Elgg has not core dislike plugiin, can you please show me?

  • very god¡¡¡ how I can change the image of the little hand?

  • @luis hernan, the icon is embedded in /_graphics/elgg_sprites.png

  • Hi @EasyTalkee ,

    I just found out, that the Ajax Likes plugin breaks the topbar system menu of the facebook-theme in Internet Explorer 8. As soon as I deactivated  Ajax Likes, the menu would work just normal.

    IE 8 doesn't recognize the namespace elgg

  • @Thomas R, the thing is, Elgg uses namespace elgg itself, I just follows it. I use Win7 IE 8.0.7600.16385, it's working fine.

  • Thanks very nice plugin.

  • Thanks for this plugin, it wordked perfectly on my 1.8.14 site. I leave you the translation into Spanish, just in case you want to introduce it in the plugin. Some sentences structures are different in Spanish, so the translation is far from perfect.

    $spanish = array(
    'likes:this' => 'le gusta',
    'likes:deleted' => 'Tu me gusta ha sido eliminado',
    'likes:see' => 'Mira a quién le gustó',
    'likes:remove' => 'No me gusta',
    'likes:notdeleted' => 'Hubo un problema mientras se quitaba el me gusta',
    'likes:likes' => 'Ahora te gusta',
    'likes:failure' => 'Hubo un problema mientras se quitaba el me gusta',
    'likes:alreadyliked' => 'Ya te gusta este elemento',
    'likes:notfound' => 'El elemento que te gusta no pudo ser encontrado',
    'likes:cannotlike' => 'No puedes marcar me gusta en este elemento',
    'likes:likethis' => 'Me gusta',
    'likes:userlikedthis' => '%s gusta',
    'likes:userslikedthis' => '%s gustan',
    'likes:river:annotate' => 'le gusta',

    'river:likes' => 'le gusta %s %s',

    // notifications. yikes.
    'likes:notifications:subject' => 'A %s le gusta "%s"',
    'likes:notifications:body' =>
    'Hola %1$s,

    %2$s marcó con me gusta a "%3$s" en %4$s

    Puedes ver el enlace original en:

    %5$s

    o ver el perfil de %2$s en:

    %6$s

    Thanks,
    %4$s
    ',

    );

    add_translation('es', $spanish);

     

  • Hi, thanks for your plugin ! :)

    (there is the same language problem as David, not a perfect translation but quite correct !)

    - Here is the French traduction :
    - Voici la traduction en Français :

    $french = array(
    'likes:this' => 'aime ça',
    'likes:deleted' => 'Vous n\'aimez plus ce message',
    'likes:see' => 'Voir qui aime ça',
    'likes:remove' => 'Je n\'aime plus',
    'likes:notdeleted' => 'Il y a eu un problème pour retirer votre j\'aime',
    'likes:likes' => 'Vous aimez ce message',
    'likes:failure' => 'Il y a eu un problème pour aimer ce message',
    'likes:alreadyliked' => 'Vous aimez déjà ça !',
    'likes:notfound' => 'L\'article que vous essayez d\'aimer ne peut être trouvé',
    'likes:cannotlike' => 'Vous ne pouvez pas mettre un j\'aime sur ce message',
    'likes:likethis' => 'Aime ça',
    'likes:userlikedthis' => '%s personne aime ça',
    'likes:userslikedthis' => '%s personnes aiment ça',
    'likes:river:annotate' => 'aimes',

    'river:likes' => 'aimes %s %s',

    // notifications. yikes.
    'likes:notifications:subject' => '%s aiment votre message : "%s"',
    'likes:notifications:body' =>
    'Salut %1$s,

    %2$s aiment votre message "%3$s" sur %4$s

    Consultez votre message original ici :

    %5$s

    ou regardez le profil de %2$s ici :

    %6$s

    Merci,
    %4$s
    ',

    );

    add_translation('fr', $french);

  • Hi EasyTalkee,  I'm getting following errors after activating this plugin:

     

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; MS-RTC LM 8; .NET4.0E; InfoPath.3)
    Timestamp: Fri, 28 Feb 2014 06:24:24 UTC


    Message: Expected identifier
    Line: 2454
    Char: 15
    Code: 0
    URI: http://[domain name].com/cache/js/default/elgg.0.js


    Message: 'elgg' is undefined
    Line: 5
    Char: 1
    Code: 0
    URI: http://[domain name].com/cache/js/default/lightbox.0.js


    Message: 'elgg' is undefined
    Line: 2
    Char: 1
    Code: 0
    URI: http://[domain name].com/cache/js/default/phloor/lib/phloorlib.0.js


    Message: 'elgg' is undefined
    Line: 1
    Char: 1
    Code: 0
    URI: http://[domain name].com/cache/js/default/admin.0.js


    Message: 'elgg' is undefined
    Line: 3
    Char: 1
    Code: 0
    URI: http://[domain name].com/cache/js/default/site_messages.0.js


    Message: 'elgg' is undefined
    Line: 38
    Char: 1
    Code: 0
    URI: http://[domain name].com/admin/plugins

    Message: 'elgg' is undefined
    Line: 2
    Char: 1
    Code: 0
    URI: http://[domain name].com/js/developers/developers.js

     

  • @Shah Nawaz, looks like it's caused by something but not by my plugin.

    1. Do you enable the cache? please disable simple and system cache to try.

    2. Has this issue gone if you disable my plugin?

    3. try by using other browser.

  • i am testing etklikes here (ajax likes plugin) along with the liked_content plugin (shows all liked items in a list) and the latest tidypics from iionly.. and i notice that when i like a tidypics image from the river, which is added to an existing album, 2 issues arise:

    1. the image is 'liked' in the river and yet the like is not showing against the image or album when i view the image or album.
    2. the image is shown in the liked_content list of liked items as being of type 'TidypicsBatch' instead of 'album' or more ideally as an 'image'.

    from what i see, the batches are their own entity and are being liked independantly of the actual image / album - which is pretty useless for me.
    when i disable etklikes, the liking in the river points to the image that is being added, rather than to the batch.. so this points to etklikes being the plugin that needs to change.

    i have looked through the code though and am not seeing any specific area yet that i can change to resolve this in etklikes.

    anyone know what to change? thanks

  • @ura soul, etklikes was tested for core Elgg and works fine, but it's not tested for tidypics or other third party plugins. You may try if something needs to change in tidypics code.

  • @EasyTalkee I'm getting these errors only in IE8 & with this plugin only...

  • Same here, IE8 does not work with this plugin enabled. If you switch back to orignal likes plugin, there is no problem.

  • Hi Shah and Gerard, I tried in IE8 (8.0.6001, 128bits) on Windows XP, it worked fine. Did you flush the caches after enable this plugin?

  • Yeah I flush caches too.... 

  • thank you very much, it works like charm with facebook theme :)

  • el log de acciones para etlikes/add no se ha encontrado

    saben q es lo q pasa aquí?

  • Sorry, but it is correct to write a elgg_view in actions? In my opinion it is not correct. There is another way besides using this method?

  • hello friend, I installed Easytalkee Ajax Likes v1.1 works are not typical reaches message notification you help me ?
    a
    I use elgg 1.8.20 says questa conflicting with 1.8 like I disabled the likes
  • @Jonny Big, no quite understand what you mean

  • I believe Jonny Big is stating that when using the Easytalkee Ajax Likes plugin user notifications icons/bubbles are not being displayed if using the Live Notifications plugin.  

    I have a similar problem, when using the standard Likes plugin a notification bubble is displayed on the users screen and an email is sent when another user likes their post.  When using the Easytalkee Ajax Likes plugin, when a users likes a post, a notification bubble is not displayed on the screen of the person who's post you liked, but an email is sent.  My users would like to see the notification bubble as well.

EasyTalkee

www.easytalkee.com, powered by Elgg 1.8, provide online spoken English learning, role practice, recording and sharing

Stats

  • Category: Communication
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 2079
  • Recommendations: 25