YAFLogo

berghynion
  • berghynion
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
Hi guys, i need to embedd this kind of iframe into our forum and i don't know how to do it:

<iframe src="http://rcm-it.amazon.it/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=wwwvincopoker-21&o=29&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=B001FZG18O" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>

The forum version is : 1.9.6.1 (Date: 18/03/2012).

Thanks in advance!

Marco
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
10 years ago
berghynion
  • berghynion
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
Thanks for the answer, i've imported the extention you linked and tryed to make a post with the iframe inside and i got this kinde of exception:


Server Error in '/' Application.
A potentially dangerous Request.Path value was detected from the client (<).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (<).

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (<).]
   System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +9673044
   System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +53



The syntax i've used in te post is:

[IFRAME]<iframe src="http://rcm-it.amazon.it/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=wwwvincopoker-21&o=29&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=B001FZG18O" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>[/IFRAME]
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
10 years ago
you only have to provide the url, in your case...

[IFRAME]http://rcm-it.amazon.it/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=wwwvincopoker-21&o=29&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=B001FZG18O[/IFRAME]
berghynion
  • berghynion
  • 50.2% (Neutral)
  • YAF Forumling Topic Starter
10 years ago
Tnx a lot man! 🙂 now seems to work properly
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
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