The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Help: Using a GET param in a header link URL...
Hello,
I'm new to vB but I've scoured many topics/documentation and I can't get this to work. The header for my forum comes from a remote site and is inserted as an <iframe>. The src of the iFrame is passed in from the remote site such as "http://mysite.com". This all works great for the homepage; however, once you click on any link within the forum the GET param is gone (since it wasn't submitted in the link) and the header goes with it. Naturally I need to store the domainURL ("http://mysite.com") as a variable that stays around after the initial GET is captured. To this end I created a global variable and initialized it within a Plugin (global_start hook). Again this works initially (so I know the value is getting set) but it doesn't keep its value past the first page! Here is my template header code: Code:
<iframe src="$GLOBALS[domainURL]/jsp/Header.jsp"> </iframe> PHP Code:
Any help would be appreciated! Thanks! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|