FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Dealing with FudForum in an iFrame
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Dealing with FudForum in an iFrame [message #32988] Tue, 08 August 2006 02:41 Go to next message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
Hi All;

On my site (http://www.vbmysql.com/forums) I show fudforum in an iFrame to ease the integration into the layout of the rest of the site. The only issue is that when a user follows a link from a notification email, it takes them to /forum instead of /forums and they see just the forum with no site headings to navigate.

What I would like to do is show a special header if the site is not being loaded from within an iframe. Any ideas?
Re: Dealing with FudForum in an iFrame [message #32995 is a reply to message #32988] Tue, 08 August 2006 15:04 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You may be able to use JavaScript to determine if the forum is shown in a frame or not and if it is not use JavaScript to redirect the user into an iframe embedded version.

FUDforum Core Developer
Re: Dealing with FudForum in an iFrame [message #32996 is a reply to message #32988] Tue, 08 August 2006 15:06 Go to previous messageGo to next message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
Thanks Ilia, turns out it is easier than one would think when using Javascript.
FudForum in an iFrame and JavaScript [message #34343 is a reply to message #32996] Sun, 22 October 2006 10:49 Go to previous messageGo to next message
Markus Allen is currently offline  Markus Allen   United States
Messages: 58
Registered: September 2005
Karma: 0
Member
Squeebee wrote on Tue, 08 August 2006 11:06

Thanks Ilia, turns out it is easier than one would think when using Javascript.

Would you be willing to share how to do this -- if you need payment, I could send some beer/wine money via PayPal.
Re: FudForum in an iFrame and JavaScript [message #34348 is a reply to message #34343] Sun, 22 October 2006 21:50 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Google has plenty of example JavaScript on this topic.

FUDforum Core Developer
Re: FudForum in an iFrame and JavaScript [message #184160 is a reply to message #34348] Mon, 09 December 2013 16:11 Go to previous message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
Ilia wrote on Sun, 22 October 2006 17:50
Google has plenty of example JavaScript on this topic.



anyone figure this out, would love to know how
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Email to users, is it possible ?
Next Topic: Cannot quote post with CKEditor
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 12:53:38 GMT 2024

Total time taken to generate the page: 0.02344 seconds