The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Force Forum into iFrame using PHP
I have my board in an iframe on our site. When someone receives an email notification about a post or private message, it gives them a URL to the forum OUTSIDE of the iframe.
What modifications can be made so that either: 1) The page recognizes the URL, modifies it, and loads it into an iframe or 2) Alter the email system so that it a URL that targets the iframe. Thanks! |
#2
|
|||
|
|||
Set up a .htaccess redirect to direct traffic away from the direct URL to the iframe URL.
(Searching google will give you infromation/guides on the subject). Not sure why you want people to access the site only through the iframe, though, just seems a bit annoying having another window inside of another window. |
#3
|
|||
|
|||
Quote:
The htaccess won't work because it's not dynamic. I don't want to just redirect to another page, but it needs to redirect to a page and load the page they WOULD have gone to had they not been redirected. Know what I mean? For example: 1. They receive an email notification stating that a reply has been made to a post. 2. They click that link to go to the forum NORMALLY to that specific thread That's not what I want to happen. What I want to happen is this. 1. They receive an email notification stating that a reply has been made to a post. 2. They click that link to go to the forum NORMALLY to that specific thread 3. The page using PHP recognizes that the link is to and redirects it to another page where the forum is in an iframe 4. The URL redirect not only takes them to the iframe, but includes the necessary info to load for the iframe SRC tag, which would be that post they would've have seen (had they not been redirected) Hope I'm making sense. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|