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

Home » FUDforum » How To » Dealing with FudForum in an iFrame
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Dealing with FudForum in an iFrame [message #32988] Mon, 07 August 2006 22:41 Go to next message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 11: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
add to buddy list
ignore all messages by this user
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 11:06 Go to previous messageGo to next message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 06: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
add to buddy list
ignore all messages by this user
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 17: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
add to buddy list
ignore all messages by this user
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 11:11 Go to previous message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
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
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Sun Dec 17 01:24:02 EST 2017

Total time taken to generate the page: 0.00747 seconds