View Thread
 Print Thread
IE 10-11 Smiley BBCODE Bug
Driv3r
Hi everyone!

I hope someone can help fixing this JavaScript issue, I guess.
So, for some reason when clicking on a smile on the smiley?s bbcode popup, it doesn't paste the text into the textbox. This only happens in the case of Internet Explorer 10 and 11.

IE 10-11 are pretty popular these days (around 20% of the global web browser market share) so it would be nice to short out this bug.

I think the source of the bug is the InsertText script but I'm not sure, I'm not good at JavaScript. Smile

But the funny thing is, it works with other bbcodes like the color or background color bbcodes.

Thanks!
 
http://oprend.hu
NetriX
I found a solution. Sadly, it broke the shoutbox.

I'll look into it and bring it into attention for PHP-Fusion v8 as it must support all modern browsers.

Perhaps we're in need of a smiley code rewrite in v8.
 
https://netrixhosting.com
Driv3r
Ok, thank you, I'm waiting for the solution (but mainly some of the users).

By the way I can't wait to see Fusion 8! Grin
 
http://oprend.hu
Driv3r
For those who want to fix this issue, I found a really easy workaround. Use addText instead of insertText script for inserting the smileys:

Open your maincore.php
Around line 506
Change from:

$smileys .= ">\n";

To:

$smileys .= ">\n";

That's it.
 
http://oprend.hu
NetriX
if i recall correctly this fixes the ie issue but breaks other browsers. can you confirm this? i tried this method already once i believe. thanks.
Need help? Having trouble?
» View our Documentation for guides, functions and more - including the [url=https://php-fusion.co.uk/articles.php?cat_
 
https://netrixhosting.com
Jump to Forum
Similar Threads
Thread Forum Replies Last Post
Smiley's installation General Support 14 02-06-2018 22:51
BBCode special characters Errors and Bugs 4 10-13-2015 15:21
BBCode Editor Addon? Addon Requests 3 08-07-2015 01:42
IMG BBcode mod Addon Requests 10 02-19-2015 02:18
BBCode IMG Error Errors and Bugs 4 09-12-2013 07:58