YAFLogo

JaguarSmith
  • JaguarSmith
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
I use TinyMCE Html Editor. When i try to insert a smiley it inserts

it works good in TinyMCE but when i try to submit a post i see blank image instead of smileys. There is no such problem when using default BBCodes editor.

is there any solution?

Ps. I figured that correct image url will be "../../../../../../DesktopModules/YetAnotherForumDotNet/Images/Emoticons/Smiley.gif" or "/DesktopModules/YetAnotherForumDotNet/Images/Emoticons/Smiley.gif" (but second one will not work on locallhost)

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
11 years ago
TinyMce reformates the urls. You can turn this off.

Add Line

convert_urls : false

to

DesktopModules/YetAnotherForumDotNet/editors/tiny_mce/tiny_mce_init.js

DesktopModules/YetAnotherForumDotNet/editors/tiny_mce/tiny_mce_initbbcode.js

Updated files in repository

JaguarSmith
  • JaguarSmith
  • 51.2% (Neutral)
  • YAF Forumling Topic Starter
11 years ago
Thank you VERY much!:)