News:

Create A Forum Installed

Author Topic: Can't embed my forum in my site with iframe  (Read 914 times)

0 Members and 1 Guest are viewing this topic.

Offline stolph

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile

Badges: (View All)
Level 2 Combination Topic Starter
Can't embed my forum in my site with iframe
« on: December 20, 2017, 12:00:19 am »
Hi very new here...

I've seen several posts about this but no one got a resolution. I cannot embed an iframe to my forum on my website:

<iframe width="1000" height="1000" src="https://scabard.createaforum.com/index.php"></iframe>

When I look at console log in chrome developer tools it's because I'm getting this error from createaforum.com server:

Refused to display 'https://scabard.createaforum.com/index.php' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Is it intentional that you block embedding forums in a website? If so, why? Is it available with a paid subscription?

Share on Facebook Share on Twitter


Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7186
  • Karma: 327
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: Can't embed my forum in my site with iframe
« Reply #1 on: December 20, 2017, 12:04:53 am »
I can allow it on a site basis maybe... The reason is for security. There some security issues that can be carried out on iframe that can be somewhat worrysome I just added that security recently.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline stolph

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile

Badges: (View All)
Level 2 Combination Topic Starter
Re: Can't embed my forum in my site with iframe
« Reply #2 on: December 20, 2017, 12:09:28 am »
Thanks for the quick response! Our site is https://www.scabard.com (https://www.scabard.com/pbs for redesign) if you want to check us out and are willing to add us to the list. I promise not to do anything bad.

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7186
  • Karma: 327
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: Can't embed my forum in my site with iframe
« Reply #3 on: December 20, 2017, 10:17:06 pm »
Added an option to allow iframe embeding under Admin -> Forum Settings
You have to check that for your forum.
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline stolph

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile

Badges: (View All)
Level 2 Combination Topic Starter
Re: Can't embed my forum in my site with iframe
« Reply #4 on: December 20, 2017, 11:42:58 pm »
Works perfectly. Thanks!  :)

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
558 Views
Last post October 04, 2011, 05:28:34 pm
by D.Joe
1 Replies
506 Views
Last post May 18, 2012, 04:55:12 am
by CreateAForum
3 Replies
877 Views
Last post November 05, 2012, 10:51:48 pm
by aIURbliS
1 Replies
1310 Views
Last post February 23, 2014, 04:39:48 am
by CreateAForum
5 Replies
902 Views
Last post June 11, 2016, 10:48:07 pm
by csf30816