JaguarSmith
2010-10-25T14:22:24Z
I use TinyMCE Html Editor. When i try to insert a smiley it inserts <img src="../../../../DesktopModules/YetAnotherForumDotNet/Images/Emoticons/Smiley.gif" alt="" />
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
2010-10-28T10:18:12Z
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
UserPostedImage
JaguarSmith
2010-10-28T23:03:41Z
Thank you VERY much!:)

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved