Advertisement:

Author Topic: Embedding SMF Into My Website  (Read 462 times)

Offline andsim

  • Semi-Newbie
  • *
  • Posts: 99
  • Gender: Male
Embedding SMF Into My Website
« on: December 26, 2017, 08:31:20 PM »
Yeah, cross domain iframes are a security nightmare which is why the rule prevents them running. That would also imply multiple hosting accounts ruling out proper integration between the two. :(

Quickest way is to take the insecure route and remove the line from the top level index.php which says:

Code: [Select]
header('X-Frames: SAMEORIGIN');
i am trying do this as well on my website but same as othr person
but cant find header('X-Frames: SAMEORIGIN'); anyewhere

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,497
    • Arantor on GitHub
Re:Embedding SMF Into My Website
« Reply #1 on: December 27, 2017, 02:40:41 AM »
That is in the top level index.php file, around line 106 if memory serves.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline andsim

  • Semi-Newbie
  • *
  • Posts: 99
  • Gender: Male
Re:Embedding SMF Into My Website
« Reply #2 on: December 27, 2017, 06:30:09 AM »
That is in the top level index.php file, around line 106 if memory serves.
close 105 :)

Offline andsim

  • Semi-Newbie
  • *
  • Posts: 99
  • Gender: Male
Re: Embedding SMF Into My Website
« Reply #3 on: December 27, 2017, 06:40:49 PM »
That is in the top level index.php file, around line 106 if memory serves.
close 105 :)
next issues i am having is i am not able click on any link for forum inside of iframe, should it be able to?