- Posts: 13
- Thank you received: 1
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question No Avatar upload in user profile since K 5.1
I've send your note about missing word "forum" in URL to sh404SEF. After that I've got this answer:
sh404SEF: None that I can think of.What option can I use to generate URL like webaddress/forum/profile/edit/xxx-username.html (xxx is user id)?
sh404SEF: That's expected as the And when the bug will be fixed in Kunena, they will also upload.If edit that generated URL on sh404SEF with leading word "forum/" avatar is uploading!
sh404SEF: As long as Kunena will post to URL like /profil/edit/index.php?xxx, this will work on some pages and fail on some other depending on routing options. The only way out is those posting URLs to be fixed.
I am a bit desperate
Best regards
Please Log in or Create an account to join the conversation.
The problem is in (for Kunena 5.1.1) /components/com_kunena/template/crypsis/assets/js/upload.avatar.js at line 40.
Incorrect code:
And after digging further in the code, even when the bug above is fixed, what I found is that Kunena itself is rejecting the request until the "Direct component access" option is set to "Yes" under its configuration.
I've change the Code at line 40 and Avatar uploading is working!
Best regards
Please Log in or Create an account to join the conversation.
- [email protected]
-
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
I have same problem. You change the Code at line 40 and Avatar uploading is working!
Let me know what is right syntax line 40?
Please Log in or Create an account to join the conversation.
- [email protected]
-
- Offline
- New Member
-
- Posts: 7
- Thank you received: 0
uz-online wrote: I've got some more information about the bug in kunena fileupload since 5.1 from sh404SEF:
The problem is in (for Kunena 5.1.1) /components/com_kunena/template/crypsis/assets/js/upload.avatar.js at line 40.
Incorrect code:As mentioned earlier, this is using directly index.php?option=com_kunena&view=user&task=upload&format=json instead of an absolute URL.Code:$('#fileupload').fileupload({ url: 'index.php?option=com_kunena&view=user&task=upload&format=json',
And after digging further in the code, even when the bug above is fixed, what I found is that Kunena itself is rejecting the request until the "Direct component access" option is set to "Yes" under its configuration.
I've change the Code at line 40 and Avatar uploading is working!
Best regards
Hello,
I have same problem. You change the Code at line 40 and Avatar uploading is working!
Let me know what is right syntax line 40?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.