When you try to add a smile to a comment by clicking on the smile, nothing happen on IE7 (nothing gets inserted into the comment).
When you try to add a smile to a comment by clicking on the smile, nothing happen on IE7 (nothing gets inserted into the comment).
Comments
Comment #1
sniegs commentedI have the same problem with Safari and Firefox. It is a conflict with YUI Editor, if I disable it, Smileys work.
Don't know if it is Smileys or YUI bug.
Comment #2
CompShack commentedI use BU editor and only have the issue with IE7. Firefox works fine.
Comment #3
ddyrr commentedI switched to FCKEditor, and now I have the problem with both Firefox and IE. This is the error message I get in IE:
Line 43: Expected identifier, string or number
Then it takes me to this line in smileys/scripts/smileys.js:
$(this).dialog(options);
Comment #4
scrap2000 commentedIn IE7, there are some problems with the smileys select-box. The "more..." link doesn't appear at all, and when you click on a smiley in the select box, nothing happens (no smiley's code is inserted into the message box).
It works fine in Firefox.
Comment #5
snsace commentedI don't know if it's related to IE7 or not. It's wierd. My users all use different browsers and some work fine
but others say that they see the smileys, but when they click on them nothing happens. They can type the
shortcut and it works, but not selectable by clicking.
For me, it works perfectly in both Firefox and IE.
We've tried clearing cache in website and user browsers, but still no luck for some users.
EDIT: I take that back, It does NOT work in IE7 for me. Wonder if rolling back to alpha 3 will work
until this is fixed.
Comment #6
snsace commentedI reverted back to alpha3 to get it working right again. Does anyone have a fix for this jquery problem with IE7?
Comment #7
GatorBat commentedI too have the same issue with the current release of Smileys. I use the BUEditor as well. In all current releases of Firefox, Camino, and Safari (MAC and Windows), the smiley's insert properly upon clicking on them in the smiley select box. In IE 6/7, they fail to be added to ANY content type. As others have posted, inserting the correct ASCII text will indeed render the smiley in ANY browser. I have cleared all caches (Site, Views, and Theme Registry), and the results are still the same. I get a similar error message (see post #3) on SOME pages within IE 6/7.
Comment #8
marcus0263 commentedYep, using Smiley's and BUEditor with IE 6/7 doesn't work. This is an issue with M$, one of their recent patch's must have broken some things as M$ is known for doing.
Comment #9
Ledo2 commentedI too confirm IE7 has issues with alpha4 and latest dev version of smileys module for drupal 6.8. It gives javascript errors on all pages where smileys control is present. And smileys are not click able. So when you click on it it does nothing. But you can manually put in the characters and the module filters it right.
And in the admin area there is some trouble with IE7 and Visibility icons. They are not shown. In FF 3 it woks fine.
But a great module. I like it. Hope these errors get fix and thanks for developer for his work.
Comment #10
Gurpartap Singh commentedI have tried to fix the issues discussed here in Alpha5 release. I have tested in IE6 and someone else reported it fine in IE7 too. Please test and let me know if it's fixed with this release.
Comment #11
Ledo2 commentedI tested alpha 5 in IE7 and FF3 and here are the results i noticed:
It works much better now!
Here are some issues i noticed:
And for Smileys dialog window. I don't use it but i tested it. I enabled all options in administer area for it and tested it in IE7 and FF3.
And a question:
Must i change something in server settings or is this a bug. When i change weights of smileys and i press save button i get these:
The same thing when i click on icons in administer area for Visibility. I get a indicator top right "saving" but "error" pops out.
But i can change Visibility and Weight settings with no problem in edit smiley area. If i edit each smiley individually.
Comment #12
sniegs commentedI tested alpha 5 and it's the same as with alpha 4 when using YUI editor and Firefox / Safari / IE6 / IE7. Clicking on a smiley does nothing…
Comment #13
Gurpartap Singh commentedYUI editor isn't supported. At least for now. Thanks for the feedback though! I just hope it will be easy to add a fix for YUI. :-)
Ledo2, that's a jumbo feedback. Much much appreciated! I'll keep in mind when next time I'll be drilling into smileys. Thanks! :)
Comment #14
friolator commentedNot sure if this is related, but I'm seeing this in *some* forms, on Firefox or Safari. I'm using 1.0 Alpha 5.
I looked at the "jQuery.extend(Drupal.settings" block in the generated HTML for a page that works and one that doesn't, and found that there's a difference between the two:
This one works:
(this is on a node/edit page for a comment (using nodecomments), as well as on a regular node page with embedded comment form)
This one does not:
(This is on a regular node page with an embedded comment form)
The one that doesn't work is just one content type. All the others, which are set up in the same way, seem to work fine. In the case of the one that doesn't work, its node/edit form is not in Panels, but the comment form on the node (where smileys aren't working) is in panels, if that matters.
The weird thing is that it works fine in most cases.
Comment #15
friolator commentedquick update: we just enabled comments on another content type. Essentially it's the same type of layout: drupal comments on a nodecomment content type inside of Panels. We're getting the same strange javascript in "jQuery.extend(Drupal.settings" and the smileys box doesn't work there either.
Worth noting: other content types that use this same structure (nodecomment for the main content type, and drupal comments for the comments attached to it, all assembled in panels) work perfectly.
...Oh, and we're using BUEditor for all of our textarea fields, on both the forms that work and those that don't.
Edit: One other thing I just noticed is that the form element ids on the comment forms that *don't* work are not 'edit-comment,' they're 'edit-comment-1' -- tried adding "edit-comment-1" to the list of target textareas in the smileys.js file, but it didn't have any effect.
Comment #16
Gurpartap Singh commentedfriolator: A quick fix for the problem will be to add a static variable in code that adds the Drupal.settings (drupal_add_js(..., 'setting');). The static variable will hold a boolean that if the js has already been set, then don't add any more.
If you can't figure out, let me know, I'll try to patch it.
Comment #17
friolator commentedhmm, I haven't really done anything with static variables. let me know how/where to set that and I'll give it a try.
thanks for the quick response!
Comment #18
Gurpartap Singh commentedComment #19
friolator commentedok, so I added that to smileys.module (and fixed a typo:
$isAdded = TRUE;should be$jsAdded = TRUE;) and it does seem to prevent the double entries in "jQuery.extend(Drupal.settings". I can provide a patch for this if you'd like.however, this doesn't fix the problem on these pages. I think the problem might be the last little nugget I tacked on a post above:
even after applying this patch, and adding edit-comment-1 to the list in smileys.js, we still can't click on the smileys and have them appear in the edit form.
any ideas?
Comment #20
friolator commentedSo I'm not sure why, but now this works. I wonder if something was cached and it was preventing the change from working.
...seems to work fine now.
Comment #21
hauntfox commentedSpecs
Browser: IE 8
My Issue:
I can click on the smileys and it inputs text versions of the smileys, but it doesn't insert a picture version no matter where I insert it.
Attempted Fix:
I tried editing the smileys.js file with those changes but that alone hasn't solved the problem for me.
(copied directly from my smileys.js file)
Then I flushed all caches.
Comment #22
Zvone commentedThis issue still not solved?
Smiles work good if I write the acronym directly in the body. The click on smile icon in selectbox causes js error and does nothing. By drag&drop the icon in the body it appears as text (on ex: "< img src="../../../sites/all/modules/smileys/packs/Roving/smile.png" alt=":-)" title="Smile — :-) :smile:" class="smiley-class smileysProcessed" width="19" height="19">") that makes the mess in the body.
I am using D6.15 with php 5.3
Is there a solution?
Comment #23
Wolfke2800 commentedI'm using current DEV version with CKE Editor and wysiwyg. All smileys are showing up fine if I use the acronyms, but the click on window doesn't in either firefox or internet explorer.
When I click on a smiley, IE8 gives me this error message:
Message: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
Line: 95
Char: 11
Code: 0
URI: http://www.site.com/sites/all/modules/smileys/scripts/smileys.js?p
Is there anything I can try to fix this?