YAFLogo

BWG
  • BWG
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 months ago
I noticed that if a url is entered incorrectly when using the "Insert an embed media..." button an error is thrown, e.g. if only the id of a Tweet is entered rather than the full url.

As a fix I modified YAF.Web\Controls\MessageBase.cs like this:

try
 {
      sb.Append(customModule.RenderToString());
  }
  catch (Exception)
  {}

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
9 months ago
Yes of course this will not work. I updated the editor it now allows only urls. otherwise an error is thrown.
BWG
  • BWG
  • 100% (Exalted)
  • YAF Lover Topic Starter
9 months ago

Yes of course this will not work. I updated the editor it now allows only urls. otherwise an error is thrown.

Originally Posted by: tha_watcha 

Thanks. Another problem I have noticed is that bbcode tags sometimes appear in a post if a user has pasted text into it. I've not had chance to investigate the reasons for it.