I am a regular user of the Kunena-based forum at lwks.com. Kunena is a Joomla extension. I have been using this forum using Firefox for the past two years without problem. After updating to FF18.0 yesterday, I now find that I cannot insert images or other files into forum posts. When I click on the Add File button and select a file (e.g. jpg) the path to the file on my desktop no longer appears in the Add file box and the Insert button is missing so I am unable to insert the file as an attachment to the forum post.
-
WooDzu 4 months ago It was an issue with Mootools library not FF18
Mootools function getElement( "input.kfile-input" ) was finding
<input class="kfile-input-textbox"> instead of <input class="kfile-input hidden">
fixed by using getElement( "input.kfile-input.hidden " ) instead
Thanks for reporting.
-
drcce2001 4 months ago Many thanks for your reply.
-
derekhendry 4 months ago having the same problem using joomla 1.5 with kunena however we have a test site using joomla 2.5 and that works ok. Still have this issue
-
WooDzu 4 months ago Try changing the following 2 files:
in /components/com_kunena/template/default/js/editor.js
var input = __file.getElement('input.kfile-input')
to
var input = __file.getElement('input.kfile-input.hidden')
in /components/com_kunena/template/default/js/editor-min.jsvar a=c.getElement("input.kfile-input").set
to
var a=c.getElement("input.kfile-input.hidden").set
-
drcce2001 4 months ago Many thanks fro the response.
SOLVED
-
derekhendry 4 months ago Thanks WooDzu alas it did not work on our site.
-
WooDzu 4 months ago What version is your site running?
Our is MooTools 1.2.5 (from MooTools Upgrade plugin), a minified and compressed version.
-
derekhendry 4 months ago Same version
-
WooDzu 4 months ago I could take a quick look if you share your site's URL
-
derekhendry 4 months ago -
derekhendry 4 months ago you will need a user name
user: test password: forum
-
WooDzu 4 months ago Thanks. Well, I can see the same issue on your site.
Replaced your editor-min.js with the one from www.lwks.com and it works fine for me on FF18. The only issue that I can think of is that when you edited the file it added some unnecessary backslashes to it, which now causes syntax errors see Firebug/Chrome inspector.
To fix it you can try replacing you js with the one from lwks.com or even better reverse your changes and use a different editor to apply the above solution.
-
derekhendry 4 months ago ok will have a go with a different editor, many thanks
-
derekhendry 4 months ago replaced both file with backups and modified using another editor, no more lines but still not working.
When i checked with fire bug got this line
<input type="file" name="kattachment" class="kfile-input hidden" id="kupload">
the . between input and hidden is missing although it is in both files, i am not sure where this code is but putting a . in with firebug shows up the browse button.
Any help would be appreciated again
-
WooDzu 4 months ago I see the forum attachments are working back again
-
derekhendry 4 months ago Still not getting them here, all we are getting is add file but when you press it it invites you to add an image you select one press open and nothing appears, before you had an extra set of commands like add and insert but nothing now. Its the code i see using firebug, the . appears to be missing but this gives a browse button which we never had before
-
WooDzu 4 months ago Perhaps the editor-min.js file got cashed by your browser. Try clearing the cache or use Firebug to switch it off temporarily
Double checked now, and it looks fine from here
-
derekhendry 4 months ago you were correct again, been clearing it all day, not that time, yes it has come back to life. found out some interesting stuff today, do not use ACE FTP to edit files a sit seems to add lots of /////////////////////
and keep clearing cache. Many thanks for your patience and help WooDzu
-
WooDzu 4 months ago Glad to hear it's fixed.
-
cvvmax 3 months ago the ADD FILE button works with Firefox v17esr or older but NOT with v18.0 or newer...
-
derekhendry 3 months ago Thats true cvvmax but Woodzu's fix worked, whether it was a firefox problem or kunena problem i would not know but Woodzu who's knowledge is better than mine states the fault is with kunena, either way changing the component in kunena solved the problem.
By the way the editor i used with created all the//////////// was Ace ftp a joomla add on file manager in the back end to save going through cPanel, while i have had no problems with moving files etc, the editor clearly has problems.
-
cvvmax 3 months ago derekhendry, Thanks...I will pass on the info to the Website owner and see what they want to do...
BTW...not only does Firefox have this issue with certain versions...but also, IE and Safari, depending on version...also has the problems...I checked with various browsers and versions...
Thanks again...
-
alenpiric 1 week ago hi, i have same problem, my web site is www.akvaristika.ba
im using kunena forum v2.0.4 and blue eagle template, when I want to upload a picture, add field files when I click and choose the image is left empty, how to solve this problem, thanks in advance
-
cvvmax 1 week ago derekhendry, The owner and administrator of the site that had the problem has been fixed...
Don't know if he did the Woodzu fix or something else, but now even the latest v21.0 works for Adding Pictures to the website's threads...
Thanks again...