1. John_Neal
  2. General
  3. Wednesday, May 24 2017, 04:52 AM
Hello,

I have been using Easy Profile for a couple years or so now and was using an integration plugin to Kunena. My issue right now is that the easy profile avatar plugin for Kunena isn't working properly and I cannot really figure out why. I will link the plugin below and the information I have found thus far.

https://github.com/Ruud68/plg_kunena_easyprofile/blob/master/plg_kunena_easyprofile/avatar.php

I have noticed that if I do a var_dump of the $user variable I do not get what I would expect. Can you please tell me why??

Example of var_dump($user)


object(JsnUser)#720 (28) {
["excludeFromProfile":"JsnUser":private]=> array(0) { }
["isRoot":protected]=> NULL
["id"]=> string(3) "123"
["name"]=> string(9) "jack black"
["username"]=> string(8) "username"
["email"]=> string(24) "[email protected]"
["password"]=> string(55) ""
["password_clear"]=> string(0) ""
["block"]=> string(1) "0"
["sendEmail"]=> string(1) "1"
["registerDate"]=> string(19) "2014-07-01 09:29:05"
["lastvisitDate"]=> string(19) "2017-05-24 00:12:45"
["activation"]=> string(0) ""
["params"]=> array(6) {
["admin_style"]=> string(1) "8"
["admin_language"]=> string(0) ""
["language"]=> string(0) ""
["editor"]=> string(3) "jce"
["helpsite"]=> string(0) ""
["timezone"]=> string(0) "" }
["groups"]=> array(0) { }
["guest"]=> int(0)
["lastResetTime"]=> string(19) "0000-00-00 00:00:00"
["resetCount"]=> string(1) "0"
["requireReset"]=> string(1) "0"
["_params":protected]=> object(Joomla\Registry\Registry)#837 (3) {
["data":protected]=> object(stdClass)#830 (6) {
["admin_style"]=> string(1) "8"
["admin_language"]=> string(0) ""
["language"]=> string(0) ""
["editor"]=> string(3) "jce"
["helpsite"]=> string(0) ""
["timezone"]=> string(0) "" }
["initialized":protected]=> bool(true)
["separator"]=> string(1) "." }
["_authGroups":protected]=> NULL
["_authLevels":protected]=> array(6) { [0]=> int(1) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(7) [5]=> int(8) }
["_authActions":protected]=> NULL
["_errorMsg":protected]=> NULL
["userHelper":protected]=> object(JUserWrapperHelper)#821 (0) { }
["_errors":protected]=> array(0) { }
["otpKey"]=> string(37) "totp:{"code":""}"
["otep"]=> string(300) "" }
admin Accepted Answer
Admin
Hi,
with version of Joomla and Easy Profile have you? Keep in mind that old releases are not compatible with Joomla 3.7
  1. more than a month ago
  2. General
  3. # 1
John_Neal Accepted Answer
Pro
Hey, I am running Joomla! 3.7.2 - EasyProfile 1.3.11 I believe.

I didn't realize there were compatibility issues, I haven't noticed anything since the 3.7 upgrade, but the 3.7.2 killed teh avatars for some reason. Further investigation led me to where I am now.

Should I just downgrade the site, are there other potential issues you are aware of, is there a newer version of easyprofile coming out soon?
  1. more than a month ago
  2. General
  3. # 2
John_Neal Accepted Answer
Pro
I have seen a bit of strange behavior, but all-in-all it seams to be OK with the upgrade. I think it may be jquery related???

For now, instead of using the API I have decided to just do a database query on the avatar image which is fine for now. If you could please answer the former questions for for future dev that would be great. If anyone else is in my situation I would be glad to share the code.
  1. more than a month ago
  2. General
  3. # 3
admin Accepted Answer
Admin
Hi,
sorry for late reply :D

I am running Joomla! 3.7.2 - EasyProfile 1.3.11 I believe.
This version of Easy Profile is not compatible with Joomla 3.7.

is there a newer version of easyprofile coming out soon?
Of course, latest version is compatible with J3.7.
Keep in mind that now you have very old version, after 1.3.11 we have released nearly 30 new versions.

You can see all releases changelog at http://docs.easy-profile.com/index.php/article/changelog

Please take a look to release notes before upgrade at http://docs.easy-profile.com/search/upgrade, and, of course, with an upgrade like this (version released 2 years ago!!) we recommend to make a backup before.
  1. more than a month ago
  2. General
  3. # 4
John_Neal Accepted Answer
Pro
Ha, I revert if it breaks and always have backups. I thought easy profile auto updated ehh idk.. I have just forgotten about it til now. I need to get my hands on the latest version I suppose. I am not sure if the plugin for kunena will work still though? I went through the code and it looks like it should work, but then again it looks like it should work now.

I am about to start refacing my sites again and I will re-up on my subscription as I really enjoy this and have been writing tabs for easy profile for many things that just nicely integrates into my sites. I think you should really offer a feature to create tabs with custom content from other components etc as a standard option within easyprofile. This would add more value I think.
  1. more than a month ago
  2. General
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.