PDA

View Full Version : Alternatives to php include


Sean S
05-30-2005, 05:47 PM
Hi there,

I have one question about phpadsnew and vbulletin. Is it smart to include the banners in the forum using the iframe code that phpadsnew generates? I don't mind using Iframe, but it's just that some browsers don't support iframe.

I would include the php code, but unfortunantly the method that I have tried or was posted here about putting half the code in the phpinclude template does not help.

thank you for your advice.

Andreas
05-30-2005, 05:54 PM
Hmm, we are running PAN from phpinclude_start without problems.
Where exactly do you have problems?

Sean S
05-30-2005, 06:15 PM
Hmm, we are running PAN from phpinclude_start without problems.
Where exactly do you have problems?
the problem that I have is that I use this hack/addon for my forums https://vborg.vbsupport.ru/showthread.php?t=65890&highlight=forum+header+footer, the problem with it though is that you can only insert html or plain text, and if you enter a php variable, it does not prase the variable.

I wanted to use this hack to show different banners on different forums, but unfortunantly only the iframe code and the java script works, but if I create a php variable for it, it does not work.