Users unable to upload their own avatar - should have been posted to Kbee area
Users unable to upload their own avatar - should have been posted to Kbee area
4 days 16 hours ago - 4 days 16 hours ago
Hello,
I am using K6.4.12 and Kbee 6.1.5.
There appears to be a problem with the facility to upload a user's icon. The user can choose a new avatar image and upload it but when Save is pressed, the user is given the default icon.
This process has been tested in Aurelia and was not a problem when using that template.
Can you help me with this please?
With thanks
David
I am using K6.4.12 and Kbee 6.1.5.
There appears to be a problem with the facility to upload a user's icon. The user can choose a new avatar image and upload it but when Save is pressed, the user is given the default icon.
This process has been tested in Aurelia and was not a problem when using that template.
Can you help me with this please?
With thanks
David
Last edit: 4 days 16 hours ago by DJB.
Please Log in or Create an account to join the conversation.
Re: Users unable to upload their own avatar - should have been posted to Kbee area
1 day 18 hours ago
Hi David,
Thank you very much for bug report. The error originated from our template. We have fixed and updated it in the download package. However, you can also edit and update the default.php file if you don't want to reinstall the template.
- Open the default.php file in "nts_kbee/layouts/user/edit/avatar/" folder.
- Go to line 40 and replace:
by
- Save and try to change the avatar.
Kind regards,
Thank you very much for bug report. The error originated from our template. We have fixed and updated it in the download package. However, you can also edit and update the default.php file if you don't want to reinstall the template.
- Open the default.php file in "nts_kbee/layouts/user/edit/avatar/" folder.
- Go to line 40 and replace:
Code:
$this->doc->addScriptOptions('com_kunena.avatar_upload_url', KunenaRoute::_('index.php?option=com_kunena&view=user&task=upload&format=json'));
Code:
$this->doc->addScriptOptions('com_kunena.avatar_upload_url', KunenaRoute::_('index.php?option=com_kunena&view=user&task=upload&format=json&' . Session::getFormToken() . '=1', false));
Kind regards,
UI/UX Designer - Web developer. (UI/UX design for T4 Framework, T4 Pagebuilder, GK Framework products...)
Please Log in or Create an account to join the conversation.
Time to create page: 0.238 seconds