YAFLogo

AffreuxChien
12 years ago
If we try to add smile with CKEditor (in BBMode), inserted URL not completed.

Inserted URL: http://images/Emoticons/eusa_silenced.gif

Instead of: http://"sitename"/Images/Emoticons/eusa_silenced.gif

What wrong?

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

If we try to add smile with CKEditor (in BBMode), inserted URL not completed.

Inserted URL: http://images/Emoticons/eusa_silenced.gif

Instead of: http://"sitename"/Images/Emoticons/eusa_silenced.gif

What wrong?

Originally Posted by: AffreuxChien 

Add your domain name to the app.config

<add key="YAF.BaseUrlMask" value="http://"sitename"/" />

then the url should be correct.

AffreuxChien
12 years ago
No effect. :(

URL reconstructed correctly during replay with quote, and not reconstructed when topics displayed. (only http:// added to front)

In database:

[img]Images/Emoticons/msp_angry.gif[/img]

http://savelyev.net/priv/yaf_postst1_Tiest-tieghov.aspx 

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

No effect. :(

URL reconstructed correctly during replay with quote, and not reconstructed when topics displayed. (only http:// added to front)

In database:

[img]Images/Emoticons/msp_angry.gif[/img]

http://savelyev.net/priv/yaf_postst1_Tiest-tieghov.aspx 

Originally Posted by: AffreuxChien 

Sorry but that wont fix existing img tag, you need to manually fix them.

AffreuxChien
12 years ago

[quote=AffreuxChien;53701]No effect. :(

Sorry but that wont fix existing img tag, you need to manually fix them.

Originally Posted by: tha_watcha 

Problems not in existing image tags, new images placed in some way, when selected in CKEditor, in BBCode mode.

I can investigate and fix it at weekend.

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago
Did you restart yaf after you changed the value in the app.config, I tested it with value

<add key="YAF.BaseUrlMask" value="http://google.com" />

and added a new smiley to a new post, and the url now look like this...

[img]http://google.com/yaf/Images/Emoticons/eusa_shifty.gif[/img]