Advertisement:

Author Topic: Embedding SMF Into My Website  (Read 486 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: 69,123
    • StoryBB/StoryBB 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

Nothing turns to hate so bitter as what once was love.

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?