[Problem] Do not update the value with updateMemberData()

Started by judoka, July 02, 2011, 12:06:06 PM

Previous topic - Next topic

judoka

Hi to everyone, sorry for my English, I'm Spanish ^^
I'm trying to install the SMFPacks_Lite_Likes_MOD but I've got a problem with an updateMemberData() and on the topic of the MOD no person replied to fix that.

I was trying to fix it, but the updateMemberData() of the "liked"(smf_members table) value don't works correctly.
The error I think is located on the 106 line of the "$sourcedir/Likes.php":
updateMemberData($author, array('liked' => '+'));
It's the code for add one more to the total value of "Likes" to the autor profile.
It don't add anything. I tried too with:
updateMemberData($author, array('liked' => +1));
And with that, it puts de value of the "+" (1). if you put "+3" it puts 3.

Someone can fix it, please?
http://tp.260mb.com [nofollow]
ToTaL Pc (Con Errores De Shop)

Nuevo, Se Buscan Admins y Moderadores

Advertisement: