Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-02-2006, 10:35 AM   #1
jimthefiend
So Fucking Banned
 
Join Date: Oct 2003
Location: icq: 121189
Posts: 18,889
Can I write dynamic php content to an iFrame?

ie. a forum or such?


Noob question I know, sue me.
jimthefiend is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2006, 10:49 AM   #2
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
Quote:
Originally Posted by jimthefiend
ie. a forum or such?


Noob question I know, sue me.
yes you can. Just see a iframe as a second browser window wich you can control from your main window.
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2006, 10:51 AM   #3
jimthefiend
So Fucking Banned
 
Join Date: Oct 2003
Location: icq: 121189
Posts: 18,889
Quote:
Originally Posted by grumpy
yes you can. Just see a iframe as a second browser window wich you can control from your main window.


ok thank you next question.

you suggest using a force frame script?
jimthefiend is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2006, 10:55 AM   #4
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
what exactly do you wanna do with it?
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2006, 10:58 AM   #5
jimthefiend
So Fucking Banned
 
Join Date: Oct 2003
Location: icq: 121189
Posts: 18,889
embed a forum into an iframe lol
gotta fit in with the site template so thats the reason behind the force frame question.

or is there an easier way to do that?

i just need to make sure that the interface sticks around and that no one can bypass it. i.e. sidebar etc.
jimthefiend is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2006, 11:03 AM   #6
jimthefiend
So Fucking Banned
 
Join Date: Oct 2003
Location: icq: 121189
Posts: 18,889
like this:


pageLoc = self.location;
pageAdd = top.location;

if (pageLoc hahahaha pageAdd) {
contentSrc = escape(pageLoc);
contPage = 'index.html?' + contentSrc;
top.location.href = contPage;
}
jimthefiend is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2006, 11:04 AM   #7
modF
Confirmed User
 
Join Date: Aug 2002
Posts: 1,888
Why don't you use something like vBulletin where you control the actual template of the forum. Or am I off in my interperation of what you want to do?
__________________

I do things
skype:themodF
modF is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2006, 11:05 AM   #8
grumpy
Too lazy to set a custom title
 
grumpy's Avatar
 
Join Date: Jan 2002
Location: Holland
Posts: 9,870
Quote:
Originally Posted by jimthefiend
like this:


pageLoc = self.location;
pageAdd = top.location;

if (pageLoc hahahaha pageAdd) {
contentSrc = escape(pageLoc);
contPage = 'index.html?' + contentSrc;
top.location.href = contPage;
}

if you link a forum in your iframe and they have top.location in it then it wont work. It will break out of the iframe.
__________________
Don't let greediness blur your vision | You gotta let some shit slide
icq - 441-456-888
grumpy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2006, 11:07 AM   #9
jimthefiend
So Fucking Banned
 
Join Date: Oct 2003
Location: icq: 121189
Posts: 18,889
Quote:
Originally Posted by modF
Why don't you use something like vBulletin where you control the actual template of the forum. Or am I off in my interperation of what you want to do?


but thats still gonna be a stand alone page.

i need to nestle it into the site.

its side and top bars surrounding an iframe where all the content is diplayed.
i need the forum to do the same.
jimthefiend is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-02-2006, 11:10 AM   #10
jimthefiend
So Fucking Banned
 
Join Date: Oct 2003
Location: icq: 121189
Posts: 18,889
Quote:
Originally Posted by grumpy
if you link a forum in your iframe and they have top.location in it then it wont work. It will break out of the iframe.

i thought if LOC and ADD were the same then it forced a load of the index which contained the shit in an iframe?
jimthefiend is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.