Official support hours: from 9 AM — 6 PM Monday to Friday (GMT +2).
The support staff may not reply on technical inquiries on weekends; all requests will be answered necessarily during working days. Reply time: depending on the complexity of your issue, the answer can be provided between a few hours up to 48 hours. In the particular instances we will notify you if extra time will be required to solve the issue.

×

Notice

The forum is in read only mode.

TypeError in upload.main.js

6 years 1 month ago #552 by Sinisa Krisan
TypeError in upload.main.js was created by Sinisa Krisan
Hello

First right of the bat, this is awesome template. I've been waiting for something like this literally for months, since i am to lazy to create one on my own.

There is however a slight little problem i'm having with attachments that i am not able to put into the post like i just did bellow



The attachment above shows the error when i try to insert the attachment in message


I am not using any popular joomla template. I have built the custom one using Bootstrap 3 and this is the first conflict i ever had in months.

Can you help?
Attachments:
6 years 1 month ago - 6 years 1 month ago #553 by Sinisa Krisan
Replied by Sinisa Krisan on topic TypeError in upload.main.js
Also, what i need to do to remove my email above avatar in this forum? This is terrible practice and an open invitation to spambots
6 years 1 month ago #555 by Sinisa Krisan
Replied by Sinisa Krisan on topic TypeError in upload.main.js
Anyone home?
6 years 1 month ago #557 by Eugene S.
Replied by Eugene S. on topic TypeError in upload.main.js
Hi Sinisa,
Sorry for the delay with reply. I was on the vacation. :-)
The error you have reported about occurs due to 3rd party script since RND KGlorious has no such issue (we have checked it on local site). I suppose it might happen due to Joomla template or any custom script used on your site.

You have mentioned that there is custom Joomla template which is built with Bootstrap 3. Probably it is the reason since RND KGlorious and other templates for Kunena 5 from us are based on Bootstrap 2. Please try to do the following actions:
Temporary assign default Joomla template (Protostar) or RND KGlorious template for Joomla. If the error won't appear anymore it means that your custom Joomla template makes a mess. If the problem still exists, then it is time to examine which 3rd party extensions are installed on your site and try to disable them to find which one causes the issue.
As soon as the script that causes the error will be found, then you can think how to replace it with an alternative solution.

Anyway, I have to mention that RND KGlorious is made with Bootstrap 2 and users should use this Kunena template with a Joomla template that has no conflicts or compatible to BS2.

Also, what i need to do to remove my email above avatar in this forum? This is terrible practice and an open invitation to spambots

Can you explain, please, where the e-mail is displayed? I don't see it. There is your name above the avatar. As concerning the user page (if to click on your username), it is available for registered users only and bots won't proceed.

Like our extensions for Kunena?
Add your voice to the JED listing with a 100 score review: bit.ly/2cIg8pF
Thanks!
The following user(s) said Thank You: Sinisa Krisan
6 years 1 month ago - 6 years 1 month ago #561 by Sinisa Krisan
Replied by Sinisa Krisan on topic TypeError in upload.main.js
Hope you had a great vacation Eugene. Welcome back.

I looked deeper into this issue and while i understand that removing the loaded scripts could actually work out, it would probably hamper the other site functionality because i really don't load scripts that i don't need, hence creating custom templates :)

So i had to compe up with a different solution which worked for me

kglorious/assets/js/upload.main.js on line 26 i changed
jQuery.fn.extend({

to
$.fn.extend({

I'm not sure why that function is being extended within jQuery namespace, though it should still work, for some reason it doesn't.
Once i changed it, it started working.
The following user(s) said Thank You: Eugene S.
6 years 1 month ago #562 by Sinisa Krisan
Replied by Sinisa Krisan on topic TypeError in upload.main.js
As for the email, this is what i see as my name here

Attachments:
Moderators: Eugene S.

Partners